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 >= #{record.startTime} </if> <if test="record.endTime != null and record.endTime != ''"> and create_time <= #{record.endTime} </if> </if> </where> order by CREATE_TIME desc </select>