fix: PDM 497接口bug修复
This commit is contained in:
+1
-1
@@ -875,7 +875,7 @@ public class SrmsApiServiceImpl implements SrmsApiService {
|
|||||||
log.info("Headers: " + headers.toString());
|
log.info("Headers: " + headers.toString());
|
||||||
log.info("Request body: " + all.toString());
|
log.info("Request body: " + all.toString());
|
||||||
|
|
||||||
JSONObject reData = restTemplate.postForObject(pdmIp + editValidUrl, entity, JSONObject.class);
|
JSONObject reData = restTemplate.postForObject(pdmIp + partBelongUrl, entity, JSONObject.class);
|
||||||
log.info("接收校验某个零部件是否属于某个零部件分类返回");
|
log.info("接收校验某个零部件是否属于某个零部件分类返回");
|
||||||
log.info("Response: " + JSON.toJSONString(reData));
|
log.info("Response: " + JSON.toJSONString(reData));
|
||||||
if (!Objects.isNull(reData) && reData.containsKey("Success")) {
|
if (!Objects.isNull(reData) && reData.containsKey("Success")) {
|
||||||
|
|||||||
Reference in New Issue
Block a user