|
@@ -1,14 +1,13 @@
|
|
|
package com.sqx.modules.errand.service.impl;
|
|
package com.sqx.modules.errand.service.impl;
|
|
|
|
|
|
|
|
-import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
|
|
|
|
|
import com.baomidou.mybatisplus.core.metadata.IPage;
|
|
import com.baomidou.mybatisplus.core.metadata.IPage;
|
|
|
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
|
|
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
|
|
|
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
|
|
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
|
|
|
import com.sqx.common.sms.SmsSendResult;
|
|
import com.sqx.common.sms.SmsSendResult;
|
|
|
-import com.sqx.common.utils.Constant;
|
|
|
|
|
import com.sqx.common.utils.PageUtils;
|
|
import com.sqx.common.utils.PageUtils;
|
|
|
import com.sqx.modules.errand.IndentSmsSendLogVO;
|
|
import com.sqx.modules.errand.IndentSmsSendLogVO;
|
|
|
import com.sqx.modules.errand.dao.TbIndentSmsSendLogDao;
|
|
import com.sqx.modules.errand.dao.TbIndentSmsSendLogDao;
|
|
|
|
|
+import com.sqx.modules.errand.dto.SmsCountQueryDTO;
|
|
|
import com.sqx.modules.errand.dto.SmsLogQueryDTO;
|
|
import com.sqx.modules.errand.dto.SmsLogQueryDTO;
|
|
|
import com.sqx.modules.errand.entity.TbIndentSmsSendLog;
|
|
import com.sqx.modules.errand.entity.TbIndentSmsSendLog;
|
|
|
import com.sqx.modules.errand.service.TbIndentSmsSendLogService;
|
|
import com.sqx.modules.errand.service.TbIndentSmsSendLogService;
|
|
@@ -43,9 +42,7 @@ public class TbIndentSmsSendLogServiceImpl extends ServiceImpl<TbIndentSmsSendLo
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
@Override
|
|
@Override
|
|
|
- public int countOfSendSuccess() {
|
|
|
|
|
- LambdaQueryWrapper<TbIndentSmsSendLog> queryWrapper = new LambdaQueryWrapper<>();
|
|
|
|
|
- queryWrapper.eq(TbIndentSmsSendLog::getSuccessFlag, Constant.YES);
|
|
|
|
|
- return this.count(queryWrapper);
|
|
|
|
|
|
|
+ public int countOfSendSuccess(SmsCountQueryDTO queryDTO) {
|
|
|
|
|
+ return baseMapper.countOfSendSuccess(queryDTO);
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|