Commit b803a8c9 by jianan

basicInfo表审批状态字段approve_status加已填完-2的状态

parent e7c78738
...@@ -646,6 +646,7 @@ public class PractitionerHiringServiceImpl implements PractitionerHiringService ...@@ -646,6 +646,7 @@ public class PractitionerHiringServiceImpl implements PractitionerHiringService
AclPractitionerHiringBasicInfo basicInfo = new AclPractitionerHiringBasicInfo(); AclPractitionerHiringBasicInfo basicInfo = new AclPractitionerHiringBasicInfo();
basicInfo.setId(basicInfoId); basicInfo.setId(basicInfoId);
basicInfo.setPersonalSignOssPath(putFileToOss); basicInfo.setPersonalSignOssPath(putFileToOss);
basicInfo.setApproveStatus("-2");
basicInfoMapper.updateByPrimaryKeySelective(basicInfo); basicInfoMapper.updateByPrimaryKeySelective(basicInfo);
resp.setCommonResult(new CommonResult(true, ZHBErrorConfig.getErrorInfo("800000"))); resp.setCommonResult(new CommonResult(true, ZHBErrorConfig.getErrorInfo("800000")));
......
...@@ -236,7 +236,7 @@ ...@@ -236,7 +236,7 @@
left join ag_acl_practitioner_hiring_membership m on b.id = m.hiring_basic_info_id left join ag_acl_practitioner_hiring_membership m on b.id = m.hiring_basic_info_id
where 1=1 where 1=1
and m.mentor_practitioner_id = #{practitionerId,jdbcType=BIGINT} and m.mentor_practitioner_id = #{practitionerId,jdbcType=BIGINT}
and b.approve_status is null and b.approve_status = '-2'
and m.md_drop_option_id != (select id and m.md_drop_option_id != (select id
from ag_md_drop_options from ag_md_drop_options
where drop_option_code = 'S2' where drop_option_code = 'S2'
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment