rev:生产入库回传修改、agv下发充电任务修改

This commit is contained in:
2023-07-14 16:33:24 +08:00
parent 38b75b39aa
commit 02364658a5
2 changed files with 5 additions and 1 deletions

View File

@@ -337,12 +337,15 @@ public class WmsToAcsServiceImpl implements WmsToAcsService {
String car_no = whereJson.getString("car_no");
JSONObject jsonParam = new JSONObject();
if ("2,3".contains(car_no)) {
if ("2,3,4,5".contains(car_no)) {
jsonParam.put("agv_system", "2");
jsonParam.put("car_no", car_no);
} else if ("1".contains(car_no)) {
jsonParam.put("agv_system", "1");
jsonParam.put("car_no", car_no);
} else if ("6,7,8,9".contains(car_no)) {
jsonParam.put("agv_system", "3");
jsonParam.put("car_no", car_no);
}
try {

View File

@@ -757,6 +757,7 @@ public class InAndOutRetrunServiceImpl implements InAndOutReturnService {
}
@Override
@Transactional
public void upload(JSONObject whereJson) {
//出库分配表
WQLObject wo_dis = WQLObject.getWQLObject("ST_IVT_IOStorInvDis");