换绑
This commit is contained in:
@@ -229,7 +229,8 @@
|
|||||||
id_card = #{record.idCard},
|
id_card = #{record.idCard},
|
||||||
id_card_photo_front = #{record.idCardPhotoFront},
|
id_card_photo_front = #{record.idCardPhotoFront},
|
||||||
id_card_photo_black = #{record.idCardPhotoBlack},
|
id_card_photo_black = #{record.idCardPhotoBlack},
|
||||||
live_address = #{record.liveAddress}
|
live_address = #{record.liveAddress},
|
||||||
|
status = #{record.status}
|
||||||
where id = #{record.id}
|
where id = #{record.id}
|
||||||
</update>
|
</update>
|
||||||
|
|
||||||
|
|||||||
@@ -0,0 +1,22 @@
|
|||||||
|
package com.cool.store.request;
|
||||||
|
|
||||||
|
import io.swagger.annotations.ApiModel;
|
||||||
|
import io.swagger.annotations.ApiModelProperty;
|
||||||
|
import lombok.Data;
|
||||||
|
|
||||||
|
import javax.validation.constraints.NotBlank;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @Author wxp
|
||||||
|
* @Date 2023/6/21 14:27
|
||||||
|
* @Version 1.0
|
||||||
|
*/
|
||||||
|
@Data
|
||||||
|
@ApiModel
|
||||||
|
public class CoolDownFirstLoginFlagDelRequest {
|
||||||
|
|
||||||
|
@NotBlank(message = "线索id不能为空")
|
||||||
|
@ApiModelProperty("线索id")
|
||||||
|
private Long lineId;
|
||||||
|
|
||||||
|
}
|
||||||
@@ -34,11 +34,11 @@ public class PartnerLineBaseInfoVO {
|
|||||||
private String workflowStatus;
|
private String workflowStatus;
|
||||||
|
|
||||||
@ApiModelProperty("当前阶段截止时间")
|
@ApiModelProperty("当前阶段截止时间")
|
||||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
@JsonFormat(pattern = "yyyy.MM.dd HH:mm", timezone = "GMT+8")
|
||||||
private Date deadline;
|
private Date deadline;
|
||||||
|
|
||||||
@ApiModelProperty("结束跟进时间 冷静期使用 计算15天还剩多少天")
|
@ApiModelProperty("结束跟进时间 冷静期使用 计算15天还剩多少天")
|
||||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
@JsonFormat(pattern = "yyyy.MM.dd HH:mm", timezone = "GMT+8")
|
||||||
private Date closeTime;
|
private Date closeTime;
|
||||||
|
|
||||||
@ApiModelProperty("冷静期首次登录标识 true-是首次")
|
@ApiModelProperty("冷静期首次登录标识 true-是首次")
|
||||||
@@ -47,5 +47,8 @@ public class PartnerLineBaseInfoVO {
|
|||||||
@ApiModelProperty("拒绝原因 冷静期提示文案中用到 全部流程中用到(拒绝的时候暂时拒绝原因)")
|
@ApiModelProperty("拒绝原因 冷静期提示文案中用到 全部流程中用到(拒绝的时候暂时拒绝原因)")
|
||||||
private String cause;
|
private String cause;
|
||||||
|
|
||||||
|
@ApiModelProperty("线索状态:0公海线索;1跟进中;2合作中;3黑名单")
|
||||||
|
private Integer lineStatus;
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -137,8 +137,8 @@ public class PartnerController {
|
|||||||
|
|
||||||
@PostMapping(path = "/delCoolDownFirstLoginFlag")
|
@PostMapping(path = "/delCoolDownFirstLoginFlag")
|
||||||
@ApiOperation("删除冷静期是否首次登录缓存")
|
@ApiOperation("删除冷静期是否首次登录缓存")
|
||||||
public ResponseResult<Boolean> delCoolDownFirstLoginFlag(@RequestParam(value = "lineId",required = true)Long lineId){
|
public ResponseResult<Boolean> delCoolDownFirstLoginFlag(@RequestBody CoolDownFirstLoginFlagDelRequest coolDownFirstLoginFlagDelRequest){
|
||||||
String coolingPeriodFirstLoginCacheKey = MessageFormat.format(RedisConstant.COOLINGPERIOD_FIRSTLOGIN_KEY, lineId);
|
String coolingPeriodFirstLoginCacheKey = MessageFormat.format(RedisConstant.COOLINGPERIOD_FIRSTLOGIN_KEY, coolDownFirstLoginFlagDelRequest.getLineId());
|
||||||
redisUtilPool.delKey(coolingPeriodFirstLoginCacheKey);
|
redisUtilPool.delKey(coolingPeriodFirstLoginCacheKey);
|
||||||
return ResponseResult.success(true);
|
return ResponseResult.success(true);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user