Merge branch 'master' into feature/NoScanning
This commit is contained in:
commit
f3b2f36fbd
|
|
@ -74,4 +74,9 @@ public class PackingVO {
|
||||||
* 最后扫描人名称
|
* 最后扫描人名称
|
||||||
*/
|
*/
|
||||||
private String lastScanByName;
|
private String lastScanByName;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 送货单号列表
|
||||||
|
*/
|
||||||
|
private String deliveryNos;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -27,7 +27,11 @@
|
||||||
</select>
|
</select>
|
||||||
|
|
||||||
<select id="search" resultType="com.nflg.wms.common.pojo.vo.PackingVO">
|
<select id="search" resultType="com.nflg.wms.common.pojo.vo.PackingVO">
|
||||||
select a.*,b.supplier_code,b.supplier_name from wms_package a
|
select a.*,b.supplier_code,b.supplier_name,
|
||||||
|
(
|
||||||
|
SELECT string_agg(DISTINCT delivery_no,',') FROM wms_package_item WHERE package_id=a."id"
|
||||||
|
) as "deliveryNos"
|
||||||
|
from wms_package a
|
||||||
left join user_supplier b on a.supplier_id=b.user_id
|
left join user_supplier b on a.supplier_id=b.user_id
|
||||||
<where>
|
<where>
|
||||||
<if test="request.packingCode !=null and request.packingCode !=''">
|
<if test="request.packingCode !=null and request.packingCode !=''">
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue