KKSU
2024-05-07 ba8210ea5d7e2088f5e604f048c8c08b82606a8d
src/main/resources/mapper/dapp/DappHdRecordMapper.xml
@@ -21,6 +21,17 @@
         *
      FROM
         dapp_hd_record
      <where>
         <if test="record != null">
            <if test="record.startTime != null and record.startTime != ''">
               and create_time &gt;= #{record.startTime}
            </if>
            <if test="record.endTime != null and record.endTime != ''">
               and create_time &lt;= #{record.endTime}
            </if>
         </if>
      </where>
         order by CREATE_TIME desc
    </select>