|
@@ -373,7 +373,7 @@ public class UserStudyRecordServiceImpl extends ServiceImpl<UserStudyRecordMappe
|
|
if(courseSectionVo.getSectionType()==1&&Validator.isNotEmpty(bo.getStatus())&&bo.getStatus()==1){
|
|
if(courseSectionVo.getSectionType()==1&&Validator.isNotEmpty(bo.getStatus())&&bo.getStatus()==1){
|
|
if(Validator.isNotEmpty(goodsVo)){
|
|
if(Validator.isNotEmpty(goodsVo)){
|
|
if(Validator.isNotEmpty(fullName)){
|
|
if(Validator.isNotEmpty(fullName)){
|
|
- if(fullName.equals("继续教育二级建造师")||fullName.equals("继续教育二级造价师")||fullName.equals("考前培训七大员施工现场专业人员")||(fullName.contains("继续教育")&&fullName.contains("施工现场专业人员"))){
|
|
|
|
|
|
+ if(fullName.equals("继续教育一级建造师")||fullName.equals("继续教育二级建造师")||fullName.equals("继续教育二级造价师")||fullName.equals("考前培训七大员施工现场专业人员")||(fullName.contains("继续教育")&&fullName.contains("施工现场专业人员"))){
|
|
if(Validator.isNotEmpty(courseSectionVo.getDurationTime())||Validator.isNotEmpty(bo.getVideoCurrentTime())){
|
|
if(Validator.isNotEmpty(courseSectionVo.getDurationTime())||Validator.isNotEmpty(bo.getVideoCurrentTime())){
|
|
Long videoTime = 0L;
|
|
Long videoTime = 0L;
|
|
if(Validator.isNotEmpty(courseSectionVo.getDurationTime())&&courseSectionVo.getDurationTime().longValue()>0){
|
|
if(Validator.isNotEmpty(courseSectionVo.getDurationTime())&&courseSectionVo.getDurationTime().longValue()>0){
|
|
@@ -388,6 +388,9 @@ public class UserStudyRecordServiceImpl extends ServiceImpl<UserStudyRecordMappe
|
|
if(fullName.contains("继续教育")&&fullName.contains("施工现场专业人员")){
|
|
if(fullName.contains("继续教育")&&fullName.contains("施工现场专业人员")){
|
|
num = (int)Math.floor(videoTime.intValue()/(50*60))+1;
|
|
num = (int)Math.floor(videoTime.intValue()/(50*60))+1;
|
|
}
|
|
}
|
|
|
|
+ if(fullName.equals("继续教育一级建造师")){
|
|
|
|
+ num = 1;
|
|
|
|
+ }
|
|
UserPeriodQueryBo userPeriodQueryBo2 = new UserPeriodQueryBo();
|
|
UserPeriodQueryBo userPeriodQueryBo2 = new UserPeriodQueryBo();
|
|
userPeriodQueryBo2.setSectionId(bo.getSectionId());
|
|
userPeriodQueryBo2.setSectionId(bo.getSectionId());
|
|
userPeriodQueryBo2.setCourseId(bo.getCourseId());
|
|
userPeriodQueryBo2.setCourseId(bo.getCourseId());
|