| | |
| | | <if test="categoryid != null ">and a.categoryid = #{categoryid}</if> |
| | | <if test="svyid != null ">and a.svyid = #{svyid}</if> |
| | | <if test="svyname != null and svyname != ''">and a.svyname like concat('%', #{svyname}, '%')</if> |
| | | <if test="description != null and description != ''">and a.icdname like concat('%', #{description}, '%') |
| | | <if test="description != null and description != ''">and b.icd10name like concat('%', #{description}, '%') |
| | | </if> |
| | | </where> |
| | | order by a.create_time desc |
| | | </select> |
| | | |
| | | <select id="selectSvyLibTemplateBySvyid" parameterType="Long" resultMap="SvyLibTemplateResult"> |