| | |
| | | .select("asn_id as id, SUM(anfme) anfme, SUM(qty) qty, area_id, area_name, asn_code, asn_id, splr_id, splr_batch") |
| | | .eq(StringUtils.isNotBlank(code), "asn_code", code) |
| | | .lambda() |
| | | .isNull(WarehouseAreasItem::getIsptResult) |
| | | // .isNull(WarehouseAreasItem::getIsptResult) |
| | | .lt(WarehouseAreasItem::getWorkQty, 1) |
| | | .lt(WarehouseAreasItem::getQty, 1) |
| | | .groupBy(WarehouseAreasItem::getAsnCode)); |
| | |
| | | .setIspectId(inspect.getId()) |
| | | .setRcptQty(orderItem.getAnfme()) |
| | | .setRcptId(orderItem.getId()) |
| | | .setPlatOrderCode(orderItem.getPlatOrderCode()) |
| | | .setPlatWorkCode(orderItem.getPlatWorkCode()) |
| | | .setProjectCode(orderItem.getProjectCode()) |
| | | .setAnfme(0.0) |
| | | .setFieldsIndex(orderItem.getFieldsIndex()) |
| | | .setSplrBatch(orderItem.getSplrBatch()) |
| | | .setSplrName(orderItem.getSplrId$()) |
| | | .setCreateBy(loginUserId) |
| | | .setUpdateBy(loginUserId) |
| | | .setDlyQty(orderItem.getAnfme()); |
| | | items.add(isptItem); |
| | | } |