Commit 4088126363b2da1d5c406c9d574cda6f2ebcf7e7

Authored by cfl
1 parent d41b63d433
Exists in master and in 2 other branches dev, luanping

模板消息维护增加minContent字段

Showing 2 changed files with 12 additions and 0 deletions

platform-operate-api/src/main/java/com/lyms/platform/operate/web/facade/SmsTemplateFacade.java View file @ 4088126
... ... @@ -166,6 +166,7 @@
166 166 result.setId(model.getId());
167 167  
168 168 result.setContent(model.getContent());
  169 + result.setMinContent(model.getMinContent());
169 170  
170 171 if (model.getSendFrequency() != null)
171 172 {
... ... @@ -257,6 +258,7 @@
257 258  
258 259 result.put("serviceStatusName", ServiceStatusEnums.getNameById(temp.getServiceStatus()));
259 260 result.put("content", temp.getContent());
  261 + result.put("minContent",temp.getMinContent());
260 262  
261 263 String str = "一次 预约"+((temp.getTemplateType() == null || temp.getTemplateType() == 0 ) ? "推送" : "短信");
262 264 if (temp.getSmsType() != null && temp.getSmsType() != SmsServiceEnums.CJYYTX.getId()
platform-operate-api/src/main/java/com/lyms/platform/operate/web/result/SmsTemplateResult.java View file @ 4088126
... ... @@ -43,6 +43,8 @@
43 43 //内容
44 44 private String content;
45 45  
  46 + private String minContent;
  47 +
46 48 //医院id
47 49 private String hospitalId;
48 50  
... ... @@ -181,6 +183,14 @@
181 183  
182 184 public void setContent(String content) {
183 185 this.content = content;
  186 + }
  187 +
  188 + public String getMinContent() {
  189 + return minContent;
  190 + }
  191 +
  192 + public void setMinContent(String minContent) {
  193 + this.minContent = minContent;
184 194 }
185 195  
186 196 public String getHospitalId() {