smartor/src/main/resources/mapper/smartor/PatMedInhospMapper.xml
@@ -396,7 +396,7 @@ <if test="orgid != null and orgid != ''"> and orgid = #{orgid} </if> <if test="serialnum != null "> <if test="serialnum != null and serialnum != ''"> and b.serialnum = #{serialnum} </if> order by b.inhospid desc