提交 4aec24f1 authored 作者: 李秋林's avatar 李秋林

1、打卡、活动上报添加[所属经销商]信息

上级 d8aa924a
...@@ -68,6 +68,7 @@ public class TemporaryActivityCoreController { ...@@ -68,6 +68,7 @@ public class TemporaryActivityCoreController {
*/ */
TemporaryClockDto clockDto = tempActivityClockQueryService.findTodayTemporaryClockByTemId(temActDto.getTemporaryId()); TemporaryClockDto clockDto = tempActivityClockQueryService.findTodayTemporaryClockByTemId(temActDto.getTemporaryId());
temActDto.setApproveStatus(TemActApproveStatus.SUBMITTED) temActDto.setApproveStatus(TemActApproveStatus.SUBMITTED)
.setDealerName(clockDto.getDealerName())
.setLineName(clockDto.getLineName()) .setLineName(clockDto.getLineName())
.setStoreName(clockDto.getStoreName()) .setStoreName(clockDto.getStoreName())
.setDeptQcId(clockDto.getDeptQcId()) .setDeptQcId(clockDto.getDeptQcId())
......
...@@ -36,6 +36,11 @@ public class TemporaryActivityClockDO implements Serializable { ...@@ -36,6 +36,11 @@ public class TemporaryActivityClockDO implements Serializable {
*/ */
private Long reportedId; private Long reportedId;
/**
* 经销商名称
*/
private String dealerName;
/** /**
* qince_clientele_store表qc_id * qince_clientele_store表qc_id
*/ */
...@@ -61,12 +66,12 @@ public class TemporaryActivityClockDO implements Serializable { ...@@ -61,12 +66,12 @@ public class TemporaryActivityClockDO implements Serializable {
/** /**
* 打卡所在地-省 * 打卡所在地-省
*/ */
String clockProvince; private String clockProvince;
/** /**
* 打卡所在地-市 * 打卡所在地-市
*/ */
String clockCity; private String clockCity;
/** /**
* 上班打卡地址 * 上班打卡地址
...@@ -144,10 +149,10 @@ public class TemporaryActivityClockDO implements Serializable { ...@@ -144,10 +149,10 @@ public class TemporaryActivityClockDO implements Serializable {
private Date modifyTime; private Date modifyTime;
// 活动模式Id // 活动模式Id
Integer activityPatternId; private Integer activityPatternId;
// 活动模式 // 活动模式
String activityPattern; private String activityPattern;
/** /**
......
...@@ -32,6 +32,8 @@ public class TemporaryActivityReportedDO implements Serializable { ...@@ -32,6 +32,8 @@ public class TemporaryActivityReportedDO implements Serializable {
*/ */
private String temporaryName; private String temporaryName;
private String dealerName;
/** /**
* 关联—活动店铺id * 关联—活动店铺id
*/ */
......
...@@ -35,6 +35,8 @@ public class TemporaryActivityReportedDto { ...@@ -35,6 +35,8 @@ public class TemporaryActivityReportedDto {
*/ */
private String temporaryName; private String temporaryName;
private String dealerName;
/** /**
* 关联—活动店铺id * 关联—活动店铺id
*/ */
......
...@@ -34,24 +34,26 @@ public class TemporaryClockDto { ...@@ -34,24 +34,26 @@ public class TemporaryClockDto {
/** /**
* 关联活动上报id * 关联活动上报id
*/ */
private Long reportedId; Long reportedId;
Long storeId; Long storeId;
private String lineName; String dealerName;
String lineName;
/** /**
* qince_clientele_store表store_name * qince_clientele_store表store_name
*/ */
private String storeName; String storeName;
private String deptQcId; String deptQcId;
private String deptQcOrgName; String deptQcOrgName;
private String chargerQcId; String chargerQcId;
private String chargerName; String chargerName;
// 上班打卡地址 // 上班打卡地址
String clockInAddress; String clockInAddress;
...@@ -82,7 +84,7 @@ public class TemporaryClockDto { ...@@ -82,7 +84,7 @@ public class TemporaryClockDto {
// 午休下班打卡图片 // 午休下班打卡图片
String noonClockOutPhoto; String noonClockOutPhoto;
Date noonClockOutPhotoUpdateTime;; Date noonClockOutPhotoUpdateTime;
// 午休下班打卡时间 // 午休下班打卡时间
Date noonClockOutTime; Date noonClockOutTime;
...@@ -135,7 +137,7 @@ public class TemporaryClockDto { ...@@ -135,7 +137,7 @@ public class TemporaryClockDto {
* 是否删除 * 是否删除
* 1:有效;0:删除; * 1:有效;0:删除;
*/ */
private Integer isDelete; Integer isDelete;
public TemporaryClockDto(Integer clockType, Long id, Integer temporaryId, String temporaryName, String clockProvince, String clockCity) { public TemporaryClockDto(Integer clockType, Long id, Integer temporaryId, String temporaryName, String clockProvince, String clockCity) {
if (!ClockType.TEMPORARY_CLOCK_IN.equals(clockType)) { if (!ClockType.TEMPORARY_CLOCK_IN.equals(clockType)) {
......
...@@ -66,7 +66,8 @@ public class TemporaryActivityClockCoreServiceImpl implements TemporaryActivityC ...@@ -66,7 +66,8 @@ public class TemporaryActivityClockCoreServiceImpl implements TemporaryActivityC
.setChargerQcId(employeeDto.getQcId()) .setChargerQcId(employeeDto.getQcId())
.setChargerName(employeeDto.getName()) .setChargerName(employeeDto.getName())
.setActivityPatternId(planInfoDto.getActivityPatternId()) .setActivityPatternId(planInfoDto.getActivityPatternId())
.setActivityPattern(planInfoDto.getActivityPattern()); .setActivityPattern(planInfoDto.getActivityPattern())
.setDealerName(planInfoDto.getDealerName());
temporaryActivityClockDao.save(dto); temporaryActivityClockDao.save(dto);
} else { } else {
temporaryActivityClockDao.updateById(dto); temporaryActivityClockDao.updateById(dto);
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论