推QMS质检报告,日志优化
This commit is contained in:
		
							parent
							
								
									4964f39025
								
							
						
					
					
						commit
						c9cf7bc1bd
					
				|  | @ -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() + "]"); | ||||
|         } | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue