|
@@ -728,12 +728,11 @@ public class CourseServiceImpl extends ServiceImpl<CourseMapper, Course> impleme
|
|
|
if(fullName.equals("继续教育二级建造师")||fullName.equals("继续教育二级造价师")){
|
|
|
goodsUserVo.setErJianErZao(true);
|
|
|
}else if (goodsUserVo.getEducationName().equals("考前培训") && goodsUserVo.getProjectName().equals("施工现场专业人员")){
|
|
|
- //七大员新考 判断是否提交学员资料
|
|
|
int count = iUserProfileService.count(new LambdaQueryWrapper<UserProfile>()
|
|
|
- .notIn(UserProfile::getStatus, Arrays.asList(3, -1))
|
|
|
- .eq(UserProfile::getUserId, goodsUserVo.getUserId())
|
|
|
- .eq(UserProfile::getGoodsId, goodsUserVo.getGoodsId())
|
|
|
-// .eq(UserProfile::getCurrentStatus, 1)
|
|
|
+ .ne(UserProfile::getStatus,-1)
|
|
|
+ .eq(UserProfile::getUserId, goodsUserVo.getUserId())
|
|
|
+ .eq(UserProfile::getOrderGoodsId, goodsUserVo.getOrderGoodsId())
|
|
|
+ .eq(UserProfile::getCurrentStatus, 1)
|
|
|
);
|
|
|
if (count > 0){
|
|
|
goodsUserVo.setUserProfile(1);
|