|
|
@@ -1,9 +1,11 @@
|
|
|
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.extension.plugins.pagination.Page;
|
|
|
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
|
|
|
import com.sqx.common.sms.SmsSendResult;
|
|
|
+import com.sqx.common.utils.Constant;
|
|
|
import com.sqx.common.utils.PageUtils;
|
|
|
import com.sqx.modules.errand.IndentSmsSendLogVO;
|
|
|
import com.sqx.modules.errand.dao.TbIndentSmsSendLogDao;
|
|
|
@@ -39,4 +41,11 @@ public class TbIndentSmsSendLogServiceImpl extends ServiceImpl<TbIndentSmsSendLo
|
|
|
|
|
|
save(log);
|
|
|
}
|
|
|
+
|
|
|
+ @Override
|
|
|
+ public int countOfSendSuccess() {
|
|
|
+ LambdaQueryWrapper<TbIndentSmsSendLog> queryWrapper = new LambdaQueryWrapper<>();
|
|
|
+ queryWrapper.eq(TbIndentSmsSendLog::getSuccessFlag, Constant.YES);
|
|
|
+ return this.count(queryWrapper);
|
|
|
+ }
|
|
|
}
|