smartor/src/main/resources/mapper/smartor/PatMedOuthospMapper.xml
@@ -139,6 +139,7 @@ <if test="patno != null ">and pmo.patno = #{patno}</if> <if test="outhospno != null and outhospno != ''">and pmo.outhospno = #{outhospno}</if> <if test="diagcheckFlag != null and diagcheckFlag != ''">and pmo.diagcheck_flag = #{diagcheckFlag}</if> <if test="diagname != null and diagname != ''">and pmo.diagname like concat('%',#{diagname}, '%')</if> </where> order by pmo.update_time desc </select>