Explorar o código

Merge remote-tracking branch 'upstream/master'

hsh hai 1 ano
pai
achega
e56e537462

+ 2 - 2
src/main/java/thyyxxk/webserver/dao/his/medicalinsurance/SiMzDao.java

@@ -30,8 +30,8 @@ public interface SiMzDao {
     PsnBaseInfo selectPsnBaseinfo(@Param("patNo") String patNo,
                                 @Param("times") int times);
 
-    @Select("SELECT rtrim(a.patient_id) as patientId,a.times,a.visit_dept_code,b.adress,b.phone_no, " +
-            "b.name,b.age,sex=case when b.sex='1' then '男' when b.sex='2' then '女' else '未知' end, " +
+    @Select("SELECT rtrim(a.patient_id) as patientId,a.times,a.visit_dept_code,b.adress,rtrim(b.phone_no) as phoneNo, " +
+            "rtrim(b.name) as name,b.age,sex=case when b.sex='1' then '男' when b.sex='2' then '女' else '未知' end, " +
             "visitDeptName=(select rtrim(name) from zd_unit_code where code=a.visit_dept_code), " +
             "a.doctor_code,a.visit_date,a.receipt_no,a.order_no,a.op_day, " +
             "doctorName=(select rtrim(name) from a_employee_mi where code=a.doctor_code), " +