推QMS质检报告,日志优化

This commit is contained in:
mzr 2025-09-02 18:09:43 +08:00
parent 4964f39025
commit c9cf7bc1bd
1 changed files with 2 additions and 1 deletions

View File

@ -150,10 +150,11 @@ public class SyncQcQmsRule implements IRule<ReportVO> {
String requestUrl = baseUrl + reqUrl;
logger.error("QMS-QC-url = " + requestUrl);
String result = ThirdPartyPostRequestUtil.sendPostRequest(requestUrl, jsonStr);
NCCForUAPLogger.debug("QMS-QC-result = " + result);
JSONObject resultObj = JSONObject.parseObject(result);
logger.error("QMS-QC-res = " + result);
if (!"success".equals(resultObj.getString("success"))) {
if (!"true".equals(resultObj.getString("success"))) {
// throw new BusinessException("QMS-QC-error:" + resultObj.getString("msg"));
logger.error("QMS-QC-error,result[" + resultObj.toJSONString() + "]");
}