Explorar el Código

1. 修改订单查询条件

785834757 hace 10 meses
padre
commit
b0ea69cc9a
Se han modificado 1 ficheros con 5 adiciones y 1 borrados
  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>