## 调整发货方法;

This commit is contained in:
cabbage 2025-06-23 15:41:48 +08:00
parent c344642bda
commit bac4911559
1 changed files with 0 additions and 7 deletions

View File

@ -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