|
|
|
@ -30,7 +30,7 @@ import java.util.*; |
|
|
|
|
import java.util.stream.Collectors; |
|
|
|
|
|
|
|
|
|
@Service |
|
|
|
|
//@Transactional(rollbackFor = Exception.class)
|
|
|
|
|
@Transactional(rollbackFor = Exception.class) |
|
|
|
|
@Slf4j |
|
|
|
|
public class ImageSubmitServiceImpl implements ImageSubmitService { |
|
|
|
|
|
|
|
|
@ -337,7 +337,7 @@ public class ImageSubmitServiceImpl implements ImageSubmitService { |
|
|
|
|
param.put("IS_INPUT", request); |
|
|
|
|
//推送到SAP
|
|
|
|
|
log.info("推送山能数据:{}", JSONObject.toJSONString(param)); |
|
|
|
|
String result = snPushCheckRecordService.pushCheckResultToSAP(param.toJSONString()); |
|
|
|
|
String result = snPushCheckRecordService.pushCheckResultToSAP(JSONObject.toJSONString(param)); |
|
|
|
|
JSONObject rs = JSONObject.parseObject(result).getJSONObject("ES_OUTPUT"); |
|
|
|
|
if (!"S".equals(rs.getString("ZTYPE"))) { |
|
|
|
|
return R.error(500,rs.getString("ZMESSAGE")); |
|
|
|
|