|
|
|
@ -49,10 +49,10 @@ |
|
|
|
epdc_points_rule r, (select @i:=0) as it |
|
|
|
WHERE r.DEL_FLAG = 0 |
|
|
|
<if test="ruleCode != null and ruleCode != ''"> |
|
|
|
AND r.RULE_CODE LIKE concat('%',#{ruleCode},'%') |
|
|
|
AND instr(r.RULE_CODE , #{ruleCode} ) > 0 |
|
|
|
</if> |
|
|
|
<if test="ruleDesc != null and ruleDesc != ''"> |
|
|
|
AND r.RULE_DESC LIKE concat('%',#{ruleDesc},'%') |
|
|
|
AND instr(r.RULE_DESC , #{ruleDesc} ) > 0 |
|
|
|
</if> |
|
|
|
<if test="operationType != null and operationType != ''"> |
|
|
|
AND r.OPERATION_TYPE = #{operationType} |
|
|
|
@ -63,4 +63,4 @@ |
|
|
|
ORDER BY |
|
|
|
CREATED_TIME DESC |
|
|
|
</select> |
|
|
|
</mapper> |
|
|
|
</mapper> |
|
|
|
|