Commit e662e360c70c53fc342ee6d3db485866615d8782

Authored by shiyang
1 parent 00901f8a90
Exists in master and in 1 other branch dev

his患者上传默认给4张问诊卡,修复关注患者问题

Showing 2 changed files with 3 additions and 3 deletions

talkonlineweb/src/main/java/com/lyms/talkonlineweb/controller/PatientController.java View file @ e662e36
... ... @@ -979,7 +979,7 @@
979 979 Iterator<Map> iterator = result.iterator();
980 980 while (iterator .hasNext()) {
981 981 Map map= iterator.next();
982   - if(map.get("id")==patient.getId()){
  982 + if(map.get("id").equals(patient.getId())){
983 983 iterator.remove();
984 984 continue;
985 985 }
talkonlineweb/src/main/java/com/lyms/talkonlineweb/service/impl/LymsHisInfoServiceImpl.java View file @ e662e36
... ... @@ -269,8 +269,8 @@
269 269 }
270 270  
271 271 Date instDate = new Date();
272   - //需要添加医院购买卡记录(his患者上传默认给10张问诊卡)
273   - patient.setCcnt(10);
  272 + //需要添加医院购买卡记录(his患者上传默认给4张问诊卡)
  273 + patient.setCcnt(4);
274 274 for (int i = 0; i < patient.getCcnt() && Objects.nonNull(patient.getCcnt()); i++) {
275 275 LymsTcard tcard = new LymsTcard();
276 276 tcard.setCnt(1);