Browse Source

1.查询bug

wuhp 1 year ago
parent
commit
9bf1710ab1
1 changed files with 2 additions and 2 deletions
  1. 2 2
      src/main/resources/mapper/modules/order/InsAreaCompanyMapper.xml

+ 2 - 2
src/main/resources/mapper/modules/order/InsAreaCompanyMapper.xml

@@ -905,7 +905,7 @@
             AND  io.userid  =#{vo.userId}
         </if>
         <if test="vo.deptId  != null  and vo.deptId !=''">
-            AND  io.deptId  like concat('%',#{vo.leaderName},'%')
+            AND  io.deptId  like concat('%',#{vo.deptId},'%')
         </if>
         <if test="vo.deptIds != null and vo.deptIds != '' and vo.deptIds.size() > 0">
             AND sd.id  in
@@ -995,7 +995,7 @@
             AND  io.userid  =#{vo.userId}
         </if>
         <if test="vo.deptId  != null  and vo.deptId !=''">
-            AND  io.deptId  like concat('%',#{vo.leaderName},'%')
+            AND  io.deptId  like concat('%',#{vo.deptId},'%')
         </if>
         <if test="vo.deptIds != null and vo.deptIds != '' and vo.deptIds.size() > 0">
             AND sd.id  in