Bläddra i källkod

销售订单单证添加 部门 销售员查询

liuchaohui 3 år sedan
förälder
incheckning
1dbf9c8a0c

+ 6 - 0
jeecg-boot-module-system/src/main/java/org/jeecg/modules/documents/orderData/mapper/xml/SyOrderDataMapper.xml

@@ -56,6 +56,12 @@
              <if test="sy.account != null and sy.account !=''">
                  AND account = #{sy.account}
              </if>
+            <if test="sy.salesDepartment != null and sy.salesDepartment !=''">
+                AND sales_department = #{sy.salesDepartment}
+            </if>
+            <if test="sy.salesman != null and sy.salesman !=''">
+                AND salesman = #{sy.salesman}
+            </if>
              <if test="(sy.dilivery != null and sy.dilivery != '') and (sy.dilivery == '0' or sy.dilivery ==0)">
                  AND b.surplus_num <![CDATA[ < ]]> b.quantity
              </if>