1、修复禅道bug

This commit is contained in:
pan
2024-09-08 23:10:11 +08:00
parent 1523a4db4f
commit d3ec27eb1b
10 changed files with 46 additions and 17 deletions

View File

@@ -30,7 +30,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<select id="selectDeptList" parameterType="SysDept" resultMap="SysDeptResult">
<include refid="selectDeptVo"/>
where d.del_flag = '0'
where d.del_flag = '0' and d.status = '0'
<if test="deptId != null and deptId != 0">
AND dept_id = #{deptId}
</if>

View File

@@ -61,7 +61,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
and date_format(create_time,'%y%m%d') &lt;= date_format(#{params.endTime},'%y%m%d')
</if>
<!-- 锁定某些字段类型 -->
AND dict_type in ('tool_type','msg_status','tool_source','tool_status','doc_class','doc_source','doc_upload_status','flow_status')
AND dict_type in ('tool_type','msg_status','tool_source','tool_status','doc_class','doc_source','doc_upload_status')
</where>
</select>