KKSU
2024-04-18 3cd3b259d39993fd5c1e216675e8881be5bc1a56
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>