| | |
| | | |
| | | <select id="selectSmsRecordsList" parameterType="com.ruoyi.system.domain.SmsRecords" resultMap="SmsRecordsResult"> |
| | | <include refid="selectSmsRecordsVo"/> |
| | | <where> |
| | | del_flag=0 |
| | | where 1=1 |
| | | and del_flag = 0 |
| | | <if test="userid != null and userid != ''">and userid = #{userid}</if> |
| | | <if test="username != null and username != ''">and username like concat('%', #{username}, '%')</if> |
| | | <if test="phone != null and phone != ''">and phone = #{phone}</if> |
| | |
| | | <if test="visitTime != null ">and date_format(visit_time,'%y%m%d') = |
| | | date_format(#{visitTime},'%y%m%d') |
| | | </if> |
| | | </where> |
| | | </select> |
| | | |
| | | <select id="selectSmsRecordsByRecordid" parameterType="Long" resultMap="SmsRecordsResult"> |