Browse Source

活动报名 去掉 上传banner功能

feature/syp_points
zhangyongzhangyong 5 years ago
parent
commit
eb7ec3bdbd
  1. 4
      esua-epdc/epdc-module/epdc-heart/epdc-heart-server/src/main/java/com/elink/esua/epdc/modules/activity/service/impl/ActInfoServiceImpl.java

4
esua-epdc/epdc-module/epdc-heart/epdc-heart-server/src/main/java/com/elink/esua/epdc/modules/activity/service/impl/ActInfoServiceImpl.java

@ -128,10 +128,6 @@ public class ActInfoServiceImpl extends BaseServiceImpl<ActInfoDao, ActInfoEntit
public Result save(ActInfoDTO dto) {
ActInfoEntity entity = ConvertUtils.sourceToTarget(dto, ActInfoEntity.class);
if (insert(entity)) {
if (NumConstant.ONE_STR.equals(dto.getIsBanner())) {
// 保存到banner
this.saveActInfoToBanner(entity.getId(), dto);
}
// 创建定时任务(活动开始后将未审核的报名人员自动置为审核通过或不通过)
return this.saveActToScheduleJob(entity.getId(), dto.getActStartTime());
}

Loading…
Cancel
Save