785834757 10 месяцев назад
Родитель
Сommit
b0ea69cc9a
1 измененных файлов с 5 добавлено и 1 удалено
  1. 5 1
      src/main/resources/mapper/modules/order/InsOrdersMapper.xml

+ 5 - 1
src/main/resources/mapper/modules/order/InsOrdersMapper.xml

@@ -1024,9 +1024,13 @@
             </if>
 
             <if test="orderQueryVo.managementSource != null and orderQueryVo.managementSource != ''">
-                and dept.management_source = #{orderQueryVo.managementSource}
+                and dept.management_source in
+                <foreach item="source" collection="orderQueryVo.managementSource" open="(" separator="," close=")">
+                    #{source}
+                </foreach>
             </if>
 
+
             <if test="orderQueryVo.deptId != null and orderQueryVo.deptId != ''">
                 and io.deptid like "${orderQueryVo.deptId}%"
             </if>