smartor/src/main/resources/mapper/smartor/PatArchiveMapper.xml
@@ -891,6 +891,8 @@ <if test="endtime != null"> AND d.endtime = #{endtime} </if> <if test="cry != null and cry == 0 ">and d.endtime is null</if> <if test="cry != null and cry == 1 ">and d.endtime is not null</if> <if test="visitno != null and visitno != ''"> AND d.inhospno = #{visitno} </if> @@ -950,8 +952,8 @@ a.place_of_residence, a.birthplace, a.birthdate, a.icd10code as leaveicd10code, a.diagname as leavediagname, -- a.icd10code as leaveicd10code, -- a.diagname as leavediagname, a.age, a.age2, a.viptype,