修改记录查询时间
This commit is contained in:
parent
3a8cdfc752
commit
1605462870
@ -136,7 +136,7 @@
|
||||
</if>
|
||||
<if test="dialTimeStart != null and dialTimeEnd != null">
|
||||
and record.dial_time >= #{dialTimeStart}
|
||||
and record.dial_time < #{dialTimeEnd}
|
||||
and record.dial_time <= #{dialTimeEnd}
|
||||
</if>
|
||||
<if test="phoneTemplateId != null and phoneTemplateId != ''">
|
||||
and record.phone_template_id = #{phoneTemplateId}
|
||||
|
||||
@ -130,7 +130,7 @@
|
||||
</if>
|
||||
<if test="sendTimeStart != null and sendTimeEnd != null">
|
||||
and record.send_time >= #{sendTimeStart}
|
||||
and record.send_time < #{sendTimeEnd}
|
||||
and record.send_time <= #{sendTimeEnd}
|
||||
</if>
|
||||
<if test="messageTemplateId != null">
|
||||
and record.message_template_id = #{messageTemplateId}
|
||||
|
||||
@ -71,7 +71,7 @@ public class SendTextMessageController {
|
||||
if (Objects.isNull(signPatientManageRoute.getId())){
|
||||
return retObj;
|
||||
}
|
||||
BigDecimal price = BigDecimal.valueOf(0.00);
|
||||
BigDecimal price = null;
|
||||
List<SysDictData> sysDictDataList = iSysDictTypeService.selectDictDataByType("unit_price");
|
||||
if (CollectionUtils.isNotEmpty(sysDictDataList)){
|
||||
SysDictData message = sysDictDataList.stream().filter(Objects::nonNull).filter(item -> item.getDictLabel().equals("message")).findFirst().orElse(new SysDictData());
|
||||
|
||||
@ -286,6 +286,8 @@ public class SendTextMessageServiceImpl implements SendTextMessageService {
|
||||
shortMessageSendRecord.setMessageType("COMMON");
|
||||
if (StringUtils.isNotBlank(data.getSms_size())){
|
||||
shortMessageSendRecord.setMessageQuantity(Long.valueOf(data.getSms_size()));
|
||||
}
|
||||
if (Objects.nonNull(price)){
|
||||
shortMessageSendRecord.setMessageUnitPrice(price);
|
||||
}
|
||||
shortMessageSendRecord.setCreateBy("system");
|
||||
|
||||
@ -85,7 +85,7 @@ public class SendTextMessageTask {
|
||||
log.info("短信数据缺少任务信息!");
|
||||
return;
|
||||
}
|
||||
BigDecimal price = BigDecimal.valueOf(0.00);
|
||||
BigDecimal price = null;
|
||||
List<SysDictData> sysDictDataList = iSysDictTypeService.selectDictDataByType("unit_price");
|
||||
if (CollectionUtils.isNotEmpty(sysDictDataList)){
|
||||
SysDictData message = sysDictDataList.stream().filter(Objects::nonNull).filter(item -> item.getDictLabel().equals("message")).findFirst().orElse(new SysDictData());
|
||||
|
||||
Loading…
Reference in New Issue
Block a user