Commit f4cb7d0959cbb515e3166d552755f0fa9817a602

Authored by liquanyu
1 parent d045a378a5

优惠券发送

Showing 1 changed file with 5 additions and 1 deletions

platform-operate-api/src/main/java/com/lyms/platform/operate/web/facade/PatientFacade.java View file @ f4cb7d0
... ... @@ -3218,9 +3218,13 @@
3218 3218 continue;
3219 3219 }
3220 3220  
  3221 +
  3222 + String hospitalId = patient.getHospitalId();
  3223 + Organization org = organizationService.getOrganization(Integer.parseInt(hospitalId));
  3224 +
3221 3225 List<MsgRequest> messages = new ArrayList<>();
3222 3226 MsgRequest mr = new MsgRequest();
3223   - mr.setFirst("您还有"+count+"张优惠券未使用,去医院产检时,记得同时使用,主动把优惠券出示给医护人员!");
  3227 + mr.setFirst("【"+org.getName()+"】您还有"+count+"张优惠券未使用,去医院产检时,记得同时使用,主动把优惠券出示给医护人员!");
3224 3228 mr.setObjType(ServiceObjEnums.YUNOBJ.getId());
3225 3229 mr.setPhone(patient.getPhone());
3226 3230