Commit 62891dab authored by zhangsen's avatar zhangsen

电梯注销业务开发bug修改

parent 2469cea7
...@@ -55,14 +55,18 @@ ...@@ -55,14 +55,18 @@
<!-- <if test="dto.useUnitName != null and dto.useUnitName != ''">--> <!-- <if test="dto.useUnitName != null and dto.useUnitName != ''">-->
<!-- and use.USE_UNIT_NAME like concat('%',#{dto.useUnitName},'%')--> <!-- and use.USE_UNIT_NAME like concat('%',#{dto.useUnitName},'%')-->
<!-- </if>--> <!-- </if>-->
<!-- -->
<if test="roleIds != null and dto.type == 'supervision'"> <if test="roleIds != null and dto.type == 'supervision'">
<foreach collection='roleIds' item='role' open='and (' close=')' separator='or'> <foreach collection='roleIds' item='role' open='and (' close=')' separator='or'>
ur.audit_status like concat('%',#{role},'%') ur.instance_status like concat('%',#{role},'%')
</foreach> </foreach>
</if> </if>
<if test="dto.type == 'supervision'"> <if test="dto.type == 'supervision'">
AND ur.receive_org_code = #{orgCode} AND ur.receive_org_code = #{orgCode}
</if> </if>
<if test="dto.type == 'enterprise' ">
and ur.use_unit_code = #{orgCode}
</if>
<!-- <if test="dto.type == 'enterprise'">--> <!-- <if test="dto.type == 'enterprise'">-->
<!-- AND use.USE_UNIT_CREDIT_CODE = #{orgCode}--> <!-- AND use.USE_UNIT_CREDIT_CODE = #{orgCode}-->
<!-- </if>--> <!-- </if>-->
......
...@@ -386,9 +386,11 @@ public class JgScrapCancelServiceImpl extends BaseService<JgScrapCancelDto, JgSc ...@@ -386,9 +386,11 @@ public class JgScrapCancelServiceImpl extends BaseService<JgScrapCancelDto, JgSc
if (submit) { if (submit) {
// 查询下节点任务 // 查询下节点任务
getNext(roleListSecond, jgScrapCancel.getInstanceId(), taskName); getNext(roleListSecond, jgScrapCancel.getInstanceId(), taskName);
String join = String.join(",", roleListSecond);
jgScrapCancel.setStatus(taskName[0]); jgScrapCancel.setStatus(taskName[0]);
if (!ObjectUtils.isEmpty(jgScrapCancel.getInstanceStatus())) { if (!ObjectUtils.isEmpty(jgScrapCancel.getInstanceStatus())) {
jgScrapCancel.setInstanceStatus(jgScrapCancel.getInstanceStatus() + "," + roleListSecond); jgScrapCancel.setInstanceStatus(jgScrapCancel.getInstanceStatus() + "," + join);
} else { } else {
jgScrapCancel.setInstanceStatus(String.join(",", roleListSecond)); jgScrapCancel.setInstanceStatus(String.join(",", roleListSecond));
} }
......
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