|
|
|
|
@ -123,7 +123,7 @@ public class ApmRecordServiceImpl extends BaseServiceImpl<ApmRecordMapper, ApmRe |
|
|
|
|
|
|
|
|
|
// 判断用户是否正在被拉黑
|
|
|
|
|
Blacklist blacklist = blacklistService.getLatelyRecord(cupCardNo); |
|
|
|
|
if (Func.isNotEmpty(blacklist) && CommonDateUtil.daysBetween(DateUtil.now(), blacklist.getCreateTime()) < DictBizCache.getDictValueWithOffset(BusinessConstant.DICT_KEY_BLACKLIST_OUTDATE)) { |
|
|
|
|
if (Func.isNotEmpty(blacklist) && CommonDateUtil.daysBetween(blacklist.getCreateTime(), DateUtil.now()) < DictBizCache.getDictValueWithOffset(BusinessConstant.DICT_KEY_BLACKLIST_OUTDATE)) { |
|
|
|
|
return ErrorMsgEnum.USER_IN_BLACKLIST.getValue(); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|