| | |
| | | and sst.content like concat('%',#{smsResult.templateContent},'%') |
| | | </if> |
| | | <if test="smsResult.startTime!=null and smsResult.startTime!=''"> |
| | | and date_format(ssr.create_time,'%Y-%m-%d') >= #{smsResult.startTime} |
| | | and ssr.create_time >= #{smsResult.startTime} |
| | | </if> |
| | | <if test="smsResult.endTime!=null and smsResult.endTime!=''"> |
| | | and date_format(ssr.create_time,'%Y-%m-%d') <= #{smsResult.endTime} |
| | | and ssr.create_time <= #{smsResult.endTime} |
| | | </if> |
| | | <if test="smsResult.smsType!=null and smsResult.smsType!=''"> |
| | | and sst.sms_type = #{smsResult.smsType} |