|
|
@ -5,6 +5,7 @@ import com.ruoyi.common.core.domain.AjaxResult;
|
|
|
|
import com.ruoyi.common.core.page.TableDataInfo;
|
|
|
|
import com.ruoyi.common.core.page.TableDataInfo;
|
|
|
|
import com.ruoyi.common.utils.poi.ExcelUtil;
|
|
|
|
import com.ruoyi.common.utils.poi.ExcelUtil;
|
|
|
|
import com.ruoyi.tcZz.domain.TcXtjc;
|
|
|
|
import com.ruoyi.tcZz.domain.TcXtjc;
|
|
|
|
|
|
|
|
import com.ruoyi.tcZz.domain.request.TxtjcRequest;
|
|
|
|
import com.ruoyi.tcZz.service.ITcXtjcService;
|
|
|
|
import com.ruoyi.tcZz.service.ITcXtjcService;
|
|
|
|
import io.swagger.annotations.Api;
|
|
|
|
import io.swagger.annotations.Api;
|
|
|
|
import io.swagger.annotations.ApiOperation;
|
|
|
|
import io.swagger.annotations.ApiOperation;
|
|
|
@ -33,7 +34,7 @@ public class TcXtjcController extends BaseController {
|
|
|
|
*/
|
|
|
|
*/
|
|
|
|
@ApiOperation("导出系统监测列表")
|
|
|
|
@ApiOperation("导出系统监测列表")
|
|
|
|
@PostMapping("/export")
|
|
|
|
@PostMapping("/export")
|
|
|
|
public void export(HttpServletResponse response, TcXtjc tcXtjc) {
|
|
|
|
public void export(HttpServletResponse response, TxtjcRequest tcXtjc) {
|
|
|
|
List<TcXtjc> list = tcXtjcService.selectTcXtjcList(tcXtjc);
|
|
|
|
List<TcXtjc> list = tcXtjcService.selectTcXtjcList(tcXtjc);
|
|
|
|
ExcelUtil<TcXtjc> util = new ExcelUtil<TcXtjc>(TcXtjc.class);
|
|
|
|
ExcelUtil<TcXtjc> util = new ExcelUtil<TcXtjc>(TcXtjc.class);
|
|
|
|
util.exportExcel(response, list, "系统监测数据");
|
|
|
|
util.exportExcel(response, list, "系统监测数据");
|
|
|
@ -81,7 +82,7 @@ public class TcXtjcController extends BaseController {
|
|
|
|
*/
|
|
|
|
*/
|
|
|
|
@ApiOperation(value = "查询系统监测列表", response = TcXtjc.class)
|
|
|
|
@ApiOperation(value = "查询系统监测列表", response = TcXtjc.class)
|
|
|
|
@GetMapping("/ListNoToken")
|
|
|
|
@GetMapping("/ListNoToken")
|
|
|
|
public TableDataInfo ListNoToken(TcXtjc tcXtjc) {
|
|
|
|
public TableDataInfo ListNoToken(TxtjcRequest tcXtjc) {
|
|
|
|
startPage();
|
|
|
|
startPage();
|
|
|
|
List<TcXtjc> list = tcXtjcService.selectTcXtjcList(tcXtjc);
|
|
|
|
List<TcXtjc> list = tcXtjcService.selectTcXtjcList(tcXtjc);
|
|
|
|
return getDataTable(list);
|
|
|
|
return getDataTable(list);
|
|
|
|