|
|
@ -80,7 +80,8 @@ |
|
|
|
FROM |
|
|
|
t_qcp_first_aid |
|
|
|
WHERE |
|
|
|
1=1 |
|
|
|
hospital_id = #{hospitalId} |
|
|
|
AND value_type = 0 |
|
|
|
<if test="param.dataStatus != null"> and data_status = #{param.dataStatus}</if> |
|
|
|
<if test="param.name!=null and param.name!=''"> |
|
|
|
AND `name` LIKE concat('%',#{param.name},'%') |
|
|
@ -89,7 +90,6 @@ |
|
|
|
AND idcard LIKE concat('%',#{param.idcard},'%') |
|
|
|
</if> |
|
|
|
AND rec_status = 0 |
|
|
|
AND hospital_id = #{hospitalId} |
|
|
|
<foreach collection="templates" item="id" open="AND type in (" close=")" separator=","> |
|
|
|
#{id} |
|
|
|
</foreach> |
|
|
|