|
@@ -19,10 +19,7 @@ import com.platform.dao.enums.SbMeasureLogOtherTypeEnum;
|
|
import com.platform.dao.enums.SysRoleCodeEnum;
|
|
import com.platform.dao.enums.SysRoleCodeEnum;
|
|
import com.platform.dao.util.ExcelUtil;
|
|
import com.platform.dao.util.ExcelUtil;
|
|
import com.platform.dao.util.TreeUtil;
|
|
import com.platform.dao.util.TreeUtil;
|
|
-import com.platform.dao.vo.export.sb.ExportSbInfoDetailVO;
|
|
|
|
-import com.platform.dao.vo.export.sb.ExportSbInfoMeasureVO;
|
|
|
|
-import com.platform.dao.vo.export.sb.ExportSbInfoVO;
|
|
|
|
-import com.platform.dao.vo.export.sb.ExportYiBiaoSbInfoVO;
|
|
|
|
|
|
+import com.platform.dao.vo.export.sb.*;
|
|
import com.platform.dao.vo.sb.SbInfoVO;
|
|
import com.platform.dao.vo.sb.SbInfoVO;
|
|
import com.platform.dao.vo.sb.SbInfoWorkplaceVO;
|
|
import com.platform.dao.vo.sb.SbInfoWorkplaceVO;
|
|
import com.platform.office.poi.excel.ExcelImportUtil;
|
|
import com.platform.office.poi.excel.ExcelImportUtil;
|
|
@@ -476,6 +473,15 @@ public class SbInfoController {
|
|
ExcelUtil.exportResponseDict(response, ExportSbInfoVO.class, BeanConverterUtil.copyListProperties(list, ExportSbInfoVO.class), "设备基础信息");
|
|
ExcelUtil.exportResponseDict(response, ExportSbInfoVO.class, BeanConverterUtil.copyListProperties(list, ExportSbInfoVO.class), "设备基础信息");
|
|
}
|
|
}
|
|
|
|
|
|
|
|
+ @GetMapping("/export/yiBiao/template")
|
|
|
|
+ @SysLog("仪表校准导入模板导出")
|
|
|
|
+// @PreAuthorize("@pms.hasPermission('sb-infos-export')")
|
|
|
|
+ public void exportYiBiaoTemplate(HttpServletResponse response) {
|
|
|
|
+// List<> list = sbInfoService.selectExportVOList(sbInfoDTO);
|
|
|
|
+ ExcelUtil.exportResponseDict(response, ExportSbMeasureLogVO3.class, new ArrayList<ExportSbMeasureLogVO3>() {
|
|
|
|
+ }, "仪表校准导入信息");
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
|
|
/**
|
|
/**
|
|
* 设备基础信息导出
|
|
* 设备基础信息导出
|