## 调整发货方法;
This commit is contained in:
parent
c344642bda
commit
bac4911559
|
@ -397,11 +397,6 @@
|
|||
<update id="deliverBatch" parameterType="com.hzs.common.domain.sale.deliver.SaDeliver">
|
||||
MERGE INTO SA_DELIVER sd
|
||||
using (
|
||||
select PK_ID,
|
||||
LOGISTICS_COMPANY,
|
||||
DELIVER_STATUS,
|
||||
replace(wm_concat(LOGISTICS_CODE), ',', '/') LOGISTICS_CODE
|
||||
from (
|
||||
<foreach collection="deliverList" item="item" separator="union">
|
||||
select
|
||||
#{item.pkId} PK_ID,
|
||||
|
@ -410,8 +405,6 @@
|
|||
#{item.deliverStatus} DELIVER_STATUS
|
||||
from dual
|
||||
</foreach>
|
||||
)
|
||||
group by PK_ID, LOGISTICS_COMPANY, LOGISTICS_CODE, DELIVER_STATUS
|
||||
) tmp
|
||||
ON (tmp.PK_ID = sd.pk_id and sd.PK_COUNTRY = #{pkCountry})
|
||||
WHEN MATCHED THEN
|
||||
|
|
Loading…
Reference in New Issue