Browse Source

供应商批次号

master
han\hanst 7 days ago
parent
commit
2be558af5c
  1. 1
      src/main/java/com/gaotao/modules/handlingunit/entity/dto/HandlingUnitDto.java
  2. 4
      src/main/resources/mapper/warehouse/LabelQueryMapper.xml

1
src/main/java/com/gaotao/modules/handlingunit/entity/dto/HandlingUnitDto.java

@ -32,6 +32,7 @@ public class HandlingUnitDto {
private String orderRef2; private String orderRef2;
private String orderRef3; private String orderRef3;
private String supplierId; private String supplierId;
private String supplierBatchNo;
private String customerId; private String customerId;
private Date manufactureDate; private Date manufactureDate;
@DateTimeFormat(pattern = "yyyy-MM-dd") @DateTimeFormat(pattern = "yyyy-MM-dd")

4
src/main/resources/mapper/warehouse/LabelQueryMapper.xml

@ -29,6 +29,7 @@
h.remark, h.remark,
w.WareHouseName as warehouseName, w.WareHouseName as warehouseName,
l.LocationName as locationName, l.LocationName as locationName,
h.supplier_batch_no as supplierBatchNo,
h.height,h.wdr,h.eng_chg_level as engChgLevel,h.expired_date as expiredDate, h.height,h.wdr,h.eng_chg_level as engChgLevel,h.expired_date as expiredDate,
h.count_flag as countFlag,h.last_count_date as lastCountDate,h.source_type as sourceType h.count_flag as countFlag,h.last_count_date as lastCountDate,h.source_type as sourceType
FROM handling_unit h WITH (NOLOCK) FROM handling_unit h WITH (NOLOCK)
@ -60,6 +61,9 @@
<if test="params.partDesc != null and params.partDesc != ''"> <if test="params.partDesc != null and params.partDesc != ''">
AND h.part_desc LIKE CONCAT('%', #{params.partDesc}, '%') AND h.part_desc LIKE CONCAT('%', #{params.partDesc}, '%')
</if> </if>
<if test="params.supplierBatchNo != null and params.supplierBatchNo != ''">
AND h.supplier_batch_no LIKE CONCAT('%', #{params.supplierBatchNo}, '%')
</if>
<if test="params.sourceType != null and params.sourceType != ''"> <if test="params.sourceType != null and params.sourceType != ''">
AND h.source_type = #{params.sourceType} AND h.source_type = #{params.sourceType}
</if> </if>

Loading…
Cancel
Save