mirror of https://github.com/jeecgboot/jeecg-boot
Exclude existing order IDs when constructing new Shouman orders
parent
4a7e8bdce8
commit
6429a6ab2a
|
@ -383,7 +383,7 @@
|
||||||
join sku s on poc.sku_id = s.id
|
join sku s on poc.sku_id = s.id
|
||||||
join shouman_sku_relation ssr on s.id = ssr.sku_id
|
join shouman_sku_relation ssr on s.id = ssr.sku_id
|
||||||
join shouman_category sc on ssr.shouman_category_id = sc.id
|
join shouman_category sc on ssr.shouman_category_id = sc.id
|
||||||
where poc.erp_status = 1;
|
where poc.erp_status = 1 and po.platform_order_id not in (select platform_order_id from shouman_order);
|
||||||
</select>
|
</select>
|
||||||
|
|
||||||
<resultMap id="shoumanOrderContentResultMap" type="org.jeecg.modules.business.entity.ShoumanOrderContent">
|
<resultMap id="shoumanOrderContentResultMap" type="org.jeecg.modules.business.entity.ShoumanOrderContent">
|
||||||
|
|
Loading…
Reference in New Issue