提交 f7e09675 authored 作者: 000516's avatar 000516

模板4.0午休字段名修改

...@@ -136,11 +136,11 @@ public class ActivityPlanInfoDo implements Serializable { ...@@ -136,11 +136,11 @@ public class ActivityPlanInfoDo implements Serializable {
/** /**
* 午休下班时间 * 午休下班时间
*/ */
private LocalDateTime noonOutLocalTime; private LocalDateTime noonClockOutTime;
/** /**
* 午休上班时间 * 午休上班时间
*/ */
private LocalDateTime noonInLocalTime; private LocalDateTime noonClockInTime;
/** /**
* 下班时间 * 下班时间
......
...@@ -137,11 +137,11 @@ public class ActivityPlanInfoDto implements Serializable { ...@@ -137,11 +137,11 @@ public class ActivityPlanInfoDto implements Serializable {
/** /**
* 午休下班时间 * 午休下班时间
*/ */
private LocalDateTime noonOutLocalTime; private LocalDateTime noonClockOutTime;
/** /**
* 午休上班时间 * 午休上班时间
*/ */
private LocalDateTime noonInLocalTime; private LocalDateTime noonClockInTime;
/** /**
* 下班时间 * 下班时间
......
...@@ -237,8 +237,8 @@ public class PromPlanCoreServiceImpl implements PromPlanCoreService { ...@@ -237,8 +237,8 @@ public class PromPlanCoreServiceImpl implements PromPlanCoreService {
&& noonOutLocalTime.isBefore(noonInLocalTime) && noonOutLocalTime.isBefore(noonInLocalTime)
&& noonInLocalTime.isBefore(outLocalTime)) && noonInLocalTime.isBefore(outLocalTime))
{ {
dto.setNoonOutLocalTime(LocalDateTime.of(planDate, noonOutLocalTime)); dto.setNoonClockOutTime(LocalDateTime.of(planDate, noonOutLocalTime));
dto.setNoonInLocalTime(LocalDateTime.of(planDate, noonInLocalTime)); dto.setNoonClockInTime(LocalDateTime.of(planDate, noonInLocalTime));
}else if (ObjectUtils.allNotNull(noonOutLocalTime, noonInLocalTime)){ }else if (ObjectUtils.allNotNull(noonOutLocalTime, noonInLocalTime)){
dto.setErrorMsg("时间错误,正确规则:上班时间<午休下班时间<午休上班时间<下班时间;"); dto.setErrorMsg("时间错误,正确规则:上班时间<午休下班时间<午休上班时间<下班时间;");
} }
...@@ -470,8 +470,8 @@ public class PromPlanCoreServiceImpl implements PromPlanCoreService { ...@@ -470,8 +470,8 @@ public class PromPlanCoreServiceImpl implements PromPlanCoreService {
&& noonOutLocalTime.isBefore(noonInLocalTime) && noonOutLocalTime.isBefore(noonInLocalTime)
&& noonInLocalTime.isBefore(outLocalTime)) && noonInLocalTime.isBefore(outLocalTime))
{ {
dto.setNoonOutLocalTime(LocalDateTime.of(planDate, noonOutLocalTime)); dto.setNoonClockOutTime(LocalDateTime.of(planDate, noonOutLocalTime));
dto.setNoonInLocalTime(LocalDateTime.of(planDate, noonInLocalTime)); dto.setNoonClockInTime(LocalDateTime.of(planDate, noonInLocalTime));
}else { }else {
dto.setErrorMsg("时间错误,正确规则:上班时间<午休下班时间<午休上班时间<下班时间;"); dto.setErrorMsg("时间错误,正确规则:上班时间<午休下班时间<午休上班时间<下班时间;");
} }
...@@ -783,8 +783,8 @@ public class PromPlanCoreServiceImpl implements PromPlanCoreService { ...@@ -783,8 +783,8 @@ public class PromPlanCoreServiceImpl implements PromPlanCoreService {
&& noonOutLocalTime.isBefore(noonInLocalTime) && noonOutLocalTime.isBefore(noonInLocalTime)
&& noonInLocalTime.isBefore(outLocalTime)) && noonInLocalTime.isBefore(outLocalTime))
{ {
dto.setNoonOutLocalTime(LocalDateTime.of(planDate, noonOutLocalTime)); dto.setNoonClockOutTime(LocalDateTime.of(planDate, noonOutLocalTime));
dto.setNoonInLocalTime(LocalDateTime.of(planDate, noonInLocalTime)); dto.setNoonClockInTime(LocalDateTime.of(planDate, noonInLocalTime));
}else { }else {
dto.setErrorMsg("时间错误,正确规则:上班时间<午休下班时间<午休上班时间<下班时间;"); dto.setErrorMsg("时间错误,正确规则:上班时间<午休下班时间<午休上班时间<下班时间;");
} }
......
...@@ -75,8 +75,8 @@ ...@@ -75,8 +75,8 @@
#{item.month}, FROM_UNIXTIME(#{item.date} / 1000), #{item.lineName}, #{item.storeName}, #{item.storeCode}, #{item.month}, FROM_UNIXTIME(#{item.date} / 1000), #{item.lineName}, #{item.storeName}, #{item.storeCode},
#{item.orgQcId},#{item.orgName}, 0, #{item.pattern}, #{item.dealerId}, #{item.dealerName}, '未确定', #{item.orgQcId},#{item.orgName}, 0, #{item.pattern}, #{item.dealerId}, #{item.dealerName}, '未确定',
#{item.province}, #{item.city}, #{item.area}, #{item.addr}, #{item.province}, #{item.city}, #{item.area}, #{item.addr},
FROM_UNIXTIME(#{item.clockInTime} / 1000), FROM_UNIXTIME(#{item.clockOutTime} / 1000), FROM_UNIXTIME(#{item.noonOutLocalTime} / 1000), FROM_UNIXTIME(#{item.clockInTime} / 1000), FROM_UNIXTIME(#{item.clockOutTime} / 1000), FROM_UNIXTIME(#{item.noonClockOutTime} / 1000),
FROM_UNIXTIME(#{item.noonInLocalTime} / 1000),#{item.temWlSct},#{item.prdClass},#{item.createBy}) FROM_UNIXTIME(#{item.noonClockInTime} / 1000),#{item.temWlSct},#{item.prdClass},#{item.createBy})
</foreach> </foreach>
</insert> </insert>
...@@ -143,8 +143,8 @@ ...@@ -143,8 +143,8 @@
dealer_name = #{pDo.dealerName}, dealer_name = #{pDo.dealerName},
clock_in_time = #{pDo.clockInTime}, clock_in_time = #{pDo.clockInTime},
clock_out_time = #{pDo.clockOutTime}, clock_out_time = #{pDo.clockOutTime},
noon_clock_out_time = #{pDo.noonOutLocalTime}, noon_clock_out_time = #{pDo.noonClockOutTime},
noon_clock_in_time = #{pDo.noonInLocalTime}, noon_clock_in_time = #{pDo.noonClockInTime},
tem_wl_sct = #{pDo.temWlSct}, tem_wl_sct = #{pDo.temWlSct},
prd_class = #{pDo.prdClass}, prd_class = #{pDo.prdClass},
modify_by = #{pDo.modifyBy} modify_by = #{pDo.modifyBy}
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论