Ver Fonte

修改历史指派数据

Administrator há 2 anos atrás
pai
commit
3e542bc70e

+ 1 - 1
ruoyi-system/src/main/resources/mapper/system/projectV2/ZsyzProjectDeptMapper.xml

@@ -36,7 +36,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
             <if test="xmmc != null  and xmmc != ''"> and xmmc = #{xmmc}</if>
             <if test="deptId != null "> and dept_id = #{deptId}</if>
             <if test="isDel != null and isDel != ''"> and is_del = #{isDel}</if>
-            <if test="deptType != null and deptType != ''"> and dept_type = #{deptType}</if>
+            <if test="deptType != null and deptType != ''"> and find_in_set(dept_type, #{deptType})</if>
             <if test="shjg != null and shjg != ''"> and shjg = #{shjg}</if>
             <if test="deptName != null  and deptName != ''"> and dept_name like concat('%', #{deptName}, '%')</if>
             <if test="ancestors != null  and ancestors != ''"> and ancestors = #{ancestors}</if>