陈昶聿
6 天以前 0d5a84d599cbfbd77b5663e592603f938b54409e
ruoyi-system/src/main/resources/mapper/system/SmsRecordsMapper.xml
@@ -69,8 +69,9 @@
    <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>
@@ -92,9 +93,9 @@
            <if test="isupload != null ">and isupload = #{isupload}</if>
            <if test="uploadTime != null ">and upload_time = #{uploadTime}</if>
            <if test="visitTime != null ">and date_format(visit_time,'%y%m%d') =
                date_format(#{visitTime},'%y%m%d')
                AND date_format(#{visitTime},'%y%m%d')
            </if>
        </where>
    </select>
    <select id="selectSmsRecordsByRecordid" parameterType="Long" resultMap="SmsRecordsResult">