监测平台系统bug优化处理
parent
69d73d1afc
commit
8e141b9607
@ -0,0 +1,25 @@
|
||||
package com.ruoyi.business.controller;
|
||||
|
||||
import com.ruoyi.business.domain.HwOfflineRule;
|
||||
import com.ruoyi.business.service.HwOfflineRuleService;
|
||||
import com.ruoyi.common.core.web.controller.BaseController;
|
||||
import com.ruoyi.common.core.web.page.TableDataInfo;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.web.bind.annotation.*;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
@RestController
|
||||
@RequestMapping("/offlineRule")
|
||||
public class HwOfflineRuleController extends BaseController {
|
||||
|
||||
@Autowired
|
||||
private HwOfflineRuleService hwOfflineRuleService;
|
||||
|
||||
@GetMapping("list")
|
||||
public TableDataInfo list(HwOfflineRule hwOfflineRule){
|
||||
startPage();
|
||||
List<HwOfflineRule> hwOfflineRules = hwOfflineRuleService.selectRuleList(hwOfflineRule);
|
||||
return getDataTable(hwOfflineRules);
|
||||
}
|
||||
}
|
@ -0,0 +1,12 @@
|
||||
package com.ruoyi.business.mapper;
|
||||
|
||||
import com.ruoyi.business.domain.HwOfflineRule;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
public interface HwOfflineRuleMapper {
|
||||
|
||||
List<HwOfflineRule> selectHwOfflineRuleJoinList(HwOfflineRule hwOfflineRule);
|
||||
|
||||
|
||||
}
|
@ -0,0 +1,9 @@
|
||||
package com.ruoyi.business.service;
|
||||
|
||||
import com.ruoyi.business.domain.HwOfflineRule;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
public interface HwOfflineRuleService {
|
||||
List<HwOfflineRule> selectRuleList(HwOfflineRule hwOfflineRule);
|
||||
}
|
Loading…
Reference in New Issue