oms页面查询条件;
This commit is contained in:
+6
@@ -157,6 +157,12 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||
<if test="materialInventoryId != null ">
|
||||
and a.material_inventory_id = #{materialInventoryId}
|
||||
</if>
|
||||
<if test="createTimeStart != null and createTimeStart != ''">
|
||||
and date_format(a.create_time,'%Y-%m-%d') >= #{createTimeStart}
|
||||
</if>
|
||||
<if test="createTimeEnd != null and createTimeEnd != ''">
|
||||
and date_format(a.create_time,'%Y-%m-%d') <= #{createTimeEnd}
|
||||
</if>
|
||||
<if test="organizationId != null ">
|
||||
and a.organization_id = #{organizationId}
|
||||
</if>
|
||||
|
||||
+3
@@ -244,6 +244,9 @@
|
||||
<if test="auditTime != null ">
|
||||
and a.audit_time = #{auditTime}
|
||||
</if>
|
||||
<if test="issueStatus != null">
|
||||
and a.issue_status = #{issueStatus}
|
||||
</if>
|
||||
<if test="warehouseId != null ">
|
||||
and a.warehouse_id = #{warehouseId}
|
||||
</if>
|
||||
|
||||
+3
@@ -178,6 +178,9 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||
<if test="checkTaskDistribution != null ">
|
||||
and a.check_task_distribution = #{checkTaskDistribution}
|
||||
</if>
|
||||
<if test="issueStatus != null">
|
||||
and a.issue_status = #{issueStatus}
|
||||
</if>
|
||||
<if test="auditBy != null ">
|
||||
and a.audit_by = #{auditBy}
|
||||
</if>
|
||||
|
||||
+26
-5
@@ -410,6 +410,12 @@
|
||||
<if test="orderDate != null">
|
||||
and a.ORDER_DATE = #{orderDate}
|
||||
</if>
|
||||
<if test="businessOrderNo != null">
|
||||
and a.business_order_no = #{businessOrderNo}
|
||||
</if>
|
||||
<if test="issueStatus != null">
|
||||
and a.issue_status = #{issueStatus}
|
||||
</if>
|
||||
<if test="createTimeStart != null and createTimeStart != ''">
|
||||
and date_format(a.create_time,'%Y-%m-%d') >= #{createTimeStart}
|
||||
</if>
|
||||
@@ -647,19 +653,34 @@
|
||||
) as a
|
||||
where 1=1
|
||||
<if test="organizationId != null">
|
||||
and a.organization_id = #{organizationId}
|
||||
and a."organizationId" = #{organizationId}
|
||||
</if>
|
||||
<if test="topOrganizationId != null">
|
||||
and a.top_organization_id = #{topOrganizationId}
|
||||
and a."topOrganizationId" = #{topOrganizationId}
|
||||
</if>
|
||||
<if test="warehouseId != null">
|
||||
and a.warehouse_id = #{warehouseId}
|
||||
and a."warehouseId" = #{warehouseId}
|
||||
</if>
|
||||
<if test="shipperId != null">
|
||||
and a.shipper_id = #{shipperId}
|
||||
and a."shipperId" = #{shipperId}
|
||||
</if>
|
||||
<if test="customerId != null">
|
||||
and a.customer_id = #{customerId}
|
||||
and a."customerId" = #{customerId}
|
||||
</if>
|
||||
<if test="inOrOut != null">
|
||||
and a."inOrOut" = #{inOrOut}
|
||||
</if>
|
||||
<if test="issueStatus != null">
|
||||
and a."issueStatus" = #{issueStatus}
|
||||
</if>
|
||||
<if test="orderNumber != null">
|
||||
and a."orderNumber" = #{orderNumber}
|
||||
</if>
|
||||
<if test="createTimeStart != null and createTimeStart != ''">
|
||||
and date_format(a."createTime",'%Y-%m-%d') >= #{createTimeStart}
|
||||
</if>
|
||||
<if test="createTimeEnd != null and createTimeEnd != ''">
|
||||
and date_format(a."createTime",'%Y-%m-%d') <= #{createTimeEnd}
|
||||
</if>
|
||||
order by a."createTime" desc
|
||||
</select>
|
||||
|
||||
@@ -277,6 +277,12 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||
<if test="ltCheckStatus != null ">
|
||||
and a.check_status < #{ltCheckStatus}
|
||||
</if>
|
||||
<if test="businessOrderNo != null">
|
||||
and a.business_order_no = #{businessOrderNo}
|
||||
</if>
|
||||
<if test="issueStatus != null">
|
||||
and a.issue_status = #{issueStatus}
|
||||
</if>
|
||||
<if test="createByName != null and createByName != ''">
|
||||
and a.create_by_name like concat('%', #{createByName}, '%')
|
||||
</if>
|
||||
|
||||
Reference in New Issue
Block a user