Commit d8478728 by 崔彦峰

add:提交移动端代码表。

1 parent 25e699ae
......@@ -3,6 +3,7 @@ package cn.com.glsx.dj.staff.dto.perfSalary;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import javax.validation.constraints.NotNull;
import java.io.Serializable;
@Data
......@@ -10,13 +11,17 @@ public class EffectiveReferralCountDTO implements Serializable {
private static final long serialVersionUID = 1L;
@ApiModelProperty(value = "主键id")
@NotNull(message = "主键id不能为空")
private Integer id;
@ApiModelProperty(value = "品牌类型:0-问界 1-智界 2-享界 3-尊界 4-尚界 5-其它品牌")
private Integer brandType;
@ApiModelProperty(value = "品牌名称,例如:问界、智界...")
@ApiModelProperty(value = "品牌名称,例如:问界、智界...(前端无须传)")
private String brandName;
@ApiModelProperty(value = "交车数")
@ApiModelProperty(value = "交车数(前端无须传)")
private Integer deliveryCount;
@ApiModelProperty(value = "有效引荐数")
......
package cn.com.glsx.dj.staff.dto.perfSalary;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import java.io.Serializable;
import java.util.List;
@Data
public class StoreEffectiveReferralSubmitDTO implements Serializable {
private static final long serialVersionUID = 1L;
@ApiModelProperty(value = "1-草稿,2-已提交")
private Integer status;
@ApiModelProperty(value = "凭证Url 以,分隔")
private String imageUrls;
@ApiModelProperty(value = "备注")
private String remark;
@ApiModelProperty(value = "品牌有效引荐数DTOs")
private List<EffectiveReferralCountDTO> effectiveReferralCountDTOS;
@ApiModelProperty(value = "操作人")
private String updatedBy;
}
......@@ -78,9 +78,9 @@ public class EffectiveReferralReview implements Serializable {
private String remark;
/**
* 状态:0-未保存过,1-待提交(草稿),2-待复核
* 状态:0-未提交,1-草稿,2-已提交
*/
@ApiModelProperty(notes = "状态:0-未保存过,1-待提交(草稿),2-待复核")
@ApiModelProperty(notes = "状态:0-未提交,1-草稿,2-已提交")
@Column(name = "status")
private Integer status;
......@@ -106,9 +106,9 @@ public class EffectiveReferralReview implements Serializable {
private Byte sceneType;
/**
* 是否需要总部复核:1-需要
* 是否需要总部复核:0-否 1-是
*/
@ApiModelProperty(notes = "是否需要总部复核:1-需要")
@ApiModelProperty(notes = "是否需要总部复核:0-否 1-是")
@Column(name = "is_need_reviewed")
private Integer isNeedReviewed;
......
package cn.com.glsx.dj.staff.remote.perfSalary;
import cn.com.glsx.dj.staff.dto.perfSalary.EffectiveReferralReviewCommonDTO;
import cn.com.glsx.dj.staff.dto.perfSalary.EffectiveReferralReviewDTO;
import cn.com.glsx.dj.staff.dto.perfSalary.StoreEffectiveReferralDetailDTO;
import cn.com.glsx.dj.staff.dto.perfSalary.StoreEffectiveReferralSubmitDTO;
import cn.com.glsx.framework.core.annotation.ApiMethod;
import cn.com.glsx.framework.core.annotation.ApiParam;
import cn.com.glsx.framework.core.annotation.ApiResponse;
import cn.com.glsx.framework.core.annotation.ApiService;
import cn.com.glsx.framework.core.beans.rpc.RpcPagination;
import cn.com.glsx.framework.core.beans.rpc.RpcResponse;
import javax.validation.constraints.NotNull;
......@@ -29,5 +28,5 @@ public interface EffectiveReferralReviewMiniProgramRemote {
@ApiMethod("门店有效引荐数提交")
@ApiParam(name = "dto", notes = "提交信息", dataType = ApiParam.DataTypeEnum.OBJECT, required = true)
@ApiResponse("提交结果")
RpcResponse<Boolean> effectiveReferralStoreSubmit(@NotNull EffectiveReferralReviewDTO dto);
RpcResponse<Boolean> effectiveReferralStoreSubmit(@NotNull StoreEffectiveReferralSubmitDTO dto);
}
\ No newline at end of file
......@@ -3,6 +3,7 @@ package cn.com.glsx.dj.staff.remote.perfSalary;
import cn.com.glsx.dj.staff.dto.perfSalary.EffectiveReferralReviewCommonDTO;
import cn.com.glsx.dj.staff.dto.perfSalary.EffectiveReferralReviewDTO;
import cn.com.glsx.dj.staff.dto.perfSalary.StoreEffectiveReferralDetailDTO;
import cn.com.glsx.dj.staff.dto.perfSalary.StoreEffectiveReferralSubmitDTO;
import cn.com.glsx.dj.staff.service.perfSalary.EffectiveReferralReviewMiniProgramService;
import cn.com.glsx.framework.core.beans.rpc.RpcPagination;
import cn.com.glsx.framework.core.beans.rpc.RpcResponse;
......@@ -41,7 +42,7 @@ public class EffectiveReferralReviewMiniProgramRemoteImpl implements EffectiveRe
}
@Override
public RpcResponse<Boolean> effectiveReferralStoreSubmit(EffectiveReferralReviewDTO dto) {
public RpcResponse<Boolean> effectiveReferralStoreSubmit(StoreEffectiveReferralSubmitDTO dto) {
try{
return RpcResponse.success(effectiveReferralReviewMiniprogramService.effectiveReferralStoreSubmit(dto));
}catch(Exception e){
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!