安督部打回功能

liujun-2024-05-23-接口漏洞修复
liujun 2024-04-07 14:05:02 +08:00
parent 3adb8748b6
commit b1f060afb5
2 changed files with 4 additions and 0 deletions

View File

@ -226,6 +226,7 @@ public class XgfUserServiceImpl implements XgfUserService {
condition.put("FOREIGN_KEY", x.getString("XGF_USER_ID"));
condition.put("TYPE", "1");
condition.put("VALID_FLAG", "1");
condition.put("END_FLAG", "0");
PageData flow = flowMapper.findByCondition(condition);
if (flow == null || flow.size() == 0) {
/* 保存审批流程信息 */

View File

@ -101,6 +101,9 @@
<if test="VALID_FLAG != null and VALID_FLAG != ''">
and a.VALID_FLAG = #{VALID_FLAG}
</if>
<if test="END_FLAG != null and END_FLAG != ''">
and a.END_FLAG = #{END_FLAG}
</if>
</select>
<select id="getList" resultType="com.zcloud.entity.PageData">
select * from bus_flow a where a.ISDELETE = '0'