|
|
@@ -628,6 +628,10 @@ public class ClassGradeUserServiceImpl extends ServiceImpl<ClassGradeUserMapper,
|
|
|
CourseBusinessQueryBo queryBo = new CourseBusinessQueryBo();
|
|
|
queryBo.setId(goods.getBusinessId());
|
|
|
String fullName = iCourseBusinessService.queryFullName(queryBo);
|
|
|
+ if (Validator.isEmpty(userVo.getRealName()) || Validator.isEmpty(userVo.getIdCard()) || Validator.isEmpty(userVo.getTelPhone())) {
|
|
|
+ return "用户信息缺失";
|
|
|
+ }
|
|
|
+ userVo.setRealName(userVo.getRealName().replaceAll("\\s*", ""));
|
|
|
if(fullName.contains("继续教育")&&fullName.contains("施工现场专业人员")){
|
|
|
return pushSevenOfficialInfo(bo,userVo,orderGoods,goods);
|
|
|
}
|
|
|
@@ -640,10 +644,7 @@ public class ClassGradeUserServiceImpl extends ServiceImpl<ClassGradeUserMapper,
|
|
|
} else {
|
|
|
bmrq = userVo.getClassStartTime();
|
|
|
}
|
|
|
- if (Validator.isEmpty(userVo.getRealName()) || Validator.isEmpty(userVo.getIdCard()) || Validator.isEmpty(userVo.getTelPhone())) {
|
|
|
- return "用户信息缺失";
|
|
|
- }
|
|
|
- userVo.setRealName(userVo.getRealName().replaceAll("\\s*", ""));
|
|
|
+
|
|
|
if(Validator.isNotEmpty(configService.selectConfigByKeyNoCache("office.account"))){
|
|
|
OFFICIALPUSH_INFOACCOUNT = configService.selectConfigByKeyNoCache("office.account");
|
|
|
OFFICIALPUSH_TOKEN = configService.selectConfigByKeyNoCache("office.token");
|