opt:获取纸管长度
This commit is contained in:
@@ -202,20 +202,20 @@ public class PdmBiSubpackagerelationServiceImpl extends ServiceImpl<PdmBiSubpack
|
|||||||
updateWrapper.in("workorder_id", entityList);
|
updateWrapper.in("workorder_id", entityList);
|
||||||
pdmBiSubpackagerelationMapper.update(null, updateWrapper);
|
pdmBiSubpackagerelationMapper.update(null, updateWrapper);
|
||||||
//下发空木箱出库任务
|
//下发空木箱出库任务
|
||||||
// JSONObject boxInfo = new JSONObject();
|
JSONObject boxInfo = new JSONObject();
|
||||||
// //todo 测试,暂时默认ZXQ_1_1
|
//todo 测试,暂时默认ZXQ_1_1
|
||||||
// boxInfo.put("device_code", "ZXQ_1_1");
|
boxInfo.put("device_code", "ZXQ_1_1");
|
||||||
// boxInfo.put("material_code", boxType);
|
boxInfo.put("material_code", boxType);
|
||||||
// boxInfo.put("num", entityList.size());
|
boxInfo.put("num", entityList.size());
|
||||||
// String boxSn = outBoxManageService.outBox(boxInfo);
|
String boxSn = outBoxManageService.outBox(boxInfo);
|
||||||
// if (StringUtils.isBlank(boxSn)) {
|
if (StringUtils.isBlank(boxSn)) {
|
||||||
// throw new BadRequestException("满轴缓存位 -> 待检区,木箱码不能为空!");
|
throw new BadRequestException("满轴缓存位 -> 待检区,木箱码不能为空!");
|
||||||
// }
|
}
|
||||||
// //更新子卷包装关系更新木箱号
|
//更新子卷包装关系更新木箱号
|
||||||
// UpdateWrapper<PdmBiSubpackagerelation> updateWrapper1 = new UpdateWrapper<>();
|
UpdateWrapper<PdmBiSubpackagerelation> updateWrapper1 = new UpdateWrapper<>();
|
||||||
// updateWrapper1.set("package_box_sn", boxSn);
|
updateWrapper1.set("package_box_sn", boxSn);
|
||||||
// updateWrapper1.in("workorder_id", entityList);
|
updateWrapper1.in("workorder_id", entityList);
|
||||||
// pdmBiSubpackagerelationMapper.update(null, updateWrapper1);
|
pdmBiSubpackagerelationMapper.update(null, updateWrapper1);
|
||||||
transferToPacking(packagerelationList);
|
transferToPacking(packagerelationList);
|
||||||
} catch (Exception e) {
|
} catch (Exception e) {
|
||||||
throw new BadRequestException(e.getMessage());
|
throw new BadRequestException(e.getMessage());
|
||||||
|
|||||||
@@ -111,7 +111,7 @@ public abstract class AbstractAcsTask {
|
|||||||
List<AcsTaskDto> taskList = this.schedule();
|
List<AcsTaskDto> taskList = this.schedule();
|
||||||
if (ObjectUtil.isNotEmpty(taskList)) {
|
if (ObjectUtil.isNotEmpty(taskList)) {
|
||||||
JSONArray arr = JSONArray.parseArray(JSON.toJSONString(taskList));
|
JSONArray arr = JSONArray.parseArray(JSON.toJSONString(taskList));
|
||||||
//return AcsUtil.notifyAcs("api/wms/task", arr);
|
return AcsUtil.notifyAcs("api/wms/task", arr);
|
||||||
}
|
}
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user