1111
This commit is contained in:
parent
1c678b0954
commit
edad34ca13
@ -105,7 +105,7 @@ public class ExpertFxqController {
|
||||
// 已签署
|
||||
if (fxqSign.getSignStatus() == 1) {
|
||||
g.setTaskStatus(1);
|
||||
g.setTaskFileUrl(fxqSign.getSignLink());
|
||||
g.setTaskFileUrl(fxqSign.getSignLinkH5());
|
||||
return ResponseDTO.app_ok(g);
|
||||
}
|
||||
|
||||
@ -118,7 +118,7 @@ public class ExpertFxqController {
|
||||
// 已签署
|
||||
if (Objects.equals(fxqExpertTask.getTaskStatus(), "20")) {
|
||||
g.setTaskStatus(1);
|
||||
g.setTaskFileUrl(fxqExpertTask.getTaskLink());
|
||||
g.setTaskFileUrl(fxqExpertTask.getTaskLinkH5());
|
||||
return ResponseDTO.app_ok(g);
|
||||
}
|
||||
|
||||
|
||||
@ -64,10 +64,16 @@ public class FxqExpertTaskEntity {
|
||||
private LocalDateTime signTime;
|
||||
|
||||
/**
|
||||
* 签署协议的预览地址(只有签署成功后才存在)
|
||||
* 协议地址-h5
|
||||
*/
|
||||
@TableField("task_link")
|
||||
private String taskLink;
|
||||
@TableField("task_link_h5")
|
||||
private String taskLinkH5;
|
||||
|
||||
/**
|
||||
* 协议地址-pc
|
||||
*/
|
||||
@TableField("task_link_pc")
|
||||
private String taskLinkPc;
|
||||
|
||||
/**
|
||||
* 创建时间
|
||||
|
||||
@ -39,10 +39,16 @@ public class FxqSignEntity {
|
||||
private Integer signStatus;
|
||||
|
||||
/**
|
||||
* 协议地址
|
||||
* 协议地址-h5
|
||||
*/
|
||||
@TableField("sign_link")
|
||||
private String signLink;
|
||||
@TableField("sign_link_h5")
|
||||
private String signLinkH5;
|
||||
|
||||
/**
|
||||
* 协议地址-pc
|
||||
*/
|
||||
@TableField("sign_link_pc")
|
||||
private String signLinkPc;
|
||||
|
||||
/**
|
||||
* 创建时间
|
||||
|
||||
@ -378,7 +378,8 @@ public class ExpertFxqService {
|
||||
fxqExpertTaskData.setTemplateId(fxqTemplate.getId());
|
||||
fxqExpertTaskData.setTaskStatus("10");
|
||||
fxqExpertTaskData.setSignStatus(2);
|
||||
fxqExpertTaskData.setTaskLink(fxqLink.getSignH5Url());
|
||||
fxqExpertTaskData.setTaskLinkH5(fxqLink.getSignH5Url());
|
||||
fxqExpertTaskData.setTaskLinkPc(fxqLink.getSignPCUrl());
|
||||
fxqExpertTaskData.setCreateTime(LocalDateTime.now());
|
||||
int res = fxqExpertTaskDao.insert(fxqExpertTaskData);
|
||||
if (res <= 0){
|
||||
@ -390,7 +391,8 @@ public class ExpertFxqService {
|
||||
fxqSignData.setExpertId(fxqUser.getExpertId());
|
||||
fxqSignData.setTaskId(fxqExpertTaskData.getId());
|
||||
fxqSignData.setSignStatus(2);
|
||||
fxqSignData.setSignLink(fxqLink.getSignH5Url());
|
||||
fxqSignData.setSignLinkH5(fxqLink.getSignH5Url());
|
||||
fxqSignData.setSignLinkPc(fxqLink.getSignPCUrl());
|
||||
fxqSignData.setCreateTime(LocalDateTime.now());
|
||||
res = fxqSignDao.insert(fxqSignData);
|
||||
if (res <= 0){
|
||||
|
||||
@ -38,7 +38,6 @@ public class CaseplatformCaseQueryForm extends PageParam{
|
||||
@CheckEnum(value = CaseStatusEnum.class, message = "0待审核 1审核通过 2审核不通过 错误")
|
||||
private Integer status;
|
||||
|
||||
|
||||
@ApiModelProperty(value = "审核时间")
|
||||
private List<LocalDateTime> examineTime;
|
||||
|
||||
|
||||
@ -69,11 +69,8 @@ public class CaseplatformCaseVO {
|
||||
private LocalDateTime updateTime;
|
||||
|
||||
@ApiModelProperty(value = "签署状态(1:已签署 2:未签署)")
|
||||
private String signStatus;
|
||||
private Integer signStatus = 2;
|
||||
|
||||
@ApiModelProperty(value = "协议地址")
|
||||
private String signLink;
|
||||
|
||||
@ApiModelProperty(value = "签署完成时间")
|
||||
private LocalDateTime signTime;
|
||||
private String signLinkPc = "";
|
||||
}
|
||||
@ -11,11 +11,11 @@
|
||||
(select name from t_area where id=t_caseplatform_expert.city_id) expertCityName,
|
||||
t_caseplatform_expert.hospital_name expertHospitalName,
|
||||
t_caseplatform_fxq_sign.sign_status signStatus,
|
||||
t_caseplatform_fxq_sign.sign_link signLink
|
||||
t_caseplatform_fxq_sign.sign_link_pc signLinkPc
|
||||
FROM t_caseplatform_case
|
||||
left join t_caseplatform_user on t_caseplatform_case.user_id = t_caseplatform_user.id
|
||||
left join t_caseplatform_expert on t_caseplatform_case.expert_id = t_caseplatform_expert.id
|
||||
left join t_caseplatform_fxq_sign on t_caseplatform_fxq_sign.expert_id = t_caseplatform_expert.id
|
||||
left join t_caseplatform_fxq_sign on t_caseplatform_fxq_sign.expert_id = t_caseplatform_case.expert_id
|
||||
<where>
|
||||
<!--name-->
|
||||
<if test="queryForm.name != null and queryForm.name != ''">
|
||||
@ -73,9 +73,13 @@
|
||||
(select name from t_area where id=t_caseplatform_expert.prov_id) expertProvName,
|
||||
(select name from t_area where id=t_caseplatform_expert.city_id) expertCityName,
|
||||
t_caseplatform_expert.name expertName,t_caseplatform_expert.hospital_name expertHospitalName
|
||||
t_caseplatform_fxq_sign.sign_status signStatus,
|
||||
t_caseplatform_fxq_sign.sign_link_pc signLinkPc
|
||||
FROM t_caseplatform_case
|
||||
left join t_caseplatform_user on t_caseplatform_case.user_id = t_caseplatform_user.id
|
||||
left join t_caseplatform_expert on t_caseplatform_case.expert_id = t_caseplatform_expert.id
|
||||
left join t_caseplatform_fxq_sign on t_caseplatform_fxq_sign.expert_id = t_caseplatform_case.expert_id
|
||||
|
||||
<where>
|
||||
<!--name-->
|
||||
<if test="queryForm.name != null and queryForm.name != ''">
|
||||
@ -116,6 +120,10 @@
|
||||
<if test="queryForm.hospitalUuid != null and queryForm.hospitalUuid != ''">
|
||||
AND t_caseplatform_expert.hospital_uuid =#{queryForm.hospitalUuid}
|
||||
</if>
|
||||
<!-- 审核时间区间 -->
|
||||
<if test="queryForm.examineTime != null and queryForm.examineTime.size == 2">
|
||||
AND t_caseplatform_case.examine_time BETWEEN #{queryForm.examineTime[0]} AND #{queryForm.examineTime[1]}
|
||||
</if>
|
||||
</where>
|
||||
</select>
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user