|
@@ -449,8 +449,10 @@ public class UserSubscribeServiceImpl extends ServiceImpl<UserSubscribeMapper, U
|
|
|
}
|
|
|
update.setUpdateTime(DateUtils.getNowTime());
|
|
|
b = this.updateById(update);
|
|
|
- if(b&&Validator.isNotEmpty(update.getResult())){
|
|
|
+ if(Validator.isNotEmpty(update.getResult())){
|
|
|
+ System.out.println(userSubscribeVo.getResult()+"考试结果");
|
|
|
if(!update.getResult().equals(userSubscribeVo.getResult())){
|
|
|
+ System.out.println("不相等");
|
|
|
//考试结果有变更,发送短信
|
|
|
UserSubscribe userSubscribe = BeanUtil.toBean(update, UserSubscribe.class);
|
|
|
sendExamPass(userSubscribe);
|
|
@@ -1288,18 +1290,6 @@ public class UserSubscribeServiceImpl extends ServiceImpl<UserSubscribeMapper, U
|
|
|
userSbusciEditBo.setApplyId(applyId);
|
|
|
|
|
|
|
|
|
-/* if (!StringUtils.isEmpty(userSubscribeImport.getStudentTypeName())) {
|
|
|
- if (userSubscribeImport.getStudentTypeName().equals("非补考学员")) {
|
|
|
- userSbusciEditBo.setStudentType(1);
|
|
|
- } else {
|
|
|
- userSbusciEditBo.setStudentType(2);
|
|
|
- }
|
|
|
- } else {
|
|
|
- userSubscribeImport.setCause("学员报名类型有误");
|
|
|
- userSubscribeImports.add(userSubscribeImport);
|
|
|
- continue;
|
|
|
- }*/
|
|
|
-
|
|
|
if (!StringUtils.isEmpty(userSubscribeImport.getApplySiteAddress())) {
|
|
|
userSbusciEditBo.setApplySiteAddress(userSubscribeImport.getApplySiteAddress());
|
|
|
} else {
|
|
@@ -1422,11 +1412,13 @@ public class UserSubscribeServiceImpl extends ServiceImpl<UserSubscribeMapper, U
|
|
|
InformRemindVo informRemindVoPass = informRemindService.queryById(17L);
|
|
|
InformRemindVo informRemindVo = informRemindService.queryById(18L);
|
|
|
if (!CollectionUtils.isEmpty(informRemindVo.getInformRemindBusiness())) {
|
|
|
+ System.out.println("不相等A");
|
|
|
Long businessId = 0L;
|
|
|
for (InformRemindBusinessVo informRemindBusiness : informRemindVo.getInformRemindBusiness()) {
|
|
|
businessId += baseMapper.queryBusinessId(bo.getSubscribeId(), informRemindBusiness.getBusinessId());
|
|
|
}
|
|
|
if (businessId > 0 &&Validator.isNotEmpty(userSubscribeVo.getResult())) {
|
|
|
+ System.out.println("不相等AC");
|
|
|
if (userSubscribeVo.getResult().equals(1)) {
|
|
|
if (informRemindVoPass.getWayStatus().equals(1)) {
|
|
|
InformUserAddBo informUserAddBo = new InformUserAddBo();
|