소스 검색

11482-【CR】【投资系统】增加审批流程

hxy 1 주 전
부모
커밋
99045a3099

+ 1 - 1
ruoyi-system/src/main/resources/mapper/invest/ApprovalMapper.xml

@@ -97,7 +97,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
         left join (select * from sys_user limit 100000) ui on t.ASSIGNEE_ = ui.user_id
         left join ACT_RU_IDENTITYLINK ru on ru.TASK_ID_ = t.ID_
         LEFT JOIN act_re_procdef rp ON t.PROC_DEF_ID_ = rp.ID_
-        where a.del_flag="0"
+        where a.del_flag="0" and a.proc_inst_id is not null
         <include refid="where_sql"></include>
     </select>
     <select id="getMyTaskList" resultMap="ProjectApprovalVoResult">

+ 1 - 1
ruoyi-system/src/main/resources/mapper/invest/DecisionMapper.xml

@@ -91,7 +91,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
         left join (select * from sys_user limit 100000) ui on t.ASSIGNEE_ = ui.user_id
         left join ACT_RU_IDENTITYLINK ru on ru.TASK_ID_ = t.ID_
         LEFT JOIN act_re_procdef rp ON t.PROC_DEF_ID_ = rp.ID_
-        where a.del_flag="0"
+        where a.del_flag="0" and a.proc_inst_id is not null
         <include refid="where_sql"></include>
         order by a.create_time desc
     </select>

+ 1 - 1
ruoyi-system/src/main/resources/mapper/invest/InvestigateMapper.xml

@@ -114,7 +114,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
         left join (select * from sys_user limit 100000) ui on t.ASSIGNEE_ = ui.user_id
         left join ACT_RU_IDENTITYLINK ru on ru.TASK_ID_ = t.ID_
         LEFT JOIN act_re_procdef rp ON t.PROC_DEF_ID_ = rp.ID_
-        where a.del_flag="0"
+        where a.del_flag="0" and a.proc_inst_id is not null
         <include refid="where_sql"></include>
         order by a.create_time desc
     </select>

+ 1 - 1
ruoyi-system/src/main/resources/mapper/invest/InvestmentOpportunityMapper.xml

@@ -325,7 +325,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
         left join (select * from sys_user limit 100000) ui on t.ASSIGNEE_ = ui.user_id
         left join ACT_RU_IDENTITYLINK ru on ru.TASK_ID_ = t.ID_
         LEFT JOIN act_re_procdef rp ON t.PROC_DEF_ID_ = rp.ID_
-        where a.del_flag in ("0","2")
+        where a.del_flag in ("0","2") and a.proc_inst_id is not null
         <include refid="where_sql"></include>
     </select>
     <select id="getMyTaskList" resultMap="TProjectPoolVoResult">

+ 1 - 1
ruoyi-system/src/main/resources/mapper/invest/TerminationMapper.xml

@@ -127,7 +127,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
         left join (select * from sys_user limit 100000) ui on t.ASSIGNEE_ = ui.user_id
         left join ACT_RU_IDENTITYLINK ru on ru.TASK_ID_ = t.ID_
         LEFT JOIN act_re_procdef rp ON t.PROC_DEF_ID_ = rp.ID_
-        where 1=1
+        where 1=1 and a.proc_inst_id is not null
         <include refid="where_sql"></include>
         order by a.create_time desc
     </select>