add:增加需求单字段
This commit is contained in:
@@ -10,6 +10,7 @@
|
||||
<result property="status" column="status"/>
|
||||
<result property="seqNo" column="seq_no"/>
|
||||
<result property="workOrder" column="work_order"/>
|
||||
<result property="orderCode" column="order_code"/>
|
||||
<result property="skuCode" column="sku_code"/>
|
||||
<result property="skuName" column="sku_name"/>
|
||||
<result property="qty" column="qty"/>
|
||||
@@ -42,6 +43,9 @@
|
||||
<if test="query.workOrder != null and query.workOrder != ''">
|
||||
and d.work_order like concat('%', #{query.workOrder}, '%')
|
||||
</if>
|
||||
<if test="query.orderCode != null and query.orderCode != ''">
|
||||
and d.order_code like concat('%', #{query.orderCode}, '%')
|
||||
</if>
|
||||
<if test="query.skuCode != null and query.skuCode != ''">
|
||||
and (d.sku_code like concat('%', #{query.skuCode}, '%') or d.sku_name like concat('%', #{query.skuCode}, '%'))
|
||||
</if>
|
||||
|
||||
@@ -15,6 +15,7 @@ public class PmDemandDto implements Serializable {
|
||||
private String status;
|
||||
private String seqNo;
|
||||
private String workOrder;
|
||||
private String orderCode;
|
||||
private String skuCode;
|
||||
private String skuName;
|
||||
private BigDecimal qty;
|
||||
|
||||
Reference in New Issue
Block a user