|
@@ -240,7 +240,7 @@ public class AddOrderJob implements Job,ApplicationContextAware {
|
|
|
"left join UFDATA_101_2021.dbo.PO_Podetails popos901 on popos901.id=hdk.PreDid " +
|
|
"left join UFDATA_101_2021.dbo.PO_Podetails popos901 on popos901.id=hdk.PreDid " +
|
|
|
"left join UFDATA_101_2021.dbo.SO_SODetails_extradefine sosose901 on sosose901.iSOsID=popos901.iorderdid " +
|
|
"left join UFDATA_101_2021.dbo.SO_SODetails_extradefine sosose901 on sosose901.iSOsID=popos901.iorderdid " +
|
|
|
"left join UFDATA_102_2021.dbo.Inventory inv902 on inv902.cInvCode=sosos902.cInvCode " +
|
|
"left join UFDATA_102_2021.dbo.Inventory inv902 on inv902.cInvCode=sosos902.cInvCode " +
|
|
|
- "where soso902.cCusCode='T020001' and left(inv902.cInvCCode,2)='19' " +
|
|
|
|
|
|
|
+ "where soso902.cCusCode='T020001' and left(inv902.cInvCCode,2)='19' and soso902.ddate>='2025-01-01 00:00:00' " +
|
|
|
"and soso902.cSOCode='"+sy.getOrderNumber()+"' and sosose901.cbdefine2 is not null and sosos902.AutoID =" + sy2.getId();
|
|
"and soso902.cSOCode='"+sy.getOrderNumber()+"' and sosose901.cbdefine2 is not null and sosos902.AutoID =" + sy2.getId();
|
|
|
List<Map<String, Object>> ymoneyList = new ArrayList<>();
|
|
List<Map<String, Object>> ymoneyList = new ArrayList<>();
|
|
|
|
|
|