|
|
@@ -15,6 +15,7 @@ import com.zhongzheng.modules.bank.service.IExamTempService;
|
|
|
import com.zhongzheng.modules.distribution.domain.DistributionCashWithdrawal;
|
|
|
import com.zhongzheng.modules.exam.domain.ExamPaper;
|
|
|
import com.zhongzheng.modules.exam.service.IExamPaperService;
|
|
|
+import com.zhongzheng.modules.goods.domain.GoodsAttached;
|
|
|
import com.zhongzheng.modules.grade.domain.UserPeriod;
|
|
|
import com.zhongzheng.modules.grade.domain.UserPeriodStatus;
|
|
|
import com.zhongzheng.modules.grade.service.IUserPeriodService;
|
|
|
@@ -209,6 +210,10 @@ public class UserBankRecordServiceImpl extends ServiceImpl<UserBankRecordMapper,
|
|
|
|
|
|
if(userBankRecordVo.getType()==1||userBankRecordVo.getType()==3){ //章卷 模块卷才进来
|
|
|
if (userStudyRecordMapper.selectStudyExamRecord(userBankRecordVo) < 1 && Validator.isNotEmpty(add.getReportStatus())&& add.getReportStatus().equals(1)){
|
|
|
+ UserStudyRecordPhoto recordPhoto = userStudyRecordPhotoService.getOne(new LambdaQueryWrapper<UserStudyRecordPhoto>().eq(UserStudyRecordPhoto::getRecordId, userBankRecordVo.getRecordId()).eq(UserStudyRecordPhoto::getStatus,2).last("limit 1"));
|
|
|
+ if(Validator.isEmpty(recordPhoto)){
|
|
|
+ throw new CustomException("拍照次数不达标",559);
|
|
|
+ }
|
|
|
//增加一条审核记录
|
|
|
UserPeriod userPeriod = new UserPeriod();
|
|
|
userPeriod.setUserId(userBankRecordVo.getUserId());
|