瀏覽代碼

modify:

1. 短信发送地址格式化;
tags/24101601
WendyYang 2 月之前
父節點
當前提交
e171a13dd7
共有 2 個文件被更改,包括 8 次插入2 次删除
  1. +1
    -1
      hz-pm-api/src/main/java/com/hz/pm/api/meeting/entity/dto/MeetingBasicDTO.java
  2. +7
    -1
      hz-pm-api/src/main/java/com/hz/pm/api/meeting/helper/MeetingNotifyHelper.java

+ 1
- 1
hz-pm-api/src/main/java/com/hz/pm/api/meeting/entity/dto/MeetingBasicDTO.java 查看文件

@@ -53,7 +53,7 @@ public class MeetingBasicDTO {
@ApiModelProperty("评审地点")
private String meetingAddress;

@Length(max = 200, message = "评审详细地址超出限制")
@Length(min = 1, max = 200, message = "评审详细地址超出限制")
@ApiModelProperty("评审详细地址")
private String meetingAddressDetail;



+ 7
- 1
hz-pm-api/src/main/java/com/hz/pm/api/meeting/helper/MeetingNotifyHelper.java 查看文件

@@ -132,7 +132,13 @@ public class MeetingNotifyHelper {
String meetingTime = sTime + "至" + eTime;
List<Notify> notifies = new ArrayList<>();
List<WorkNoticeInfo> workingNotices = new ArrayList<>();
String meetingAddress = meeting.getMeetingAddress() + " " + meeting.getMeetingAddressDetail();
String meetingAddressDetail = meeting.getMeetingAddressDetail();
String meetingAddress;
if (StrUtil.isNotBlank(meetingAddressDetail)) {
meetingAddress = meeting.getMeetingAddress() + " " + meetingAddressDetail;
} else {
meetingAddress = meeting.getMeetingAddress();
}
experts.forEach(w -> {
String msgContent = String.format(MeetingMsgTemplateConst.CONFIRMED_ROSTER,
w.getExpertName(), officialTime(w.getCreateOn()), meetingTime, meetingAddress,


Loading…
取消
儲存