修改记录查询时间
This commit is contained in:
parent
1605462870
commit
79d1cf9c31
@ -45,6 +45,9 @@ public class PhoneDialRecordServiceImpl implements IPhoneDialRecordService {
|
|||||||
*/
|
*/
|
||||||
@Override
|
@Override
|
||||||
public List<BillPhoneDialVo> selectPhoneDialRecordList(BillPhoneDialVo phoneDialRecord) {
|
public List<BillPhoneDialVo> selectPhoneDialRecordList(BillPhoneDialVo phoneDialRecord) {
|
||||||
|
if (Objects.nonNull(phoneDialRecord.getDialTimeEnd())){
|
||||||
|
phoneDialRecord.setDialTimeEnd(phoneDialRecord.getDialTimeEnd().plusDays(1));
|
||||||
|
}
|
||||||
return phoneDialRecordMapper.selectPhoneDialRecords(phoneDialRecord);
|
return phoneDialRecordMapper.selectPhoneDialRecords(phoneDialRecord);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@ -45,6 +45,9 @@ public class ShortMessageSendRecordServiceImpl implements IShortMessageSendRecor
|
|||||||
*/
|
*/
|
||||||
@Override
|
@Override
|
||||||
public List<ShortMessageSendRecordVo> selectShortMessageSendRecordList(ShortMessageSendRecordVo shortMessageSendRecord) {
|
public List<ShortMessageSendRecordVo> selectShortMessageSendRecordList(ShortMessageSendRecordVo shortMessageSendRecord) {
|
||||||
|
if (Objects.nonNull(shortMessageSendRecord.getSendTimeEnd())){
|
||||||
|
shortMessageSendRecord.setSendTimeEnd(shortMessageSendRecord.getSendTimeEnd().plusDays(1));
|
||||||
|
}
|
||||||
return shortMessageSendRecordMapper.selectShortMessageSendRecords(shortMessageSendRecord);
|
return shortMessageSendRecordMapper.selectShortMessageSendRecords(shortMessageSendRecord);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@ -136,7 +136,7 @@
|
|||||||
</if>
|
</if>
|
||||||
<if test="dialTimeStart != null and dialTimeEnd != null">
|
<if test="dialTimeStart != null and dialTimeEnd != null">
|
||||||
and record.dial_time >= #{dialTimeStart}
|
and record.dial_time >= #{dialTimeStart}
|
||||||
and record.dial_time <= #{dialTimeEnd}
|
and record.dial_time < #{dialTimeEnd}
|
||||||
</if>
|
</if>
|
||||||
<if test="phoneTemplateId != null and phoneTemplateId != ''">
|
<if test="phoneTemplateId != null and phoneTemplateId != ''">
|
||||||
and record.phone_template_id = #{phoneTemplateId}
|
and record.phone_template_id = #{phoneTemplateId}
|
||||||
|
|||||||
@ -130,7 +130,7 @@
|
|||||||
</if>
|
</if>
|
||||||
<if test="sendTimeStart != null and sendTimeEnd != null">
|
<if test="sendTimeStart != null and sendTimeEnd != null">
|
||||||
and record.send_time >= #{sendTimeStart}
|
and record.send_time >= #{sendTimeStart}
|
||||||
and record.send_time <= #{sendTimeEnd}
|
and record.send_time < #{sendTimeEnd}
|
||||||
</if>
|
</if>
|
||||||
<if test="messageTemplateId != null">
|
<if test="messageTemplateId != null">
|
||||||
and record.message_template_id = #{messageTemplateId}
|
and record.message_template_id = #{messageTemplateId}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user