|
@@ -147,17 +147,17 @@
|
|
|
AND le.is_deleted = 'N'
|
|
|
AND ru.concept_id = co.`id`
|
|
|
AND co.lib_type = le.`code`
|
|
|
- <if test="description!=null and description!=''">
|
|
|
- AND UPPER(ru.description) LIKE CONCAT('%', UPPER(trim(#{description})), '%')
|
|
|
+ <if test="parDescription!=null and parDescription!=''">
|
|
|
+ AND UPPER(ru.description) LIKE CONCAT('%', UPPER(trim(#{parDescription})), '%')
|
|
|
</if>
|
|
|
- <if test="ruleType !=null">
|
|
|
- AND ru.rule_type = #{ruleType}
|
|
|
+ <if test="parRuleType !=null">
|
|
|
+ AND ru.rule_type = #{parRuleType}
|
|
|
</if>
|
|
|
- <if test="conceptName!=null and conceptName!=''">
|
|
|
- AND UPPER(co.lib_name) LIKE CONCAT('%', UPPER(trim(#{conceptName})), '%')
|
|
|
+ <if test="parConceptName!=null and parConceptName!=''">
|
|
|
+ AND UPPER(co.lib_name) LIKE CONCAT('%', UPPER(trim(#{parConceptName})), '%')
|
|
|
</if>
|
|
|
<if test="status!=null">
|
|
|
- AND ru.status = #{status}
|
|
|
+ AND ru.status = #{parStatus}
|
|
|
</if>
|
|
|
ORDER BY ru.gmt_modified DESC
|
|
|
</select>
|