fix: 剩料回库
This commit is contained in:
@@ -223,12 +223,14 @@ public class PdaProductionServiceImpl implements PdaProductionService {
|
||||
if (ObjectUtil.isEmpty(startPoint.getVehicle_code())) {
|
||||
throw new BadRequestException("该点位没有载具信息!");
|
||||
}
|
||||
List<GroupPlate> list = groupplateService.list(new LambdaQueryWrapper<GroupPlate>()
|
||||
.eq(GroupPlate::getVehicle_code, search)
|
||||
.ne(GroupPlate::getStatus, IOSEnum.GROUP_PLATE_STATUS.code("出库")));
|
||||
if (list.size() > 0) {
|
||||
// List<GroupPlate> list = groupplateService.list(new LambdaQueryWrapper<GroupPlate>()
|
||||
// .eq(GroupPlate::getVehicle_code, search)
|
||||
// .ne(GroupPlate::getStatus, IOSEnum.GROUP_PLATE_STATUS.code("出库")));
|
||||
List<JSONObject> res = groupplateService.getPalletViewByVehicleCode(search);
|
||||
if (res.size() > 0) {
|
||||
log.info("剩料回库");
|
||||
// 剩料回库
|
||||
param.put("rows", res);
|
||||
Sectattr sectattr = sectattrService.findByCode(startPoint.getIn_sect(), false);
|
||||
param.put("bill_type", IOSEnum.IN_BILL_TYPE.code("剩料回库"));
|
||||
// 1 创建入库单、明细、分配明细
|
||||
|
||||
Reference in New Issue
Block a user