Commit cec4cf9cf8ff4f2617a771ce2b5bfe9761d2531f

Authored by haorp
1 parent e7a675a3cb
Exists in dev

产妇建档

Showing 2 changed files with 11 additions and 6 deletions

platform-biz-service/src/main/resources/mainOrm/master/AppointmentMapper.xml View file @ cec4cf9
... ... @@ -181,7 +181,12 @@
181 181 BABY_GENDER as babyGender,
182 182 MATN_HISTORY as matnHistory,
183 183 MODIFIED,
184   - CREATED
  184 + CREATED,
  185 + main_doctor,
  186 + mdtrt_tag,
  187 + height,
  188 + weight,
  189 + patientsType
185 190 FROM medical_record
186 191 WHERE 1=1
187 192  
... ... @@ -235,8 +240,8 @@
235 240 AND DIAGNOSIS_CODE = #{diagnosisCode}
236 241 </if>
237 242  
238   - <if test="operation != null and operation != ''">
239   - AND OPERATION = #{operation}
  243 + <if test="patientsType != null and patientsType != ''">
  244 + AND patients_type = #{patientsType}
240 245 </if>
241 246  
242 247 <if test="operationCode != null and operationCode != ''">
... ... @@ -283,8 +288,8 @@
283 288 <if test="name != null and name != ''">
284 289 NAME = #{name},
285 290 </if>
286   - <if test="age != null">
287   - AGE = #{age},
  291 + <if test="patientsType != null and patientsType != ''">
  292 + patients_type = #{patientsType},
288 293 </if>
289 294 <if test="phone != null and phone != ''">
290 295 PHONE = #{phone},
platform-operate-api/src/main/java/com/lyms/platform/operate/web/facade/MedicalRecordFacade.java View file @ cec4cf9
... ... @@ -50,7 +50,7 @@
50 50 if("0".equals(recordVo.getPatientsType())){
51 51 recordVo.setPatientsType("已建档");
52 52 }else{
53   - recordVo.setPatientsType("建档");
  53 + recordVo.setPatientsType("建档");
54 54 }
55 55 }
56 56 PageInfo pageInfo = new PageInfo();