KKSU
2024-04-16 1d5cc4be0aa420166be9d0d180c8d9d41c8fc566
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>