Commit f3fa45a0 by zhangxingmin

push

parent 1349b707
......@@ -1015,7 +1015,12 @@ public class CommissionServiceImpl extends ServiceImpl<CommissionMapper, Commiss
if (commission == null) {
throw new BusinessException(ResultCode.NULL_ERROR.getCode(), "来佣记录不存在");
}
if (StringUtils.isNotBlank(commission.getCommissionExpectedBizId())) {
CommissionExpected commissionExpected = commissionExpectedService.queryOne(commission.getCommissionExpectedBizId());
if (commissionExpected != null) {
throw new BusinessException("已经同步过了,无需再次同步");
}
}
// 获取当前登录用户
AuthUserDto currentLoginUser = SecurityUtil.getCurrentLoginUser();
String loginUserId = currentLoginUser.getId().toString();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment