| | |
| | | <if test="smsRecord.phone!=null and smsRecord.phone!=''"> |
| | | and phone like concat(concat('%',#{smsRecord.phone}),'%') |
| | | </if> |
| | | <if test="smsRecord.content!=null and smsRecord.content!=''"> |
| | | and content like concat(concat('%',#{smsRecord.content}),'%') |
| | | </if> |
| | | <if test="smsRecord.templateId!=null and smsRecord.templateId!=''"> |
| | | and template_id like concat(concat('%',#{smsRecord.templateId}),'%') |
| | | </if> |
| | | order by id desc |
| | | </select> |
| | | |
| | | </mapper> |
| | |
| | | <!--自定义分页列表查询--> |
| | | <select id="selectSmsResultPage" resultType="cn.gistack.sm.sms.vo.SmsResultVO"> |
| | | select * from sm_sms_result where 1=1 and is_deleted = 0 |
| | | order by id desc |
| | | </select> |
| | | |
| | | </mapper> |