1475 发货系统扫码装箱逻辑修改
This commit is contained in:
parent
c616762d50
commit
220fc7727e
|
|
@ -7,20 +7,11 @@
|
|||
FROM wms_shipment_material_code_item_qr qr
|
||||
INNER JOIN wms_shipment_material_code_item it ON qr.item_id=it."id"
|
||||
INNER JOIN wms_shipment_material_code mc ON mc."id"=it.material_code_id
|
||||
<where>
|
||||
<if test="materialNo!=null and materialNo!=''">
|
||||
and it.material_no=#{materialNo}
|
||||
</if>
|
||||
<if test="deviceNo!=null and deviceNo!=''">
|
||||
and mc.device_no=#{deviceNo}
|
||||
</if>
|
||||
<if test="productionOrderNumber!=null and productionOrderNumber!=''">
|
||||
and it.production_order_number=#{productionOrderNumber}
|
||||
</if>
|
||||
<if test="status!=null and status!=''">
|
||||
and it.status=#{status}
|
||||
</if>
|
||||
</where>
|
||||
where it.material_no=#{materialNo}
|
||||
and mc.device_no=#{deviceNo}
|
||||
and it.production_order_number=#{productionOrderNumber}
|
||||
and it.status=#{status}
|
||||
limit 1
|
||||
</select>
|
||||
|
||||
<select id="getInfoByQRCode" resultType="com.nflg.wms.common.pojo.vo.ShipmentMaterialCodeQRVO">
|
||||
|
|
|
|||
Loading…
Reference in New Issue