Browse Source

文案修改

feature/syp_points
zhangyongzhangyong 5 years ago
parent
commit
9c3f8c9f17
  1. 4
      esua-epdc/epdc-module/epdc-party-group/epdc-party-group-server/src/main/java/com/elink/esua/epdc/service/impl/PartyGroupGuideServiceImpl.java

4
esua-epdc/epdc-module/epdc-party-group/epdc-party-group-server/src/main/java/com/elink/esua/epdc/service/impl/PartyGroupGuideServiceImpl.java

@ -97,7 +97,7 @@ public class PartyGroupGuideServiceImpl extends BaseServiceImpl<PartyGroupGuideD
// 判断是否插入
StringBuffer partyGroupName = this.partyGroupOpertionLimit(dto);
if (null != partyGroupName && partyGroupName.length() > 0){
return new Result().error("[" + partyGroupName + "]在" + DayOfWeekEnum.getEnumByKey(dto.getDayOfWeek()) + "已存在党群指南");
return new Result().error("[" + partyGroupName + "]已存在" + DayOfWeekEnum.getEnumByKey(dto.getDayOfWeek()) + "显示的党群指南");
}
// 保存到党群指南表
PartyGroupGuideEntity entity = ConvertUtils.sourceToTarget(dto, PartyGroupGuideEntity.class);
@ -118,7 +118,7 @@ public class PartyGroupGuideServiceImpl extends BaseServiceImpl<PartyGroupGuideD
if (null != partyGroupName && partyGroupName.length() > 0){
// 如果存在,则恢复 党群指南关联关系
partyGroupGuideRelationService.deleteAllPartyGroupGuideRelation(dto.getId(), NumConstant.ZERO_STR);
return new Result().error("[" + partyGroupName + "]在" + DayOfWeekEnum.getEnumByKey(dto.getDayOfWeek()) + "已存在党群指南");
return new Result().error("[" + partyGroupName + "]已存在" + DayOfWeekEnum.getEnumByKey(dto.getDayOfWeek()) + "显示的党群指南");
}
// 修改党群指南表
PartyGroupGuideEntity entity = ConvertUtils.sourceToTarget(dto, PartyGroupGuideEntity.class);

Loading…
Cancel
Save