提交 64bfc1e0 authored 作者: 李秋林's avatar 李秋林

pom文件修改版本信息;员工上传门店计划添加批量上传模块;取消部分log打印

上级 8bfa9302
...@@ -13,7 +13,7 @@ ...@@ -13,7 +13,7 @@
<groupId>com.wangxiaolu</groupId> <groupId>com.wangxiaolu</groupId>
<artifactId>wangxiaolu-promotion-service</artifactId> <artifactId>wangxiaolu-promotion-service</artifactId>
<version>0.1.11</version> <version>0.1.12</version>
<name>wangxiaolu-promotion-service</name> <name>wangxiaolu-promotion-service</name>
<description>promotion-service</description> <description>promotion-service</description>
......
...@@ -86,6 +86,9 @@ public class ManageEmployeeInfoInfoDaoImpl implements ManageEmployeeInfoDao { ...@@ -86,6 +86,9 @@ public class ManageEmployeeInfoInfoDaoImpl implements ManageEmployeeInfoDao {
if (ewrap.isHasDeptQcId()){ if (ewrap.isHasDeptQcId()){
qw.ne(ManageEmployeeInfoDO::getDeptQcId,""); qw.ne(ManageEmployeeInfoDO::getDeptQcId,"");
} }
if (!CollectionUtils.isEmpty(ewrap.getEmployeeNos())){
qw.in(ManageEmployeeInfoDO::getEmployeeNo,ewrap.getEmployeeNos());
}
return qw; return qw;
} }
......
...@@ -51,7 +51,6 @@ public class PromotionStoreDaoImpl implements PromotionStoreDao { ...@@ -51,7 +51,6 @@ public class PromotionStoreDaoImpl implements PromotionStoreDao {
PromotionStoreDO storeDo = new PromotionStoreDO(); PromotionStoreDO storeDo = new PromotionStoreDO();
BeanUtils.copyProperties(promotionStoreDto, storeDo); BeanUtils.copyProperties(promotionStoreDto, storeDo);
promotionStoreMapper.insert(storeDo); promotionStoreMapper.insert(storeDo);
log.info("录入店铺:{}", JSONObject.toJSONString(storeDo));
} }
@Override @Override
......
...@@ -34,7 +34,6 @@ public class TemporaryActivityPhotoDaoImpl implements TemporaryActivityPhotoDao ...@@ -34,7 +34,6 @@ public class TemporaryActivityPhotoDaoImpl implements TemporaryActivityPhotoDao
@Override @Override
public void saveReportedList(Integer temporaryId, Long reportedId, Integer photoType, List<String> urls, List<String> changeUrls) { public void saveReportedList(Integer temporaryId, Long reportedId, Integer photoType, List<String> urls, List<String> changeUrls) {
if (CollectionUtils.isEmpty(changeUrls)) { if (CollectionUtils.isEmpty(changeUrls)) {
log.info("活动id[{}]图片无改变值", reportedId);
return; return;
} }
...@@ -45,7 +44,6 @@ public class TemporaryActivityPhotoDaoImpl implements TemporaryActivityPhotoDao ...@@ -45,7 +44,6 @@ public class TemporaryActivityPhotoDaoImpl implements TemporaryActivityPhotoDao
String uId = uArr[uArr.length - 1]; String uId = uArr[uArr.length - 1];
urlTypeMap.put(uId, type); urlTypeMap.put(uId, type);
} }
log.info("活动id[{}]图片修改后的list为:{}", reportedId, urlTypeMap);
for (String photoUrl : urls) { for (String photoUrl : urls) {
...@@ -53,7 +51,6 @@ public class TemporaryActivityPhotoDaoImpl implements TemporaryActivityPhotoDao ...@@ -53,7 +51,6 @@ public class TemporaryActivityPhotoDaoImpl implements TemporaryActivityPhotoDao
String photoFiledId = photoArr[photoArr.length - 1]; String photoFiledId = photoArr[photoArr.length - 1];
String type = urlTypeMap.get(photoFiledId); String type = urlTypeMap.get(photoFiledId);
log.info("图片文件id[{}]类型为{}", photoFiledId, type);
// 现存图片列表中不存在,删除 // 现存图片列表中不存在,删除
if (StringUtils.isBlank(type)) { if (StringUtils.isBlank(type)) {
temporaryActivityPhotoMapper.updateIsDelete(reportedId, photoFiledId); temporaryActivityPhotoMapper.updateIsDelete(reportedId, photoFiledId);
...@@ -180,7 +177,6 @@ public class TemporaryActivityPhotoDaoImpl implements TemporaryActivityPhotoDao ...@@ -180,7 +177,6 @@ public class TemporaryActivityPhotoDaoImpl implements TemporaryActivityPhotoDao
} }
temporaryActivityPhotoMapper.insert(photoDo); temporaryActivityPhotoMapper.insert(photoDo);
log.info("保存促销员打卡图片:{}", photoDo);
} }
/** /**
* DO to DTO (单个对象) * DO to DTO (单个对象)
......
...@@ -48,7 +48,6 @@ public class TemporaryActivityReportedDaoImpl implements TemporaryActivityReport ...@@ -48,7 +48,6 @@ public class TemporaryActivityReportedDaoImpl implements TemporaryActivityReport
tDo.setCreateDate(DateUtil.today()); tDo.setCreateDate(DateUtil.today());
temporaryActivityReportedMapper.insert(tDo); temporaryActivityReportedMapper.insert(tDo);
log.info("促销员今日活动上报数据完成,生成id[{}],数据信息:{}", tDo.getId(), tDo);
return tDo.getId(); return tDo.getId();
} }
......
...@@ -5,6 +5,8 @@ import lombok.Data; ...@@ -5,6 +5,8 @@ import lombok.Data;
import lombok.NoArgsConstructor; import lombok.NoArgsConstructor;
import lombok.experimental.Accessors; import lombok.experimental.Accessors;
import java.util.Set;
/** /**
* @author : liqiulin * @author : liqiulin
* @date : 2024-09-20 11 * @date : 2024-09-20 11
...@@ -21,5 +23,7 @@ public class ManageEmployeeWrapper { ...@@ -21,5 +23,7 @@ public class ManageEmployeeWrapper {
private String employeeNo; private String employeeNo;
private Set<String> employeeNos;
private boolean hasDeptQcId; private boolean hasDeptQcId;
} }
...@@ -26,6 +26,8 @@ public class EmployeeActivityPlanRecordDO implements Serializable { ...@@ -26,6 +26,8 @@ public class EmployeeActivityPlanRecordDO implements Serializable {
*/ */
private Integer employeeId; private Integer employeeId;
private String employeeName;
/** /**
* 文件http地址 * 文件http地址
*/ */
......
...@@ -24,6 +24,8 @@ public class EmployeeActivityPlanRecordDto implements Serializable { ...@@ -24,6 +24,8 @@ public class EmployeeActivityPlanRecordDto implements Serializable {
*/ */
private Integer employeeId; private Integer employeeId;
private String employeeName;
/** /**
* 文件http地址 * 文件http地址
*/ */
......
...@@ -55,7 +55,6 @@ public class TemporaryActivityClockCoreServiceImpl implements TemporaryActivityC ...@@ -55,7 +55,6 @@ public class TemporaryActivityClockCoreServiceImpl implements TemporaryActivityC
@Transactional(rollbackFor = Exception.class) @Transactional(rollbackFor = Exception.class)
@Override @Override
public void clockInTodayActivity(TemporaryClockDto dto, Integer clockType) { public void clockInTodayActivity(TemporaryClockDto dto, Integer clockType) {
log.info("促销员当日打卡[type-{}]信息保存:{}", clockType, dto.toString());
if (Objects.isNull(dto.getId())) { if (Objects.isNull(dto.getId())) {
// 补充信息 // 补充信息
EmployeeActivityPlanInfoDto planInfoDto = employeeActivityPlanInfoDao.selectById(dto.getStoreId()); EmployeeActivityPlanInfoDto planInfoDto = employeeActivityPlanInfoDao.selectById(dto.getStoreId());
......
...@@ -103,6 +103,5 @@ public class TemporaryActivityClockQueryServiceImpl implements TemporaryActivity ...@@ -103,6 +103,5 @@ public class TemporaryActivityClockQueryServiceImpl implements TemporaryActivity
temporaryClockDto.setClockOutPhotoUpdateTime(clockOutPhotoDto.getUpdateTime()); temporaryClockDto.setClockOutPhotoUpdateTime(clockOutPhotoDto.getUpdateTime());
} }
log.info("查询打卡记录{}的所有图片:{}", temporaryClockDto.getId(), photoGroup);
} }
} }
...@@ -259,6 +259,5 @@ public class TemporaryActivityCoreServiceImpl implements TemporaryActivityCoreSe ...@@ -259,6 +259,5 @@ public class TemporaryActivityCoreServiceImpl implements TemporaryActivityCoreSe
if (!CollectionUtils.isEmpty(temActDto.getPsvPhotoUrls())) { if (!CollectionUtils.isEmpty(temActDto.getPsvPhotoUrls())) {
tempActivityPhotoDao.saveReportedList(temporaryId, reportedId, ActivityPhotoType.POS_SELL_VOUCHER.getType(), temActDto.getPsvPhotoUrls(), temActDto.getPsvChangePhotoUrls()); tempActivityPhotoDao.saveReportedList(temporaryId, reportedId, ActivityPhotoType.POS_SELL_VOUCHER.getType(), temActDto.getPsvPhotoUrls(), temActDto.getPsvChangePhotoUrls());
} }
log.info("促销员今日活动上报-图片保存成功,关联活动上报数据id[{}],数据信息:{}", temActDto.getId(), temActDto);
} }
} }
...@@ -29,7 +29,6 @@ public class PromotionServiceImpl implements PromotionService { ...@@ -29,7 +29,6 @@ public class PromotionServiceImpl implements PromotionService {
Integer userCount = userInfoDao.findUserByUserName(userLoginParam.getLoginName()); Integer userCount = userInfoDao.findUserByUserName(userLoginParam.getLoginName());
if (1 == userCount){ if (1 == userCount){
// 生成登录信息 // 生成登录信息
log.info("生成登录信息:{}",userLoginParam.getLoginName());
return; return;
} }
throw new ParamException(RCode.LOGIN_PARAM_ERROR,null); throw new ParamException(RCode.LOGIN_PARAM_ERROR,null);
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论