Jelajahi Sumber

修改分页问题

Administrator 1 tahun lalu
induk
melakukan
6468d8f10a

+ 3 - 3
ruoyi-admin/src/main/java/com/ruoyi/web/controller/common/SendSmsController.java

@@ -25,7 +25,7 @@ public class SendSmsController {
     @Autowired
     private IInvestigateUserService investigateUserService;
     @Autowired
-    private IInvestigateTableService iInvestigateTableService;
+    private IInvestigateTableService investigateTableService;
 
     /**
      * 给对应考察团发送密码短信
@@ -48,7 +48,7 @@ public class SendSmsController {
     public AjaxResult investigateTableNotice(InvestigateTable investigateTable) {
         Long investigateTableId = investigateTable.getInvestigateTableId();
         List<InvestigateUser> investigateUserList = investigateTable.getInvestigateUserList();
-        iInvestigateTableService.sendBatchSmsTable(investigateTableId, investigateUserList);
+        investigateTableService.sendBatchSmsTable(investigateTableId, investigateUserList);
         return AjaxResult.success();
     }
 
@@ -62,7 +62,7 @@ public class SendSmsController {
     public AjaxResult sendBatchSmsTableUpdate(InvestigateTable investigateTable) {
         Long investigateTableId = investigateTable.getInvestigateTableId();
         List<InvestigateUser> investigateUserList = investigateTable.getInvestigateUserList();
-        iInvestigateTableService.sendBatchSmsTableUpdate(investigateTableId, investigateUserList);
+        investigateTableService.sendBatchSmsTableUpdate(investigateTableId, investigateUserList);
         return AjaxResult.success();
     }
 }

+ 0 - 7
ruoyi-system/src/main/java/com/ruoyi/system/service/impl/InvestigateTableServiceImpl.java

@@ -13,15 +13,11 @@ import com.aliyun.dysmsapi20170525.models.SendBatchSmsResponse;
 import com.github.pagehelper.PageInfo;
 import com.ruoyi.common.config.RuoYiConfig;
 import com.ruoyi.common.constant.HttpStatus;
-import com.ruoyi.common.core.domain.AjaxResult;
-import com.ruoyi.common.core.domain.entity.InvestigateDisposition;
 import com.ruoyi.common.core.page.TableDataInfo;
 import com.ruoyi.common.utils.DateUtils;
-import com.ruoyi.common.utils.PageUtils;
 import com.ruoyi.common.utils.SendSmsUtils;
 import com.ruoyi.common.utils.StringUtils;
 import com.ruoyi.common.utils.file.FileUploadUtils;
-import com.ruoyi.common.utils.file.FileUtils;
 import com.ruoyi.system.domain.InvestigateDispositionTable;
 import com.ruoyi.system.domain.InvestigateUser;
 import com.ruoyi.system.mapper.InvestigateDispositionMapper;
@@ -50,9 +46,6 @@ public class InvestigateTableServiceImpl implements IInvestigateTableService {
     @Autowired
     private InvestigateUserMapper investigateUserMapper;
 
-    @Autowired
-    private InvestigateDispositionMapper investigateDispositionMapper;
-
     /**
      * 查询考察主
      *