소스 검색

Merge branch 'zs_saas_0324_oa' of http://git.dayaedu.com/yonge/mec into test

zouxuan 4 달 전
부모
커밋
d049e6f5a5
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 2 2
      mec-biz/src/main/resources/config/mybatis/FinancialExpenditureMapper.xml

+ 2 - 2
mec-biz/src/main/resources/config/mybatis/FinancialExpenditureMapper.xml

@@ -265,10 +265,10 @@
     <select id="queryEmployByDeptId" resultType="java.lang.Integer">
         SELECT user_id FROM oa_pro.sys_user
         <where>
-            <if test="deptIds != null">
+            <if test="deptId != null">
                 AND dept_id = #{deptId}
             </if>
-            <if test="deptIds != null">
+            <if test="deptIds != null and deptIds != ''">
                 AND JSON_CONTAINS(dept_ids, #{deptIds})
             </if>
         </where>