|
|
@@ -35,7 +35,7 @@ public class GetStockBillFromU8 extends ServiceController {
|
|
|
if (u8billRows.isNotEmpty()) {
|
|
|
logger.info("监测到有{}个u8产品入库单", u8billRows.size());
|
|
|
//产品入库表体
|
|
|
- Rows u8billmxAllRows = SQLFactory.createQuerySQL(YUNl_DB, "RdRecords", "autoid,cinvcode,iquantity,iunitcost,iprice,cbmemo,cbatch").setWhere("billtype", "10").setWhere("accid in('666','888')").setWhere("id", u8billRows.toArrayList("id")).query();
|
|
|
+ Rows u8billmxAllRows = SQLFactory.createQuerySQL(YUNl_DB, "RdRecords", "id,autoid,cinvcode,iquantity,iunitcost,iprice,cbmemo,cbatch").setWhere("billtype", "10").setWhere("accid in('666','888')").setWhere("id", u8billRows.toArrayList("id")).query();
|
|
|
RowsMap u8billmxRowsMap = u8billmxAllRows.toRowsMap("id");
|
|
|
//产品入库序列号
|
|
|
RowsMap u8billmxCodeRowsMap = SQLFactory.createQuerySQL(YUNl_DB, "ST_SNDetail", "autoid,ivouchsid,ivouchid,irowno,cinvcode,cwhcode,cposition,cinvsn,cbatch").setWhere("billtype", "10").setWhere("accid in('666','888')").setWhere("ivouchid", u8billRows.toArrayList("id")).setWhere("ivouchsid", u8billmxAllRows.toArrayList("autoid")).query().toRowsMap("ivouchid");
|