Authored by mali

性能优化

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