Authored by mali

性能优化

@@ -333,7 +333,7 @@ public class ProductIdentifyServiceImpl implements ProductIdentifyService{ @@ -333,7 +333,7 @@ public class ProductIdentifyServiceImpl implements ProductIdentifyService{
333 ProductIdentifyResp result = getNewIdentifyFromCache(tagId, nfcUid); 333 ProductIdentifyResp result = getNewIdentifyFromCache(tagId, nfcUid);
334 if(result != null ){ 334 if(result != null ){
335 rebuildResult(result, tagId, nfcUid, uid); 335 rebuildResult(result, tagId, nfcUid, uid);
336 - logger.info("queryNewIdentifyInfo get result from cache success! tagId = {}, nfcUid={},uid={}, result={} ", tagId, nfcUid, uid, result ); 336 + logger.info("queryNewIdentifyInfo get result from cache success! tagId = {}, nfcUid={},uid={}", tagId, nfcUid, uid );
337 return result; 337 return result;
338 } 338 }
339 339
@@ -757,7 +757,7 @@ public class ProductIdentifyServiceImpl implements ProductIdentifyService{ @@ -757,7 +757,7 @@ public class ProductIdentifyServiceImpl implements ProductIdentifyService{
757 // result.setIdentifyTime(timeStr); 757 // result.setIdentifyTime(timeStr);
758 758
759 //查询鉴定师名字 759 //查询鉴定师名字
760 - OrderOperateRecord orderOperateRecord = orderOperateRecordMapper.selectByTypeAndOrderCode(OperateTypeEnum.OPERATE_TYPE_JUDGE_PASS.getCode(), orderCode); 760 + OrderOperateRecord orderOperateRecord = orderOperateRecordMapper.selectByTypeAndOrderCode(OperateTypeEnum.ONLY_JUDGE_PASS.getCode(), orderCode);
761 result.setIdentifyUserName(null == orderOperateRecord ? "" : orderOperateRecord.getUserName()); 761 result.setIdentifyUserName(null == orderOperateRecord ? "" : orderOperateRecord.getUserName());
762 762
763 return result; 763 return result;