change преди 4 години
родител
ревизия
ec3b4f297a

+ 2 - 1
zhongzheng-system/src/main/java/com/zhongzheng/modules/recruit/service/impl/RecruitInterviewServiceImpl.java

@@ -217,7 +217,7 @@ public class RecruitInterviewServiceImpl extends ServiceImpl<RecruitInterviewMap
         for (DayInterviewVo dayInterviewVo : dayStudyVosOne) {
             for (QuantumVo quantumVo : dayInterviewVo.getQuantumList()) {
                 List<RecruitInterviewVo> recruitInterviewVos = baseMapper.selectByDay(
-                        Convert.toInt(dayInterviewVo.getDate()),bo.getMonth(), bo.getYear()
+                        Convert.toInt(dayInterviewVo.getDate()),dayInterviewVo.getMonth(), bo.getYear()
                         , quantumVo.getTimingStart(), quantumVo.getTimingEnd(),
                         bo.getStatusIds());
                 for (RecruitInterviewVo recruitInterviewVo : recruitInterviewVos) {
@@ -322,6 +322,7 @@ public class RecruitInterviewServiceImpl extends ServiceImpl<RecruitInterviewMap
             DayInterviewVo dayInterviewVo = new DayInterviewVo();
             dayInterviewVo.setDate(Convert.toLong(strh));
             dayInterviewVo.setStudyDay(Convert.toLong(i+1));
+            dayInterviewVo.setMonth(DateUtil.month(DateUtil.date(time))+1);
             dayInterviewVos.add(dayInterviewVo);
             List<QuantumVo> quantumList = new ArrayList<>();
             for (int j = 0; j < 24; j++) {

+ 5 - 0
zhongzheng-system/src/main/java/com/zhongzheng/modules/recruit/vo/DayInterviewVo.java

@@ -30,5 +30,10 @@ public class DayInterviewVo {
     private List<QuantumVo> quantumList;
 
 
+    /** 当前月份 */
+    @ApiModelProperty("当前月份")
+    private Integer month;
+
+
 
 }