rev:修改链条接口
This commit is contained in:
@@ -31,7 +31,7 @@ public class InterationUtil {
|
||||
if (STATUS_FLASE.equals(isConnect)) {
|
||||
return TableDataInfo.build();
|
||||
}
|
||||
String acsUrl = SpringContextHolder.getBean(SysParamServiceImpl.class).findByCode("acs_url").getValue();
|
||||
String acsUrl = SpringContextHolder.getBean(SysParamServiceImpl.class).findByCode("wcs_url").getValue();
|
||||
String url = acsUrl + api;
|
||||
try {
|
||||
String resultMsg = HttpRequest.post(url)
|
||||
|
||||
@@ -115,7 +115,7 @@ public class SchBaseTaskServiceImpl extends ServiceImpl<SchBaseTaskMapper, SchBa
|
||||
this.update(new UpdateWrapper<SchBaseTask>()
|
||||
.set("status",param.getString("status"))
|
||||
.eq("task_code", task_code));
|
||||
if (param.getString("method_name").equals(StatusEnum.FORM_STATUS.code("完成"))){
|
||||
if (param.getString("status").equals(StatusEnum.FORM_STATUS.code("完成"))){
|
||||
MdPbVehicleMater vehicleMater = iMdPbVehicleMaterService.getOne(new QueryWrapper<MdPbVehicleMater>()
|
||||
.eq("vehicle_code", task.getVehicle_code()));
|
||||
if (!StringUtils.isEmpty(vehicleMater.getProc_inst_id())){
|
||||
|
||||
@@ -43,7 +43,7 @@ public class WmsToAcsService implements InitializingBean {
|
||||
.type(type)
|
||||
.data(arr).build();
|
||||
|
||||
TableDataInfo tableDataInfo = InterationUtil.notifyExt(mapping.getSync_url(), (JSONObject) JSON.toJSON(dto));
|
||||
TableDataInfo tableDataInfo = InterationUtil.notifyExt("/api/wmsToAcs/apply", (JSONObject) JSON.toJSON(dto));
|
||||
return tableDataInfo;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user