fix:出入库查询不到单据优化
This commit is contained in:
@@ -28,7 +28,7 @@ public class CodeUtil {
|
||||
String flag = "1";
|
||||
HashMap<String, String> map = new HashMap<>();
|
||||
map.put("flag", flag);
|
||||
String code = HttpUtil.get("http://127.0.0.1:8011/api/codeDetail/getNewCode?code=" + ruleCode + "&flag" + flag);
|
||||
String code = HttpUtil.get("http://127.0.0.1:8013/api/codeDetail/getNewCode?code=" + ruleCode + "&flag" + flag);
|
||||
if (code.contains("status")){
|
||||
throw new BadRequestException(code);
|
||||
}
|
||||
|
||||
@@ -1868,7 +1868,7 @@ public class RawAssistIStorServiceImpl implements RawAssistIStorService {
|
||||
|
||||
if (ObjectUtil.isEmpty(struct_jo)) {
|
||||
// 主存区类型更改成中转区类型:找一排主存区的更改中转区、把一排中转区的更改成主存区(只允许调用一次)
|
||||
String result = HttpUtil.get("http://127.0.0.1:8011/api/in/rawAssist/updateStructSect?layer_num=" + col_num);
|
||||
String result = HttpUtil.get("http://127.0.0.1:8013/api/in/rawAssist/updateStructSect?layer_num=" + col_num);
|
||||
JSONObject toJSON = (JSONObject)JSONObject.toJSON(result);
|
||||
if (!toJSON.getString("status").equals("200")){
|
||||
throw new BadRequestException(toJSON.getString("message"));
|
||||
|
||||
Reference in New Issue
Block a user