|
@@ -12,6 +12,7 @@ import javax.servlet.http.HttpServletResponse;
|
|
|
import org.jeecg.common.api.vo.Result;
|
|
|
import org.jeecg.common.system.query.QueryGenerator;
|
|
|
import org.jeecg.common.util.oConvertUtils;
|
|
|
+import org.jeecg.modules.dataVoltage.dto.DataVoltageQueryDTO;
|
|
|
import org.jeecg.modules.dataVoltage.entity.DataVoltage;
|
|
|
import org.jeecg.modules.dataVoltage.service.IDataVoltageService;
|
|
|
|
|
@@ -20,6 +21,7 @@ import com.baomidou.mybatisplus.core.metadata.IPage;
|
|
|
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
|
|
|
import lombok.extern.slf4j.Slf4j;
|
|
|
|
|
|
+import org.jeecg.modules.dataVoltage.vo.DataVoltageVO;
|
|
|
import org.jeecgframework.poi.excel.ExcelImportUtil;
|
|
|
import org.jeecgframework.poi.excel.def.NormalExcelConstants;
|
|
|
import org.jeecgframework.poi.excel.entity.ExportParams;
|
|
@@ -50,6 +52,16 @@ public class DataVoltageController extends JeecgController<DataVoltage, IDataVol
|
|
|
@Autowired
|
|
|
private IDataVoltageService dataVoltageService;
|
|
|
|
|
|
+ /**
|
|
|
+ * 参数历史查询
|
|
|
+ */
|
|
|
+ @ApiOperation(value="参数历史查询", notes="参数历史查询")
|
|
|
+ @GetMapping(value = "/dataList")
|
|
|
+ public Result<List<DataVoltageVO>> dataList(DataVoltageQueryDTO dto) {
|
|
|
+ List<DataVoltageVO> list = dataVoltageService.dataList(dto);
|
|
|
+ return Result.OK(list);
|
|
|
+ }
|
|
|
+
|
|
|
/**
|
|
|
* 分页列表查询
|
|
|
*
|