|
|
@ -1253,7 +1253,7 @@ public class SchedulingServiceImpl implements SchedulingService { |
|
|
String resultCode = String.valueOf(checkMap.get("resultCode")); |
|
|
String resultCode = String.valueOf(checkMap.get("resultCode")); |
|
|
if (!"200".equalsIgnoreCase(resultCode)) { |
|
|
if (!"200".equalsIgnoreCase(resultCode)) { |
|
|
String msg = String.valueOf(checkMap.get("resultMsg")); |
|
|
String msg = String.valueOf(checkMap.get("resultMsg")); |
|
|
throw new XJException(msg, Integer.parseInt(resultCode)); |
|
|
|
|
|
|
|
|
throw new XJException(orderNo+"-"+itemNo+" : "+msg, Integer.parseInt(resultCode)); |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
//验证通过 继续执行排产操作 |
|
|
//验证通过 继续执行排产操作 |
|
|
@ -1262,7 +1262,7 @@ public class SchedulingServiceImpl implements SchedulingService { |
|
|
String resultCode = String.valueOf(resultMap.get("resultCode")); |
|
|
String resultCode = String.valueOf(resultMap.get("resultCode")); |
|
|
if ("400".equalsIgnoreCase(resultCode)) { |
|
|
if ("400".equalsIgnoreCase(resultCode)) { |
|
|
String msg = String.valueOf(resultMap.get("resultMsg")); |
|
|
String msg = String.valueOf(resultMap.get("resultMsg")); |
|
|
throw new XJException(msg); |
|
|
|
|
|
|
|
|
throw new XJException(orderNo+"-"+itemNo+" : "+msg); |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
|