소스 검색

修改历史指派数据

Administrator 2 년 전
부모
커밋
3e542bc70e
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      ruoyi-system/src/main/resources/mapper/system/projectV2/ZsyzProjectDeptMapper.xml

+ 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>