中国算力平台算力登记系统2.0
37f8463032c06236bfd098133c31cda51217b00f..9a224d216652ef2d6ff2e0bd01fba69c86a3f277
2 days ago yanzhaofeige
基础表单更新
9a224d diff | tree
2 days ago yanzhaofeige
基础表单更新
7c91ba diff | tree
2 days ago yanzhaofeige
生成代码上传
5cc82f diff | tree
2 files modified
2 files deleted
65 files added
11307 ■■■■■ changed files
cpzidc-admin/src/main/java/com/odcc/cpzidc/web/controller/bis/IdcBuildBaseController.java 104 ●●●●● patch | view | raw | blame | history
cpzidc-admin/src/main/java/com/odcc/cpzidc/web/controller/bis/IdcBuildExtendController.java 104 ●●●●● patch | view | raw | blame | history
cpzidc-admin/src/main/java/com/odcc/cpzidc/web/controller/bis/IdcUseBaseController.java 104 ●●●●● patch | view | raw | blame | history
cpzidc-admin/src/main/java/com/odcc/cpzidc/web/controller/bis/IdcUseComputilityController.java 104 ●●●●● patch | view | raw | blame | history
cpzidc-admin/src/main/java/com/odcc/cpzidc/web/controller/bis/IdcUseGreenController.java 104 ●●●●● patch | view | raw | blame | history
cpzidc-admin/src/main/java/com/odcc/cpzidc/web/controller/bis/IdcUseInfrastructureController.java 104 ●●●●● patch | view | raw | blame | history
cpzidc-admin/src/main/java/com/odcc/cpzidc/web/controller/bis/IdcUseStorageController.java 104 ●●●●● patch | view | raw | blame | history
cpzidc-admin/src/main/java/com/odcc/cpzidc/web/controller/bis/IdcUseTransportController.java 104 ●●●●● patch | view | raw | blame | history
cpzidc-bis/src/main/java/com/odcc/cpzidc/bis/domain/IdcBuildBase.java 517 ●●●●● patch | view | raw | blame | history
cpzidc-bis/src/main/java/com/odcc/cpzidc/bis/domain/IdcBuildExtend.java 293 ●●●●● patch | view | raw | blame | history
cpzidc-bis/src/main/java/com/odcc/cpzidc/bis/domain/IdcUseBase.java 615 ●●●●● patch | view | raw | blame | history
cpzidc-bis/src/main/java/com/odcc/cpzidc/bis/domain/IdcUseComputility.java 223 ●●●●● patch | view | raw | blame | history
cpzidc-bis/src/main/java/com/odcc/cpzidc/bis/domain/IdcUseGreen.java 279 ●●●●● patch | view | raw | blame | history
cpzidc-bis/src/main/java/com/odcc/cpzidc/bis/domain/IdcUseInfrastructure.java 433 ●●●●● patch | view | raw | blame | history
cpzidc-bis/src/main/java/com/odcc/cpzidc/bis/domain/IdcUseStorage.java 390 ●●●●● patch | view | raw | blame | history
cpzidc-bis/src/main/java/com/odcc/cpzidc/bis/domain/IdcUseTransport.java 166 ●●●●● patch | view | raw | blame | history
cpzidc-bis/src/main/java/com/odcc/cpzidc/bis/mapper/IdcBuildBaseMapper.java 61 ●●●●● patch | view | raw | blame | history
cpzidc-bis/src/main/java/com/odcc/cpzidc/bis/mapper/IdcBuildExtendMapper.java 61 ●●●●● patch | view | raw | blame | history
cpzidc-bis/src/main/java/com/odcc/cpzidc/bis/mapper/IdcUseBaseMapper.java 61 ●●●●● patch | view | raw | blame | history
cpzidc-bis/src/main/java/com/odcc/cpzidc/bis/mapper/IdcUseComputilityMapper.java 61 ●●●●● patch | view | raw | blame | history
cpzidc-bis/src/main/java/com/odcc/cpzidc/bis/mapper/IdcUseGreenMapper.java 61 ●●●●● patch | view | raw | blame | history
cpzidc-bis/src/main/java/com/odcc/cpzidc/bis/mapper/IdcUseInfrastructureMapper.java 61 ●●●●● patch | view | raw | blame | history
cpzidc-bis/src/main/java/com/odcc/cpzidc/bis/mapper/IdcUseStorageMapper.java 61 ●●●●● patch | view | raw | blame | history
cpzidc-bis/src/main/java/com/odcc/cpzidc/bis/mapper/IdcUseTransportMapper.java 61 ●●●●● patch | view | raw | blame | history
cpzidc-bis/src/main/java/com/odcc/cpzidc/bis/service/IIdcBuildBaseService.java 61 ●●●●● patch | view | raw | blame | history
cpzidc-bis/src/main/java/com/odcc/cpzidc/bis/service/IIdcBuildExtendService.java 61 ●●●●● patch | view | raw | blame | history
cpzidc-bis/src/main/java/com/odcc/cpzidc/bis/service/IIdcUseBaseService.java 61 ●●●●● patch | view | raw | blame | history
cpzidc-bis/src/main/java/com/odcc/cpzidc/bis/service/IIdcUseComputilityService.java 61 ●●●●● patch | view | raw | blame | history
cpzidc-bis/src/main/java/com/odcc/cpzidc/bis/service/IIdcUseGreenService.java 61 ●●●●● patch | view | raw | blame | history
cpzidc-bis/src/main/java/com/odcc/cpzidc/bis/service/IIdcUseInfrastructureService.java 61 ●●●●● patch | view | raw | blame | history
cpzidc-bis/src/main/java/com/odcc/cpzidc/bis/service/IIdcUseStorageService.java 61 ●●●●● patch | view | raw | blame | history
cpzidc-bis/src/main/java/com/odcc/cpzidc/bis/service/IIdcUseTransportService.java 61 ●●●●● patch | view | raw | blame | history
cpzidc-bis/src/main/java/com/odcc/cpzidc/bis/service/impl/IdcBuildBaseServiceImpl.java 96 ●●●●● patch | view | raw | blame | history
cpzidc-bis/src/main/java/com/odcc/cpzidc/bis/service/impl/IdcBuildExtendServiceImpl.java 96 ●●●●● patch | view | raw | blame | history
cpzidc-bis/src/main/java/com/odcc/cpzidc/bis/service/impl/IdcUseBaseServiceImpl.java 96 ●●●●● patch | view | raw | blame | history
cpzidc-bis/src/main/java/com/odcc/cpzidc/bis/service/impl/IdcUseComputilityServiceImpl.java 96 ●●●●● patch | view | raw | blame | history
cpzidc-bis/src/main/java/com/odcc/cpzidc/bis/service/impl/IdcUseGreenServiceImpl.java 96 ●●●●● patch | view | raw | blame | history
cpzidc-bis/src/main/java/com/odcc/cpzidc/bis/service/impl/IdcUseInfrastructureServiceImpl.java 96 ●●●●● patch | view | raw | blame | history
cpzidc-bis/src/main/java/com/odcc/cpzidc/bis/service/impl/IdcUseStorageServiceImpl.java 96 ●●●●● patch | view | raw | blame | history
cpzidc-bis/src/main/java/com/odcc/cpzidc/bis/service/impl/IdcUseTransportServiceImpl.java 96 ●●●●● patch | view | raw | blame | history
cpzidc-bis/src/main/resources/mapper/bis/IdcBuildBaseMapper.xml 233 ●●●●● patch | view | raw | blame | history
cpzidc-bis/src/main/resources/mapper/bis/IdcBuildExtendMapper.xml 153 ●●●●● patch | view | raw | blame | history
cpzidc-bis/src/main/resources/mapper/bis/IdcUseBaseMapper.xml 268 ●●●●● patch | view | raw | blame | history
cpzidc-bis/src/main/resources/mapper/bis/IdcUseComputilityMapper.xml 128 ●●●●● patch | view | raw | blame | history
cpzidc-bis/src/main/resources/mapper/bis/IdcUseGreenMapper.xml 148 ●●●●● patch | view | raw | blame | history
cpzidc-bis/src/main/resources/mapper/bis/IdcUseInfrastructureMapper.xml 203 ●●●●● patch | view | raw | blame | history
cpzidc-bis/src/main/resources/mapper/bis/IdcUseStorageMapper.xml 188 ●●●●● patch | view | raw | blame | history
cpzidc-bis/src/main/resources/mapper/bis/IdcUseTransportMapper.xml 108 ●●●●● patch | view | raw | blame | history
cpzidc-ui/src/api/bis/buildBase.js 44 ●●●●● patch | view | raw | blame | history
cpzidc-ui/src/api/bis/buildExtend.js 44 ●●●●● patch | view | raw | blame | history
cpzidc-ui/src/api/bis/useBase.js 44 ●●●●● patch | view | raw | blame | history
cpzidc-ui/src/api/bis/useComputility.js 44 ●●●●● patch | view | raw | blame | history
cpzidc-ui/src/api/bis/useGreen.js 44 ●●●●● patch | view | raw | blame | history
cpzidc-ui/src/api/bis/useInfrastructure.js 44 ●●●●● patch | view | raw | blame | history
cpzidc-ui/src/api/bis/useStorage.js 44 ●●●●● patch | view | raw | blame | history
cpzidc-ui/src/api/bis/useTransport.js 44 ●●●●● patch | view | raw | blame | history
cpzidc-ui/src/assets/images/login-background.jpg patch | view | raw | blame | history
cpzidc-ui/src/assets/images/login-background.png patch | view | raw | blame | history
cpzidc-ui/src/assets/images/pay.png patch | view | raw | blame | history
cpzidc-ui/src/views/bis/buildBase/index.vue 732 ●●●●● patch | view | raw | blame | history
cpzidc-ui/src/views/bis/buildExtend/index.vue 411 ●●●●● patch | view | raw | blame | history
cpzidc-ui/src/views/bis/useBase/index.vue 875 ●●●●● patch | view | raw | blame | history
cpzidc-ui/src/views/bis/useComputility/index.vue 373 ●●●●● patch | view | raw | blame | history
cpzidc-ui/src/views/bis/useGreen/index.vue 449 ●●●●● patch | view | raw | blame | history
cpzidc-ui/src/views/bis/useInfrastructure/index.vue 446 ●●●●● patch | view | raw | blame | history
cpzidc-ui/src/views/bis/useStorage/index.vue 425 ●●●●● patch | view | raw | blame | history
cpzidc-ui/src/views/bis/useTransport/index.vue 317 ●●●●● patch | view | raw | blame | history
cpzidc-ui/src/views/login.vue 4 ●●●● patch | view | raw | blame | history
cpzidc-ui/src/views/register.vue 2 ●●● patch | view | raw | blame | history
cpzidc-admin/src/main/java/com/odcc/cpzidc/web/controller/bis/IdcBuildBaseController.java
New file
@@ -0,0 +1,104 @@
package com.odcc.cpzidc.web.controller.bis;
import java.util.List;
import javax.servlet.http.HttpServletResponse;
import org.springframework.security.access.prepost.PreAuthorize;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.PutMapping;
import org.springframework.web.bind.annotation.DeleteMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
import com.odcc.cpzidc.common.annotation.Log;
import com.odcc.cpzidc.common.core.controller.BaseController;
import com.odcc.cpzidc.common.core.domain.AjaxResult;
import com.odcc.cpzidc.common.enums.BusinessType;
import com.odcc.cpzidc.bis.domain.IdcBuildBase;
import com.odcc.cpzidc.bis.service.IIdcBuildBaseService;
import com.odcc.cpzidc.common.utils.poi.ExcelUtil;
import com.odcc.cpzidc.common.core.page.TableDataInfo;
/**
 * 在建数据中心Controller
 *
 * @author ruoyi
 * @date 2024-10-10
 */
@RestController
@RequestMapping("/bis/buildBase")
public class IdcBuildBaseController extends BaseController
{
    @Autowired
    private IIdcBuildBaseService idcBuildBaseService;
    /**
     * 查询在建数据中心列表
     */
    @PreAuthorize("@ss.hasPermi('bis:buildBase:list')")
    @GetMapping("/list")
    public TableDataInfo list(IdcBuildBase idcBuildBase)
    {
        startPage();
        List<IdcBuildBase> list = idcBuildBaseService.selectIdcBuildBaseList(idcBuildBase);
        return getDataTable(list);
    }
    /**
     * 导出在建数据中心列表
     */
    @PreAuthorize("@ss.hasPermi('bis:buildBase:export')")
    @Log(title = "在建数据中心", businessType = BusinessType.EXPORT)
    @PostMapping("/export")
    public void export(HttpServletResponse response, IdcBuildBase idcBuildBase)
    {
        List<IdcBuildBase> list = idcBuildBaseService.selectIdcBuildBaseList(idcBuildBase);
        ExcelUtil<IdcBuildBase> util = new ExcelUtil<IdcBuildBase>(IdcBuildBase.class);
        util.exportExcel(response, list, "在建数据中心数据");
    }
    /**
     * 获取在建数据中心详细信息
     */
    @PreAuthorize("@ss.hasPermi('bis:buildBase:query')")
    @GetMapping(value = "/{id}")
    public AjaxResult getInfo(@PathVariable("id") Long id)
    {
        return success(idcBuildBaseService.selectIdcBuildBaseById(id));
    }
    /**
     * 新增在建数据中心
     */
    @PreAuthorize("@ss.hasPermi('bis:buildBase:add')")
    @Log(title = "在建数据中心", businessType = BusinessType.INSERT)
    @PostMapping
    public AjaxResult add(@RequestBody IdcBuildBase idcBuildBase)
    {
        return toAjax(idcBuildBaseService.insertIdcBuildBase(idcBuildBase));
    }
    /**
     * 修改在建数据中心
     */
    @PreAuthorize("@ss.hasPermi('bis:buildBase:edit')")
    @Log(title = "在建数据中心", businessType = BusinessType.UPDATE)
    @PutMapping
    public AjaxResult edit(@RequestBody IdcBuildBase idcBuildBase)
    {
        return toAjax(idcBuildBaseService.updateIdcBuildBase(idcBuildBase));
    }
    /**
     * 删除在建数据中心
     */
    @PreAuthorize("@ss.hasPermi('bis:buildBase:remove')")
    @Log(title = "在建数据中心", businessType = BusinessType.DELETE)
    @DeleteMapping("/{ids}")
    public AjaxResult remove(@PathVariable Long[] ids)
    {
        return toAjax(idcBuildBaseService.deleteIdcBuildBaseByIds(ids));
    }
}
cpzidc-admin/src/main/java/com/odcc/cpzidc/web/controller/bis/IdcBuildExtendController.java
New file
@@ -0,0 +1,104 @@
package com.odcc.cpzidc.web.controller.bis;
import java.util.List;
import javax.servlet.http.HttpServletResponse;
import org.springframework.security.access.prepost.PreAuthorize;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.PutMapping;
import org.springframework.web.bind.annotation.DeleteMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
import com.odcc.cpzidc.common.annotation.Log;
import com.odcc.cpzidc.common.core.controller.BaseController;
import com.odcc.cpzidc.common.core.domain.AjaxResult;
import com.odcc.cpzidc.common.enums.BusinessType;
import com.odcc.cpzidc.bis.domain.IdcBuildExtend;
import com.odcc.cpzidc.bis.service.IIdcBuildExtendService;
import com.odcc.cpzidc.common.utils.poi.ExcelUtil;
import com.odcc.cpzidc.common.core.page.TableDataInfo;
/**
 * IDC在建扩展信息Controller
 *
 * @author ruoyi
 * @date 2024-10-10
 */
@RestController
@RequestMapping("/bis/buildExtend")
public class IdcBuildExtendController extends BaseController
{
    @Autowired
    private IIdcBuildExtendService idcBuildExtendService;
    /**
     * 查询IDC在建扩展信息列表
     */
    @PreAuthorize("@ss.hasPermi('bis:buildExtend:list')")
    @GetMapping("/list")
    public TableDataInfo list(IdcBuildExtend idcBuildExtend)
    {
        startPage();
        List<IdcBuildExtend> list = idcBuildExtendService.selectIdcBuildExtendList(idcBuildExtend);
        return getDataTable(list);
    }
    /**
     * 导出IDC在建扩展信息列表
     */
    @PreAuthorize("@ss.hasPermi('bis:buildExtend:export')")
    @Log(title = "IDC在建扩展信息", businessType = BusinessType.EXPORT)
    @PostMapping("/export")
    public void export(HttpServletResponse response, IdcBuildExtend idcBuildExtend)
    {
        List<IdcBuildExtend> list = idcBuildExtendService.selectIdcBuildExtendList(idcBuildExtend);
        ExcelUtil<IdcBuildExtend> util = new ExcelUtil<IdcBuildExtend>(IdcBuildExtend.class);
        util.exportExcel(response, list, "IDC在建扩展信息数据");
    }
    /**
     * 获取IDC在建扩展信息详细信息
     */
    @PreAuthorize("@ss.hasPermi('bis:buildExtend:query')")
    @GetMapping(value = "/{id}")
    public AjaxResult getInfo(@PathVariable("id") Long id)
    {
        return success(idcBuildExtendService.selectIdcBuildExtendById(id));
    }
    /**
     * 新增IDC在建扩展信息
     */
    @PreAuthorize("@ss.hasPermi('bis:buildExtend:add')")
    @Log(title = "IDC在建扩展信息", businessType = BusinessType.INSERT)
    @PostMapping
    public AjaxResult add(@RequestBody IdcBuildExtend idcBuildExtend)
    {
        return toAjax(idcBuildExtendService.insertIdcBuildExtend(idcBuildExtend));
    }
    /**
     * 修改IDC在建扩展信息
     */
    @PreAuthorize("@ss.hasPermi('bis:buildExtend:edit')")
    @Log(title = "IDC在建扩展信息", businessType = BusinessType.UPDATE)
    @PutMapping
    public AjaxResult edit(@RequestBody IdcBuildExtend idcBuildExtend)
    {
        return toAjax(idcBuildExtendService.updateIdcBuildExtend(idcBuildExtend));
    }
    /**
     * 删除IDC在建扩展信息
     */
    @PreAuthorize("@ss.hasPermi('bis:buildExtend:remove')")
    @Log(title = "IDC在建扩展信息", businessType = BusinessType.DELETE)
    @DeleteMapping("/{ids}")
    public AjaxResult remove(@PathVariable Long[] ids)
    {
        return toAjax(idcBuildExtendService.deleteIdcBuildExtendByIds(ids));
    }
}
cpzidc-admin/src/main/java/com/odcc/cpzidc/web/controller/bis/IdcUseBaseController.java
New file
@@ -0,0 +1,104 @@
package com.odcc.cpzidc.web.controller.bis;
import java.util.List;
import javax.servlet.http.HttpServletResponse;
import org.springframework.security.access.prepost.PreAuthorize;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.PutMapping;
import org.springframework.web.bind.annotation.DeleteMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
import com.odcc.cpzidc.common.annotation.Log;
import com.odcc.cpzidc.common.core.controller.BaseController;
import com.odcc.cpzidc.common.core.domain.AjaxResult;
import com.odcc.cpzidc.common.enums.BusinessType;
import com.odcc.cpzidc.bis.domain.IdcUseBase;
import com.odcc.cpzidc.bis.service.IIdcUseBaseService;
import com.odcc.cpzidc.common.utils.poi.ExcelUtil;
import com.odcc.cpzidc.common.core.page.TableDataInfo;
/**
 * 在用数据中心Controller
 *
 * @author ruoyi
 * @date 2024-10-10
 */
@RestController
@RequestMapping("/bis/useBase")
public class IdcUseBaseController extends BaseController
{
    @Autowired
    private IIdcUseBaseService idcUseBaseService;
    /**
     * 查询在用数据中心列表
     */
    @PreAuthorize("@ss.hasPermi('bis:useBase:list')")
    @GetMapping("/list")
    public TableDataInfo list(IdcUseBase idcUseBase)
    {
        startPage();
        List<IdcUseBase> list = idcUseBaseService.selectIdcUseBaseList(idcUseBase);
        return getDataTable(list);
    }
    /**
     * 导出在用数据中心列表
     */
    @PreAuthorize("@ss.hasPermi('bis:useBase:export')")
    @Log(title = "在用数据中心", businessType = BusinessType.EXPORT)
    @PostMapping("/export")
    public void export(HttpServletResponse response, IdcUseBase idcUseBase)
    {
        List<IdcUseBase> list = idcUseBaseService.selectIdcUseBaseList(idcUseBase);
        ExcelUtil<IdcUseBase> util = new ExcelUtil<IdcUseBase>(IdcUseBase.class);
        util.exportExcel(response, list, "在用数据中心数据");
    }
    /**
     * 获取在用数据中心详细信息
     */
    @PreAuthorize("@ss.hasPermi('bis:useBase:query')")
    @GetMapping(value = "/{id}")
    public AjaxResult getInfo(@PathVariable("id") Long id)
    {
        return success(idcUseBaseService.selectIdcUseBaseById(id));
    }
    /**
     * 新增在用数据中心
     */
    @PreAuthorize("@ss.hasPermi('bis:useBase:add')")
    @Log(title = "在用数据中心", businessType = BusinessType.INSERT)
    @PostMapping
    public AjaxResult add(@RequestBody IdcUseBase idcUseBase)
    {
        return toAjax(idcUseBaseService.insertIdcUseBase(idcUseBase));
    }
    /**
     * 修改在用数据中心
     */
    @PreAuthorize("@ss.hasPermi('bis:useBase:edit')")
    @Log(title = "在用数据中心", businessType = BusinessType.UPDATE)
    @PutMapping
    public AjaxResult edit(@RequestBody IdcUseBase idcUseBase)
    {
        return toAjax(idcUseBaseService.updateIdcUseBase(idcUseBase));
    }
    /**
     * 删除在用数据中心
     */
    @PreAuthorize("@ss.hasPermi('bis:useBase:remove')")
    @Log(title = "在用数据中心", businessType = BusinessType.DELETE)
    @DeleteMapping("/{ids}")
    public AjaxResult remove(@PathVariable Long[] ids)
    {
        return toAjax(idcUseBaseService.deleteIdcUseBaseByIds(ids));
    }
}
cpzidc-admin/src/main/java/com/odcc/cpzidc/web/controller/bis/IdcUseComputilityController.java
New file
@@ -0,0 +1,104 @@
package com.odcc.cpzidc.web.controller.bis;
import java.util.List;
import javax.servlet.http.HttpServletResponse;
import org.springframework.security.access.prepost.PreAuthorize;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.PutMapping;
import org.springframework.web.bind.annotation.DeleteMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
import com.odcc.cpzidc.common.annotation.Log;
import com.odcc.cpzidc.common.core.controller.BaseController;
import com.odcc.cpzidc.common.core.domain.AjaxResult;
import com.odcc.cpzidc.common.enums.BusinessType;
import com.odcc.cpzidc.bis.domain.IdcUseComputility;
import com.odcc.cpzidc.bis.service.IIdcUseComputilityService;
import com.odcc.cpzidc.common.utils.poi.ExcelUtil;
import com.odcc.cpzidc.common.core.page.TableDataInfo;
/**
 * 算力指标信息Controller
 *
 * @author ruoyi
 * @date 2024-10-10
 */
@RestController
@RequestMapping("/bis/useComputility")
public class IdcUseComputilityController extends BaseController
{
    @Autowired
    private IIdcUseComputilityService idcUseComputilityService;
    /**
     * 查询算力指标信息列表
     */
    @PreAuthorize("@ss.hasPermi('bis:useComputility:list')")
    @GetMapping("/list")
    public TableDataInfo list(IdcUseComputility idcUseComputility)
    {
        startPage();
        List<IdcUseComputility> list = idcUseComputilityService.selectIdcUseComputilityList(idcUseComputility);
        return getDataTable(list);
    }
    /**
     * 导出算力指标信息列表
     */
    @PreAuthorize("@ss.hasPermi('bis:useComputility:export')")
    @Log(title = "算力指标信息", businessType = BusinessType.EXPORT)
    @PostMapping("/export")
    public void export(HttpServletResponse response, IdcUseComputility idcUseComputility)
    {
        List<IdcUseComputility> list = idcUseComputilityService.selectIdcUseComputilityList(idcUseComputility);
        ExcelUtil<IdcUseComputility> util = new ExcelUtil<IdcUseComputility>(IdcUseComputility.class);
        util.exportExcel(response, list, "算力指标信息数据");
    }
    /**
     * 获取算力指标信息详细信息
     */
    @PreAuthorize("@ss.hasPermi('bis:useComputility:query')")
    @GetMapping(value = "/{id}")
    public AjaxResult getInfo(@PathVariable("id") Long id)
    {
        return success(idcUseComputilityService.selectIdcUseComputilityById(id));
    }
    /**
     * 新增算力指标信息
     */
    @PreAuthorize("@ss.hasPermi('bis:useComputility:add')")
    @Log(title = "算力指标信息", businessType = BusinessType.INSERT)
    @PostMapping
    public AjaxResult add(@RequestBody IdcUseComputility idcUseComputility)
    {
        return toAjax(idcUseComputilityService.insertIdcUseComputility(idcUseComputility));
    }
    /**
     * 修改算力指标信息
     */
    @PreAuthorize("@ss.hasPermi('bis:useComputility:edit')")
    @Log(title = "算力指标信息", businessType = BusinessType.UPDATE)
    @PutMapping
    public AjaxResult edit(@RequestBody IdcUseComputility idcUseComputility)
    {
        return toAjax(idcUseComputilityService.updateIdcUseComputility(idcUseComputility));
    }
    /**
     * 删除算力指标信息
     */
    @PreAuthorize("@ss.hasPermi('bis:useComputility:remove')")
    @Log(title = "算力指标信息", businessType = BusinessType.DELETE)
    @DeleteMapping("/{ids}")
    public AjaxResult remove(@PathVariable Long[] ids)
    {
        return toAjax(idcUseComputilityService.deleteIdcUseComputilityByIds(ids));
    }
}
cpzidc-admin/src/main/java/com/odcc/cpzidc/web/controller/bis/IdcUseGreenController.java
New file
@@ -0,0 +1,104 @@
package com.odcc.cpzidc.web.controller.bis;
import java.util.List;
import javax.servlet.http.HttpServletResponse;
import org.springframework.security.access.prepost.PreAuthorize;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.PutMapping;
import org.springframework.web.bind.annotation.DeleteMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
import com.odcc.cpzidc.common.annotation.Log;
import com.odcc.cpzidc.common.core.controller.BaseController;
import com.odcc.cpzidc.common.core.domain.AjaxResult;
import com.odcc.cpzidc.common.enums.BusinessType;
import com.odcc.cpzidc.bis.domain.IdcUseGreen;
import com.odcc.cpzidc.bis.service.IIdcUseGreenService;
import com.odcc.cpzidc.common.utils.poi.ExcelUtil;
import com.odcc.cpzidc.common.core.page.TableDataInfo;
/**
 * 绿色运行指标信息Controller
 *
 * @author ruoyi
 * @date 2024-10-10
 */
@RestController
@RequestMapping("/bis/useGreen")
public class IdcUseGreenController extends BaseController
{
    @Autowired
    private IIdcUseGreenService idcUseGreenService;
    /**
     * 查询绿色运行指标信息列表
     */
    @PreAuthorize("@ss.hasPermi('bis:useGreen:list')")
    @GetMapping("/list")
    public TableDataInfo list(IdcUseGreen idcUseGreen)
    {
        startPage();
        List<IdcUseGreen> list = idcUseGreenService.selectIdcUseGreenList(idcUseGreen);
        return getDataTable(list);
    }
    /**
     * 导出绿色运行指标信息列表
     */
    @PreAuthorize("@ss.hasPermi('bis:useGreen:export')")
    @Log(title = "绿色运行指标信息", businessType = BusinessType.EXPORT)
    @PostMapping("/export")
    public void export(HttpServletResponse response, IdcUseGreen idcUseGreen)
    {
        List<IdcUseGreen> list = idcUseGreenService.selectIdcUseGreenList(idcUseGreen);
        ExcelUtil<IdcUseGreen> util = new ExcelUtil<IdcUseGreen>(IdcUseGreen.class);
        util.exportExcel(response, list, "绿色运行指标信息数据");
    }
    /**
     * 获取绿色运行指标信息详细信息
     */
    @PreAuthorize("@ss.hasPermi('bis:useGreen:query')")
    @GetMapping(value = "/{id}")
    public AjaxResult getInfo(@PathVariable("id") Long id)
    {
        return success(idcUseGreenService.selectIdcUseGreenById(id));
    }
    /**
     * 新增绿色运行指标信息
     */
    @PreAuthorize("@ss.hasPermi('bis:useGreen:add')")
    @Log(title = "绿色运行指标信息", businessType = BusinessType.INSERT)
    @PostMapping
    public AjaxResult add(@RequestBody IdcUseGreen idcUseGreen)
    {
        return toAjax(idcUseGreenService.insertIdcUseGreen(idcUseGreen));
    }
    /**
     * 修改绿色运行指标信息
     */
    @PreAuthorize("@ss.hasPermi('bis:useGreen:edit')")
    @Log(title = "绿色运行指标信息", businessType = BusinessType.UPDATE)
    @PutMapping
    public AjaxResult edit(@RequestBody IdcUseGreen idcUseGreen)
    {
        return toAjax(idcUseGreenService.updateIdcUseGreen(idcUseGreen));
    }
    /**
     * 删除绿色运行指标信息
     */
    @PreAuthorize("@ss.hasPermi('bis:useGreen:remove')")
    @Log(title = "绿色运行指标信息", businessType = BusinessType.DELETE)
    @DeleteMapping("/{ids}")
    public AjaxResult remove(@PathVariable Long[] ids)
    {
        return toAjax(idcUseGreenService.deleteIdcUseGreenByIds(ids));
    }
}
cpzidc-admin/src/main/java/com/odcc/cpzidc/web/controller/bis/IdcUseInfrastructureController.java
New file
@@ -0,0 +1,104 @@
package com.odcc.cpzidc.web.controller.bis;
import java.util.List;
import javax.servlet.http.HttpServletResponse;
import org.springframework.security.access.prepost.PreAuthorize;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.PutMapping;
import org.springframework.web.bind.annotation.DeleteMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
import com.odcc.cpzidc.common.annotation.Log;
import com.odcc.cpzidc.common.core.controller.BaseController;
import com.odcc.cpzidc.common.core.domain.AjaxResult;
import com.odcc.cpzidc.common.enums.BusinessType;
import com.odcc.cpzidc.bis.domain.IdcUseInfrastructure;
import com.odcc.cpzidc.bis.service.IIdcUseInfrastructureService;
import com.odcc.cpzidc.common.utils.poi.ExcelUtil;
import com.odcc.cpzidc.common.core.page.TableDataInfo;
/**
 * 基础设施信息Controller
 *
 * @author ruoyi
 * @date 2024-10-10
 */
@RestController
@RequestMapping("/bis/useInfrastructure")
public class IdcUseInfrastructureController extends BaseController
{
    @Autowired
    private IIdcUseInfrastructureService idcUseInfrastructureService;
    /**
     * 查询基础设施信息列表
     */
    @PreAuthorize("@ss.hasPermi('bis:useInfrastructure:list')")
    @GetMapping("/list")
    public TableDataInfo list(IdcUseInfrastructure idcUseInfrastructure)
    {
        startPage();
        List<IdcUseInfrastructure> list = idcUseInfrastructureService.selectIdcUseInfrastructureList(idcUseInfrastructure);
        return getDataTable(list);
    }
    /**
     * 导出基础设施信息列表
     */
    @PreAuthorize("@ss.hasPermi('bis:useInfrastructure:export')")
    @Log(title = "基础设施信息", businessType = BusinessType.EXPORT)
    @PostMapping("/export")
    public void export(HttpServletResponse response, IdcUseInfrastructure idcUseInfrastructure)
    {
        List<IdcUseInfrastructure> list = idcUseInfrastructureService.selectIdcUseInfrastructureList(idcUseInfrastructure);
        ExcelUtil<IdcUseInfrastructure> util = new ExcelUtil<IdcUseInfrastructure>(IdcUseInfrastructure.class);
        util.exportExcel(response, list, "基础设施信息数据");
    }
    /**
     * 获取基础设施信息详细信息
     */
    @PreAuthorize("@ss.hasPermi('bis:useInfrastructure:query')")
    @GetMapping(value = "/{id}")
    public AjaxResult getInfo(@PathVariable("id") Long id)
    {
        return success(idcUseInfrastructureService.selectIdcUseInfrastructureById(id));
    }
    /**
     * 新增基础设施信息
     */
    @PreAuthorize("@ss.hasPermi('bis:useInfrastructure:add')")
    @Log(title = "基础设施信息", businessType = BusinessType.INSERT)
    @PostMapping
    public AjaxResult add(@RequestBody IdcUseInfrastructure idcUseInfrastructure)
    {
        return toAjax(idcUseInfrastructureService.insertIdcUseInfrastructure(idcUseInfrastructure));
    }
    /**
     * 修改基础设施信息
     */
    @PreAuthorize("@ss.hasPermi('bis:useInfrastructure:edit')")
    @Log(title = "基础设施信息", businessType = BusinessType.UPDATE)
    @PutMapping
    public AjaxResult edit(@RequestBody IdcUseInfrastructure idcUseInfrastructure)
    {
        return toAjax(idcUseInfrastructureService.updateIdcUseInfrastructure(idcUseInfrastructure));
    }
    /**
     * 删除基础设施信息
     */
    @PreAuthorize("@ss.hasPermi('bis:useInfrastructure:remove')")
    @Log(title = "基础设施信息", businessType = BusinessType.DELETE)
    @DeleteMapping("/{ids}")
    public AjaxResult remove(@PathVariable Long[] ids)
    {
        return toAjax(idcUseInfrastructureService.deleteIdcUseInfrastructureByIds(ids));
    }
}
cpzidc-admin/src/main/java/com/odcc/cpzidc/web/controller/bis/IdcUseStorageController.java
New file
@@ -0,0 +1,104 @@
package com.odcc.cpzidc.web.controller.bis;
import java.util.List;
import javax.servlet.http.HttpServletResponse;
import org.springframework.security.access.prepost.PreAuthorize;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.PutMapping;
import org.springframework.web.bind.annotation.DeleteMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
import com.odcc.cpzidc.common.annotation.Log;
import com.odcc.cpzidc.common.core.controller.BaseController;
import com.odcc.cpzidc.common.core.domain.AjaxResult;
import com.odcc.cpzidc.common.enums.BusinessType;
import com.odcc.cpzidc.bis.domain.IdcUseStorage;
import com.odcc.cpzidc.bis.service.IIdcUseStorageService;
import com.odcc.cpzidc.common.utils.poi.ExcelUtil;
import com.odcc.cpzidc.common.core.page.TableDataInfo;
/**
 * 存力指标信息Controller
 *
 * @author ruoyi
 * @date 2024-10-10
 */
@RestController
@RequestMapping("/bis/useStorage")
public class IdcUseStorageController extends BaseController
{
    @Autowired
    private IIdcUseStorageService idcUseStorageService;
    /**
     * 查询存力指标信息列表
     */
    @PreAuthorize("@ss.hasPermi('bis:useStorage:list')")
    @GetMapping("/list")
    public TableDataInfo list(IdcUseStorage idcUseStorage)
    {
        startPage();
        List<IdcUseStorage> list = idcUseStorageService.selectIdcUseStorageList(idcUseStorage);
        return getDataTable(list);
    }
    /**
     * 导出存力指标信息列表
     */
    @PreAuthorize("@ss.hasPermi('bis:useStorage:export')")
    @Log(title = "存力指标信息", businessType = BusinessType.EXPORT)
    @PostMapping("/export")
    public void export(HttpServletResponse response, IdcUseStorage idcUseStorage)
    {
        List<IdcUseStorage> list = idcUseStorageService.selectIdcUseStorageList(idcUseStorage);
        ExcelUtil<IdcUseStorage> util = new ExcelUtil<IdcUseStorage>(IdcUseStorage.class);
        util.exportExcel(response, list, "存力指标信息数据");
    }
    /**
     * 获取存力指标信息详细信息
     */
    @PreAuthorize("@ss.hasPermi('bis:useStorage:query')")
    @GetMapping(value = "/{id}")
    public AjaxResult getInfo(@PathVariable("id") Long id)
    {
        return success(idcUseStorageService.selectIdcUseStorageById(id));
    }
    /**
     * 新增存力指标信息
     */
    @PreAuthorize("@ss.hasPermi('bis:useStorage:add')")
    @Log(title = "存力指标信息", businessType = BusinessType.INSERT)
    @PostMapping
    public AjaxResult add(@RequestBody IdcUseStorage idcUseStorage)
    {
        return toAjax(idcUseStorageService.insertIdcUseStorage(idcUseStorage));
    }
    /**
     * 修改存力指标信息
     */
    @PreAuthorize("@ss.hasPermi('bis:useStorage:edit')")
    @Log(title = "存力指标信息", businessType = BusinessType.UPDATE)
    @PutMapping
    public AjaxResult edit(@RequestBody IdcUseStorage idcUseStorage)
    {
        return toAjax(idcUseStorageService.updateIdcUseStorage(idcUseStorage));
    }
    /**
     * 删除存力指标信息
     */
    @PreAuthorize("@ss.hasPermi('bis:useStorage:remove')")
    @Log(title = "存力指标信息", businessType = BusinessType.DELETE)
    @DeleteMapping("/{ids}")
    public AjaxResult remove(@PathVariable Long[] ids)
    {
        return toAjax(idcUseStorageService.deleteIdcUseStorageByIds(ids));
    }
}
cpzidc-admin/src/main/java/com/odcc/cpzidc/web/controller/bis/IdcUseTransportController.java
New file
@@ -0,0 +1,104 @@
package com.odcc.cpzidc.web.controller.bis;
import java.util.List;
import javax.servlet.http.HttpServletResponse;
import org.springframework.security.access.prepost.PreAuthorize;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.PutMapping;
import org.springframework.web.bind.annotation.DeleteMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
import com.odcc.cpzidc.common.annotation.Log;
import com.odcc.cpzidc.common.core.controller.BaseController;
import com.odcc.cpzidc.common.core.domain.AjaxResult;
import com.odcc.cpzidc.common.enums.BusinessType;
import com.odcc.cpzidc.bis.domain.IdcUseTransport;
import com.odcc.cpzidc.bis.service.IIdcUseTransportService;
import com.odcc.cpzidc.common.utils.poi.ExcelUtil;
import com.odcc.cpzidc.common.core.page.TableDataInfo;
/**
 * 运力指标信息Controller
 *
 * @author ruoyi
 * @date 2024-10-10
 */
@RestController
@RequestMapping("/bis/useTransport")
public class IdcUseTransportController extends BaseController
{
    @Autowired
    private IIdcUseTransportService idcUseTransportService;
    /**
     * 查询运力指标信息列表
     */
    @PreAuthorize("@ss.hasPermi('bis:useTransport:list')")
    @GetMapping("/list")
    public TableDataInfo list(IdcUseTransport idcUseTransport)
    {
        startPage();
        List<IdcUseTransport> list = idcUseTransportService.selectIdcUseTransportList(idcUseTransport);
        return getDataTable(list);
    }
    /**
     * 导出运力指标信息列表
     */
    @PreAuthorize("@ss.hasPermi('bis:useTransport:export')")
    @Log(title = "运力指标信息", businessType = BusinessType.EXPORT)
    @PostMapping("/export")
    public void export(HttpServletResponse response, IdcUseTransport idcUseTransport)
    {
        List<IdcUseTransport> list = idcUseTransportService.selectIdcUseTransportList(idcUseTransport);
        ExcelUtil<IdcUseTransport> util = new ExcelUtil<IdcUseTransport>(IdcUseTransport.class);
        util.exportExcel(response, list, "运力指标信息数据");
    }
    /**
     * 获取运力指标信息详细信息
     */
    @PreAuthorize("@ss.hasPermi('bis:useTransport:query')")
    @GetMapping(value = "/{id}")
    public AjaxResult getInfo(@PathVariable("id") Long id)
    {
        return success(idcUseTransportService.selectIdcUseTransportById(id));
    }
    /**
     * 新增运力指标信息
     */
    @PreAuthorize("@ss.hasPermi('bis:useTransport:add')")
    @Log(title = "运力指标信息", businessType = BusinessType.INSERT)
    @PostMapping
    public AjaxResult add(@RequestBody IdcUseTransport idcUseTransport)
    {
        return toAjax(idcUseTransportService.insertIdcUseTransport(idcUseTransport));
    }
    /**
     * 修改运力指标信息
     */
    @PreAuthorize("@ss.hasPermi('bis:useTransport:edit')")
    @Log(title = "运力指标信息", businessType = BusinessType.UPDATE)
    @PutMapping
    public AjaxResult edit(@RequestBody IdcUseTransport idcUseTransport)
    {
        return toAjax(idcUseTransportService.updateIdcUseTransport(idcUseTransport));
    }
    /**
     * 删除运力指标信息
     */
    @PreAuthorize("@ss.hasPermi('bis:useTransport:remove')")
    @Log(title = "运力指标信息", businessType = BusinessType.DELETE)
    @DeleteMapping("/{ids}")
    public AjaxResult remove(@PathVariable Long[] ids)
    {
        return toAjax(idcUseTransportService.deleteIdcUseTransportByIds(ids));
    }
}
cpzidc-bis/src/main/java/com/odcc/cpzidc/bis/domain/IdcBuildBase.java
New file
@@ -0,0 +1,517 @@
package com.odcc.cpzidc.bis.domain;
import java.math.BigDecimal;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.odcc.cpzidc.common.annotation.Excel;
import com.odcc.cpzidc.common.core.domain.BaseEntity;
/**
 * 在建数据中心对象 idc_build_base
 *
 * @author ruoyi
 * @date 2024-10-10
 */
public class IdcBuildBase extends BaseEntity
{
    private static final long serialVersionUID = 1L;
    /** 序号 */
    private Long id;
    /** 规模类型 */
    @Excel(name = "规模类型")
    private Integer type;
    /** 业务类型 */
    @Excel(name = "业务类型")
    private Long businessType;
    /** 设计机架数 */
    @Excel(name = "设计机架数")
    private Long frameNum;
    /** 设计机架功率 */
    @Excel(name = "设计机架功率")
    private BigDecimal framePower;
    /** 名称 */
    @Excel(name = "名称")
    private String name;
    /** 省(自治区、直辖市) */
    @Excel(name = "省", readConverterExp = "自=治区、直辖市")
    private String province;
    /** 市() */
    @Excel(name = "市", readConverterExp = "市()")
    private String city;
    /** 区、县 */
    @Excel(name = "区、县")
    private String area;
    /** 地址 */
    @Excel(name = "地址")
    private String address;
    /** 补充地址 */
    @Excel(name = "补充地址")
    private String addressExt;
    /** 机楼 */
    @Excel(name = "机楼")
    private String building;
    /** 运营主体统一社会信用代码 */
    @Excel(name = "运营主体统一社会信用代码")
    private String creditCode;
    /** 运营主体 */
    @Excel(name = "运营主体")
    private String mainbody;
    /** 运营公司总公司 */
    @Excel(name = "运营公司总公司")
    private String mainbodyHeader;
    /** 运营主体类型 */
    @Excel(name = "运营主体类型")
    private String mainbodyType;
    /** 建设初始投资(万元) */
    @Excel(name = "建设初始投资", readConverterExp = "万=元")
    private String investment;
    /** 建设进度 */
    @Excel(name = "建设进度")
    private String progress;
    /** 投产时间 */
    @Excel(name = "投产时间")
    private String productionTime;
    /** 数据中心建设等级或标准 */
    @Excel(name = "数据中心建设等级或标准")
    private String dcBuildingLevel;
    /** 数据中心总设计面积 */
    @Excel(name = "数据中心总设计面积")
    private Long dcAllArea;
    /** IT机房面积 */
    @Excel(name = "IT机房面积")
    private Long dcItArea;
    /** 建筑形式 */
    @Excel(name = "建筑形式")
    private String buildingType;
    /** 抗震级别 */
    @Excel(name = "抗震级别")
    private String seismicLevel;
    /** 应用类别 */
    @Excel(name = "应用类别")
    private String useType;
    /** 设计PUE */
    @Excel(name = "设计PUE")
    private BigDecimal pueDesign;
    /** 设计耗水量(年) */
    @Excel(name = "设计耗水量(年)")
    private String waterDesign;
    /** 链接的运营商 */
    @Excel(name = "链接的运营商")
    private String netOperator;
    /** 链接的运营商_其它 */
    @Excel(name = "链接的运营商_其它")
    private String netOperatorOther;
    /** 接入网络级别 */
    @Excel(name = "接入网络级别")
    private String netLevel;
    /** 排序 */
    @Excel(name = "排序")
    private Long sort;
    /** 管理员反馈信息 */
    @Excel(name = "管理员反馈信息")
    private String message;
    /** 状态0: 1   2 */
    @Excel(name = "状态0: 1   2")
    private Long state;
    /** 是否可用 */
    @Excel(name = "是否可用")
    private Integer isEnable;
    /** 创建者 */
    @Excel(name = "创建者")
    private Long createUser;
    public void setId(Long id)
    {
        this.id = id;
    }
    public Long getId()
    {
        return id;
    }
    public void setType(Integer type)
    {
        this.type = type;
    }
    public Integer getType()
    {
        return type;
    }
    public void setBusinessType(Long businessType)
    {
        this.businessType = businessType;
    }
    public Long getBusinessType()
    {
        return businessType;
    }
    public void setFrameNum(Long frameNum)
    {
        this.frameNum = frameNum;
    }
    public Long getFrameNum()
    {
        return frameNum;
    }
    public void setFramePower(BigDecimal framePower)
    {
        this.framePower = framePower;
    }
    public BigDecimal getFramePower()
    {
        return framePower;
    }
    public void setName(String name)
    {
        this.name = name;
    }
    public String getName()
    {
        return name;
    }
    public void setProvince(String province)
    {
        this.province = province;
    }
    public String getProvince()
    {
        return province;
    }
    public void setCity(String city)
    {
        this.city = city;
    }
    public String getCity()
    {
        return city;
    }
    public void setArea(String area)
    {
        this.area = area;
    }
    public String getArea()
    {
        return area;
    }
    public void setAddress(String address)
    {
        this.address = address;
    }
    public String getAddress()
    {
        return address;
    }
    public void setAddressExt(String addressExt)
    {
        this.addressExt = addressExt;
    }
    public String getAddressExt()
    {
        return addressExt;
    }
    public void setBuilding(String building)
    {
        this.building = building;
    }
    public String getBuilding()
    {
        return building;
    }
    public void setCreditCode(String creditCode)
    {
        this.creditCode = creditCode;
    }
    public String getCreditCode()
    {
        return creditCode;
    }
    public void setMainbody(String mainbody)
    {
        this.mainbody = mainbody;
    }
    public String getMainbody()
    {
        return mainbody;
    }
    public void setMainbodyHeader(String mainbodyHeader)
    {
        this.mainbodyHeader = mainbodyHeader;
    }
    public String getMainbodyHeader()
    {
        return mainbodyHeader;
    }
    public void setMainbodyType(String mainbodyType)
    {
        this.mainbodyType = mainbodyType;
    }
    public String getMainbodyType()
    {
        return mainbodyType;
    }
    public void setInvestment(String investment)
    {
        this.investment = investment;
    }
    public String getInvestment()
    {
        return investment;
    }
    public void setProgress(String progress)
    {
        this.progress = progress;
    }
    public String getProgress()
    {
        return progress;
    }
    public void setProductionTime(String productionTime)
    {
        this.productionTime = productionTime;
    }
    public String getProductionTime()
    {
        return productionTime;
    }
    public void setDcBuildingLevel(String dcBuildingLevel)
    {
        this.dcBuildingLevel = dcBuildingLevel;
    }
    public String getDcBuildingLevel()
    {
        return dcBuildingLevel;
    }
    public void setDcAllArea(Long dcAllArea)
    {
        this.dcAllArea = dcAllArea;
    }
    public Long getDcAllArea()
    {
        return dcAllArea;
    }
    public void setDcItArea(Long dcItArea)
    {
        this.dcItArea = dcItArea;
    }
    public Long getDcItArea()
    {
        return dcItArea;
    }
    public void setBuildingType(String buildingType)
    {
        this.buildingType = buildingType;
    }
    public String getBuildingType()
    {
        return buildingType;
    }
    public void setSeismicLevel(String seismicLevel)
    {
        this.seismicLevel = seismicLevel;
    }
    public String getSeismicLevel()
    {
        return seismicLevel;
    }
    public void setUseType(String useType)
    {
        this.useType = useType;
    }
    public String getUseType()
    {
        return useType;
    }
    public void setPueDesign(BigDecimal pueDesign)
    {
        this.pueDesign = pueDesign;
    }
    public BigDecimal getPueDesign()
    {
        return pueDesign;
    }
    public void setWaterDesign(String waterDesign)
    {
        this.waterDesign = waterDesign;
    }
    public String getWaterDesign()
    {
        return waterDesign;
    }
    public void setNetOperator(String netOperator)
    {
        this.netOperator = netOperator;
    }
    public String getNetOperator()
    {
        return netOperator;
    }
    public void setNetOperatorOther(String netOperatorOther)
    {
        this.netOperatorOther = netOperatorOther;
    }
    public String getNetOperatorOther()
    {
        return netOperatorOther;
    }
    public void setNetLevel(String netLevel)
    {
        this.netLevel = netLevel;
    }
    public String getNetLevel()
    {
        return netLevel;
    }
    public void setSort(Long sort)
    {
        this.sort = sort;
    }
    public Long getSort()
    {
        return sort;
    }
    public void setMessage(String message)
    {
        this.message = message;
    }
    public String getMessage()
    {
        return message;
    }
    public void setState(Long state)
    {
        this.state = state;
    }
    public Long getState()
    {
        return state;
    }
    public void setIsEnable(Integer isEnable)
    {
        this.isEnable = isEnable;
    }
    public Integer getIsEnable()
    {
        return isEnable;
    }
    public void setCreateUser(Long createUser)
    {
        this.createUser = createUser;
    }
    public Long getCreateUser()
    {
        return createUser;
    }
    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("type", getType())
            .append("businessType", getBusinessType())
            .append("frameNum", getFrameNum())
            .append("framePower", getFramePower())
            .append("name", getName())
            .append("province", getProvince())
            .append("city", getCity())
            .append("area", getArea())
            .append("address", getAddress())
            .append("addressExt", getAddressExt())
            .append("building", getBuilding())
            .append("creditCode", getCreditCode())
            .append("mainbody", getMainbody())
            .append("mainbodyHeader", getMainbodyHeader())
            .append("mainbodyType", getMainbodyType())
            .append("investment", getInvestment())
            .append("progress", getProgress())
            .append("productionTime", getProductionTime())
            .append("dcBuildingLevel", getDcBuildingLevel())
            .append("dcAllArea", getDcAllArea())
            .append("dcItArea", getDcItArea())
            .append("buildingType", getBuildingType())
            .append("seismicLevel", getSeismicLevel())
            .append("useType", getUseType())
            .append("pueDesign", getPueDesign())
            .append("waterDesign", getWaterDesign())
            .append("netOperator", getNetOperator())
            .append("netOperatorOther", getNetOperatorOther())
            .append("netLevel", getNetLevel())
            .append("remark", getRemark())
            .append("sort", getSort())
            .append("message", getMessage())
            .append("state", getState())
            .append("isEnable", getIsEnable())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .append("createUser", getCreateUser())
            .toString();
    }
}
cpzidc-bis/src/main/java/com/odcc/cpzidc/bis/domain/IdcBuildExtend.java
New file
@@ -0,0 +1,293 @@
package com.odcc.cpzidc.bis.domain;
import java.math.BigDecimal;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.odcc.cpzidc.common.annotation.Excel;
import com.odcc.cpzidc.common.core.domain.BaseEntity;
/**
 * IDC在建扩展信息对象 idc_build_extend
 *
 * @author ruoyi
 * @date 2024-10-10
 */
public class IdcBuildExtend extends BaseEntity
{
    private static final long serialVersionUID = 1L;
    /** 序号 */
    private Long id;
    /** 数据中心 ID */
    @Excel(name = "数据中心 ID")
    private Long baseId;
    /** 日期节点 */
    @Excel(name = "日期节点")
    private String dateNode;
    /** 交付机架数(个) */
    @Excel(name = "交付机架数(个)")
    private Long deliveryScale;
    /** 下一年交付机架数 */
    @Excel(name = "下一年交付机架数")
    private Long deliveryNext;
    /** 下两年交付机架数 */
    @Excel(name = "下两年交付机架数")
    private Long deliverySecond;
    /** 电价(元/wkh) */
    @Excel(name = "电价(元/wkh)")
    private BigDecimal electricityPrice;
    /** 网络出口带宽(Gbps) */
    @Excel(name = "网络出口带宽(Gbps)")
    private BigDecimal netBandwidth;
    /** 算力规模(TFLOPS) */
    @Excel(name = "算力规模", readConverterExp = "T=FLOPS")
    private Long computationalScale;
    /** 清洁能源利用率  【需要填写%】 */
    @Excel(name = "清洁能源利用率  【需要填写%】")
    private String cleanEnergy;
    /** 采用清洁能源类型(可多选) */
    @Excel(name = "采用清洁能源类型", readConverterExp = "可=多选")
    private String cleanEnergyType;
    /** 填报联系人 */
    @Excel(name = "填报联系人")
    private String formName;
    /** 填报联系电话 */
    @Excel(name = "填报联系电话")
    private String formTel;
    /** 设计耗水量(年)(万吨) */
    @Excel(name = "设计耗水量(年)(万吨)")
    private BigDecimal waterYearDesign;
    /** 装机服务器总数单位U(必填) */
    @Excel(name = "装机服务器总数单位U", readConverterExp = "必=填")
    private Long sumU;
    /** 排序 */
    @Excel(name = "排序")
    private Long sort;
    /** 数据提交状态 */
    @Excel(name = "数据提交状态")
    private Integer state;
    /** 创建者 */
    @Excel(name = "创建者")
    private Long createUser;
    /** 更新者 */
    @Excel(name = "更新者")
    private Long updateUser;
    public void setId(Long id)
    {
        this.id = id;
    }
    public Long getId()
    {
        return id;
    }
    public void setBaseId(Long baseId)
    {
        this.baseId = baseId;
    }
    public Long getBaseId()
    {
        return baseId;
    }
    public void setDateNode(String dateNode)
    {
        this.dateNode = dateNode;
    }
    public String getDateNode()
    {
        return dateNode;
    }
    public void setDeliveryScale(Long deliveryScale)
    {
        this.deliveryScale = deliveryScale;
    }
    public Long getDeliveryScale()
    {
        return deliveryScale;
    }
    public void setDeliveryNext(Long deliveryNext)
    {
        this.deliveryNext = deliveryNext;
    }
    public Long getDeliveryNext()
    {
        return deliveryNext;
    }
    public void setDeliverySecond(Long deliverySecond)
    {
        this.deliverySecond = deliverySecond;
    }
    public Long getDeliverySecond()
    {
        return deliverySecond;
    }
    public void setElectricityPrice(BigDecimal electricityPrice)
    {
        this.electricityPrice = electricityPrice;
    }
    public BigDecimal getElectricityPrice()
    {
        return electricityPrice;
    }
    public void setNetBandwidth(BigDecimal netBandwidth)
    {
        this.netBandwidth = netBandwidth;
    }
    public BigDecimal getNetBandwidth()
    {
        return netBandwidth;
    }
    public void setComputationalScale(Long computationalScale)
    {
        this.computationalScale = computationalScale;
    }
    public Long getComputationalScale()
    {
        return computationalScale;
    }
    public void setCleanEnergy(String cleanEnergy)
    {
        this.cleanEnergy = cleanEnergy;
    }
    public String getCleanEnergy()
    {
        return cleanEnergy;
    }
    public void setCleanEnergyType(String cleanEnergyType)
    {
        this.cleanEnergyType = cleanEnergyType;
    }
    public String getCleanEnergyType()
    {
        return cleanEnergyType;
    }
    public void setFormName(String formName)
    {
        this.formName = formName;
    }
    public String getFormName()
    {
        return formName;
    }
    public void setFormTel(String formTel)
    {
        this.formTel = formTel;
    }
    public String getFormTel()
    {
        return formTel;
    }
    public void setWaterYearDesign(BigDecimal waterYearDesign)
    {
        this.waterYearDesign = waterYearDesign;
    }
    public BigDecimal getWaterYearDesign()
    {
        return waterYearDesign;
    }
    public void setSumU(Long sumU)
    {
        this.sumU = sumU;
    }
    public Long getSumU()
    {
        return sumU;
    }
    public void setSort(Long sort)
    {
        this.sort = sort;
    }
    public Long getSort()
    {
        return sort;
    }
    public void setState(Integer state)
    {
        this.state = state;
    }
    public Integer getState()
    {
        return state;
    }
    public void setCreateUser(Long createUser)
    {
        this.createUser = createUser;
    }
    public Long getCreateUser()
    {
        return createUser;
    }
    public void setUpdateUser(Long updateUser)
    {
        this.updateUser = updateUser;
    }
    public Long getUpdateUser()
    {
        return updateUser;
    }
    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("baseId", getBaseId())
            .append("dateNode", getDateNode())
            .append("deliveryScale", getDeliveryScale())
            .append("deliveryNext", getDeliveryNext())
            .append("deliverySecond", getDeliverySecond())
            .append("electricityPrice", getElectricityPrice())
            .append("netBandwidth", getNetBandwidth())
            .append("computationalScale", getComputationalScale())
            .append("cleanEnergy", getCleanEnergy())
            .append("cleanEnergyType", getCleanEnergyType())
            .append("formName", getFormName())
            .append("formTel", getFormTel())
            .append("waterYearDesign", getWaterYearDesign())
            .append("sumU", getSumU())
            .append("sort", getSort())
            .append("state", getState())
            .append("createTime", getCreateTime())
            .append("createUser", getCreateUser())
            .append("updateTime", getUpdateTime())
            .append("updateUser", getUpdateUser())
            .append("remark", getRemark())
            .toString();
    }
}
cpzidc-bis/src/main/java/com/odcc/cpzidc/bis/domain/IdcUseBase.java
New file
@@ -0,0 +1,615 @@
package com.odcc.cpzidc.bis.domain;
import java.math.BigDecimal;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.odcc.cpzidc.common.annotation.Excel;
import com.odcc.cpzidc.common.core.domain.BaseEntity;
/**
 * 在用数据中心对象 idc_use_base
 *
 * @author ruoyi
 * @date 2024-10-10
 */
public class IdcUseBase extends BaseEntity
{
    private static final long serialVersionUID = 1L;
    /** 序号 */
    private Long id;
    /** 在建转过来的表ID */
    @Excel(name = "在建转过来的表ID")
    private Long buildId;
    /** 编号 */
    @Excel(name = "编号")
    private String idcNo;
    /** 规模类型 */
    @Excel(name = "规模类型")
    private Integer type;
    /** 业务类型 */
    @Excel(name = "业务类型")
    private Integer businessType;
    /** 设计机架数 */
    @Excel(name = "设计机架数")
    private Long frameNum;
    /** 设计机架功率 */
    @Excel(name = "设计机架功率")
    private BigDecimal framePower;
    /** 名称 */
    @Excel(name = "名称")
    private String name;
    /** 省(自治区、直辖市) */
    @Excel(name = "省", readConverterExp = "自=治区、直辖市")
    private String province;
    /** 市() */
    @Excel(name = "市", readConverterExp = "市()")
    private String city;
    /** 区、县 */
    @Excel(name = "区、县")
    private String area;
    /** 地址 */
    @Excel(name = "地址")
    private String address;
    /** 补充地址 */
    @Excel(name = "补充地址")
    private String addressExt;
    /** 机楼 */
    @Excel(name = "机楼")
    private String building;
    /** 运营主体统一社会信用代码 */
    @Excel(name = "运营主体统一社会信用代码")
    private String creditCode;
    /** 运营主体 */
    @Excel(name = "运营主体")
    private String mainbody;
    /** 运营公司总公司 */
    @Excel(name = "运营公司总公司")
    private String mainbodyHeader;
    /** 运营主体类型 */
    @Excel(name = "运营主体类型")
    private String mainbodyType;
    /** 建设初始投资(万元) */
    @Excel(name = "建设初始投资", readConverterExp = "万=元")
    private String investment;
    /** 投产时间 */
    @Excel(name = "投产时间")
    private String productionTime;
    /** 建设等级/标准 */
    @Excel(name = "建设等级/标准")
    private String dcBuildingLevel;
    /** 数据中心总设计面积 */
    @Excel(name = "数据中心总设计面积")
    private Long dcAllArea;
    /** IT机房面积 */
    @Excel(name = "IT机房面积")
    private Long dcItArea;
    /** 建筑形式 */
    @Excel(name = "建筑形式")
    private String buildingType;
    /** 市电引入方式 */
    @Excel(name = "市电引入方式")
    private String cityElectricityType;
    /** 市电引入方式,其它 */
    @Excel(name = "市电引入方式,其它")
    private String cityElectricityTypeOther;
    /** 总配电量(KWA) */
    @Excel(name = "总配电量(KWA)")
    private BigDecimal powerDistribution;
    /** 用电类型 */
    @Excel(name = "用电类型")
    private String electricityType;
    /** 用电类型_其它 */
    @Excel(name = "用电类型_其它")
    private String electricityTypeOther;
    /** 设计PUE */
    @Excel(name = "设计PUE")
    private BigDecimal pueDesign;
    /** 设计全年用水量 */
    @Excel(name = "设计全年用水量")
    private String waterDesign;
    /** 接入网络级别 */
    @Excel(name = "接入网络级别")
    private String netLevel;
    /** 链接的运营商 */
    @Excel(name = "链接的运营商")
    private String netOperator;
    /** 链接的运营商_其它 */
    @Excel(name = "链接的运营商_其它")
    private String netOperatorOther;
    /** 制冷方式 */
    @Excel(name = "制冷方式")
    private String airRefrigerationType;
    /** 制冷方式_其它 */
    @Excel(name = "制冷方式_其它")
    private String airRefrigerationTypeOther;
    /** 排序 */
    @Excel(name = "排序")
    private Long sort;
    /** 反馈信息 */
    @Excel(name = "反馈信息")
    private String message;
    /** 状态 */
    @Excel(name = "状态")
    private Long state;
    /** 是否可用 */
    @Excel(name = "是否可用")
    private Integer isEnable;
    /** 创建者 */
    @Excel(name = "创建者")
    private Long createUser;
    /** 更新者 */
    @Excel(name = "更新者")
    private Long updateUser;
    public void setId(Long id)
    {
        this.id = id;
    }
    public Long getId()
    {
        return id;
    }
    public void setBuildId(Long buildId)
    {
        this.buildId = buildId;
    }
    public Long getBuildId()
    {
        return buildId;
    }
    public void setIdcNo(String idcNo)
    {
        this.idcNo = idcNo;
    }
    public String getIdcNo()
    {
        return idcNo;
    }
    public void setType(Integer type)
    {
        this.type = type;
    }
    public Integer getType()
    {
        return type;
    }
    public void setBusinessType(Integer businessType)
    {
        this.businessType = businessType;
    }
    public Integer getBusinessType()
    {
        return businessType;
    }
    public void setFrameNum(Long frameNum)
    {
        this.frameNum = frameNum;
    }
    public Long getFrameNum()
    {
        return frameNum;
    }
    public void setFramePower(BigDecimal framePower)
    {
        this.framePower = framePower;
    }
    public BigDecimal getFramePower()
    {
        return framePower;
    }
    public void setName(String name)
    {
        this.name = name;
    }
    public String getName()
    {
        return name;
    }
    public void setProvince(String province)
    {
        this.province = province;
    }
    public String getProvince()
    {
        return province;
    }
    public void setCity(String city)
    {
        this.city = city;
    }
    public String getCity()
    {
        return city;
    }
    public void setArea(String area)
    {
        this.area = area;
    }
    public String getArea()
    {
        return area;
    }
    public void setAddress(String address)
    {
        this.address = address;
    }
    public String getAddress()
    {
        return address;
    }
    public void setAddressExt(String addressExt)
    {
        this.addressExt = addressExt;
    }
    public String getAddressExt()
    {
        return addressExt;
    }
    public void setBuilding(String building)
    {
        this.building = building;
    }
    public String getBuilding()
    {
        return building;
    }
    public void setCreditCode(String creditCode)
    {
        this.creditCode = creditCode;
    }
    public String getCreditCode()
    {
        return creditCode;
    }
    public void setMainbody(String mainbody)
    {
        this.mainbody = mainbody;
    }
    public String getMainbody()
    {
        return mainbody;
    }
    public void setMainbodyHeader(String mainbodyHeader)
    {
        this.mainbodyHeader = mainbodyHeader;
    }
    public String getMainbodyHeader()
    {
        return mainbodyHeader;
    }
    public void setMainbodyType(String mainbodyType)
    {
        this.mainbodyType = mainbodyType;
    }
    public String getMainbodyType()
    {
        return mainbodyType;
    }
    public void setInvestment(String investment)
    {
        this.investment = investment;
    }
    public String getInvestment()
    {
        return investment;
    }
    public void setProductionTime(String productionTime)
    {
        this.productionTime = productionTime;
    }
    public String getProductionTime()
    {
        return productionTime;
    }
    public void setDcBuildingLevel(String dcBuildingLevel)
    {
        this.dcBuildingLevel = dcBuildingLevel;
    }
    public String getDcBuildingLevel()
    {
        return dcBuildingLevel;
    }
    public void setDcAllArea(Long dcAllArea)
    {
        this.dcAllArea = dcAllArea;
    }
    public Long getDcAllArea()
    {
        return dcAllArea;
    }
    public void setDcItArea(Long dcItArea)
    {
        this.dcItArea = dcItArea;
    }
    public Long getDcItArea()
    {
        return dcItArea;
    }
    public void setBuildingType(String buildingType)
    {
        this.buildingType = buildingType;
    }
    public String getBuildingType()
    {
        return buildingType;
    }
    public void setCityElectricityType(String cityElectricityType)
    {
        this.cityElectricityType = cityElectricityType;
    }
    public String getCityElectricityType()
    {
        return cityElectricityType;
    }
    public void setCityElectricityTypeOther(String cityElectricityTypeOther)
    {
        this.cityElectricityTypeOther = cityElectricityTypeOther;
    }
    public String getCityElectricityTypeOther()
    {
        return cityElectricityTypeOther;
    }
    public void setPowerDistribution(BigDecimal powerDistribution)
    {
        this.powerDistribution = powerDistribution;
    }
    public BigDecimal getPowerDistribution()
    {
        return powerDistribution;
    }
    public void setElectricityType(String electricityType)
    {
        this.electricityType = electricityType;
    }
    public String getElectricityType()
    {
        return electricityType;
    }
    public void setElectricityTypeOther(String electricityTypeOther)
    {
        this.electricityTypeOther = electricityTypeOther;
    }
    public String getElectricityTypeOther()
    {
        return electricityTypeOther;
    }
    public void setPueDesign(BigDecimal pueDesign)
    {
        this.pueDesign = pueDesign;
    }
    public BigDecimal getPueDesign()
    {
        return pueDesign;
    }
    public void setWaterDesign(String waterDesign)
    {
        this.waterDesign = waterDesign;
    }
    public String getWaterDesign()
    {
        return waterDesign;
    }
    public void setNetLevel(String netLevel)
    {
        this.netLevel = netLevel;
    }
    public String getNetLevel()
    {
        return netLevel;
    }
    public void setNetOperator(String netOperator)
    {
        this.netOperator = netOperator;
    }
    public String getNetOperator()
    {
        return netOperator;
    }
    public void setNetOperatorOther(String netOperatorOther)
    {
        this.netOperatorOther = netOperatorOther;
    }
    public String getNetOperatorOther()
    {
        return netOperatorOther;
    }
    public void setAirRefrigerationType(String airRefrigerationType)
    {
        this.airRefrigerationType = airRefrigerationType;
    }
    public String getAirRefrigerationType()
    {
        return airRefrigerationType;
    }
    public void setAirRefrigerationTypeOther(String airRefrigerationTypeOther)
    {
        this.airRefrigerationTypeOther = airRefrigerationTypeOther;
    }
    public String getAirRefrigerationTypeOther()
    {
        return airRefrigerationTypeOther;
    }
    public void setSort(Long sort)
    {
        this.sort = sort;
    }
    public Long getSort()
    {
        return sort;
    }
    public void setMessage(String message)
    {
        this.message = message;
    }
    public String getMessage()
    {
        return message;
    }
    public void setState(Long state)
    {
        this.state = state;
    }
    public Long getState()
    {
        return state;
    }
    public void setIsEnable(Integer isEnable)
    {
        this.isEnable = isEnable;
    }
    public Integer getIsEnable()
    {
        return isEnable;
    }
    public void setCreateUser(Long createUser)
    {
        this.createUser = createUser;
    }
    public Long getCreateUser()
    {
        return createUser;
    }
    public void setUpdateUser(Long updateUser)
    {
        this.updateUser = updateUser;
    }
    public Long getUpdateUser()
    {
        return updateUser;
    }
    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("buildId", getBuildId())
            .append("idcNo", getIdcNo())
            .append("type", getType())
            .append("businessType", getBusinessType())
            .append("frameNum", getFrameNum())
            .append("framePower", getFramePower())
            .append("name", getName())
            .append("province", getProvince())
            .append("city", getCity())
            .append("area", getArea())
            .append("address", getAddress())
            .append("addressExt", getAddressExt())
            .append("building", getBuilding())
            .append("creditCode", getCreditCode())
            .append("mainbody", getMainbody())
            .append("mainbodyHeader", getMainbodyHeader())
            .append("mainbodyType", getMainbodyType())
            .append("investment", getInvestment())
            .append("productionTime", getProductionTime())
            .append("dcBuildingLevel", getDcBuildingLevel())
            .append("dcAllArea", getDcAllArea())
            .append("dcItArea", getDcItArea())
            .append("buildingType", getBuildingType())
            .append("cityElectricityType", getCityElectricityType())
            .append("cityElectricityTypeOther", getCityElectricityTypeOther())
            .append("powerDistribution", getPowerDistribution())
            .append("electricityType", getElectricityType())
            .append("electricityTypeOther", getElectricityTypeOther())
            .append("pueDesign", getPueDesign())
            .append("waterDesign", getWaterDesign())
            .append("netLevel", getNetLevel())
            .append("netOperator", getNetOperator())
            .append("netOperatorOther", getNetOperatorOther())
            .append("airRefrigerationType", getAirRefrigerationType())
            .append("airRefrigerationTypeOther", getAirRefrigerationTypeOther())
            .append("sort", getSort())
            .append("message", getMessage())
            .append("state", getState())
            .append("isEnable", getIsEnable())
            .append("createUser", getCreateUser())
            .append("createTime", getCreateTime())
            .append("updateUser", getUpdateUser())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
cpzidc-bis/src/main/java/com/odcc/cpzidc/bis/domain/IdcUseComputility.java
New file
@@ -0,0 +1,223 @@
package com.odcc.cpzidc.bis.domain;
import java.math.BigDecimal;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.odcc.cpzidc.common.annotation.Excel;
import com.odcc.cpzidc.common.core.domain.BaseEntity;
/**
 * 算力指标信息对象 idc_use_computility
 *
 * @author ruoyi
 * @date 2024-10-10
 */
public class IdcUseComputility extends BaseEntity
{
    private static final long serialVersionUID = 1L;
    /** 序号 */
    private Long id;
    /** 数据中心ID */
    @Excel(name = "数据中心ID")
    private Long baseId;
    /** 日期节点 */
    @Excel(name = "日期节点")
    private String dateNode;
    /** 服务器总台数 */
    @Excel(name = "服务器总台数")
    private Long serviceAll;
    /** 否有统一的算力管理平台或算力统计数据 */
    @Excel(name = "否有统一的算力管理平台或算力统计数据")
    private Long haveManagerPlatform;
    /** 通用算力规模(PFLOPS,单精度,FP32) */
    @Excel(name = "通用算力规模(PFLOPS,单精度,FP32)")
    private BigDecimal computingGeneral;
    /** 智能算力规模(PFLOPS,半精度,FP16) */
    @Excel(name = "智能算力规模(PFLOPS,半精度,FP16)")
    private BigDecimal computingIntelligence16;
    /** 智能算力规模(PFLOPS,单精度,FP32) */
    @Excel(name = "智能算力规模(PFLOPS,单精度,FP32)")
    private BigDecimal computingIntelligence32;
    /** 通用 */
    @Excel(name = "通用")
    private String computingGeneralText;
    /** 智能 FP16 */
    @Excel(name = "智能 FP16")
    private String computingIntelligence16Text;
    /** 智能 FP32 */
    @Excel(name = "智能 FP32")
    private String computingIntelligence32Text;
    /** 排序 */
    @Excel(name = "排序")
    private Long sort;
    /** 更新者 */
    @Excel(name = "更新者")
    private Long updateUser;
    /** 创建者 */
    @Excel(name = "创建者")
    private Long createUser;
    public void setId(Long id)
    {
        this.id = id;
    }
    public Long getId()
    {
        return id;
    }
    public void setBaseId(Long baseId)
    {
        this.baseId = baseId;
    }
    public Long getBaseId()
    {
        return baseId;
    }
    public void setDateNode(String dateNode)
    {
        this.dateNode = dateNode;
    }
    public String getDateNode()
    {
        return dateNode;
    }
    public void setServiceAll(Long serviceAll)
    {
        this.serviceAll = serviceAll;
    }
    public Long getServiceAll()
    {
        return serviceAll;
    }
    public void setHaveManagerPlatform(Long haveManagerPlatform)
    {
        this.haveManagerPlatform = haveManagerPlatform;
    }
    public Long getHaveManagerPlatform()
    {
        return haveManagerPlatform;
    }
    public void setComputingGeneral(BigDecimal computingGeneral)
    {
        this.computingGeneral = computingGeneral;
    }
    public BigDecimal getComputingGeneral()
    {
        return computingGeneral;
    }
    public void setComputingIntelligence16(BigDecimal computingIntelligence16)
    {
        this.computingIntelligence16 = computingIntelligence16;
    }
    public BigDecimal getComputingIntelligence16()
    {
        return computingIntelligence16;
    }
    public void setComputingIntelligence32(BigDecimal computingIntelligence32)
    {
        this.computingIntelligence32 = computingIntelligence32;
    }
    public BigDecimal getComputingIntelligence32()
    {
        return computingIntelligence32;
    }
    public void setComputingGeneralText(String computingGeneralText)
    {
        this.computingGeneralText = computingGeneralText;
    }
    public String getComputingGeneralText()
    {
        return computingGeneralText;
    }
    public void setComputingIntelligence16Text(String computingIntelligence16Text)
    {
        this.computingIntelligence16Text = computingIntelligence16Text;
    }
    public String getComputingIntelligence16Text()
    {
        return computingIntelligence16Text;
    }
    public void setComputingIntelligence32Text(String computingIntelligence32Text)
    {
        this.computingIntelligence32Text = computingIntelligence32Text;
    }
    public String getComputingIntelligence32Text()
    {
        return computingIntelligence32Text;
    }
    public void setSort(Long sort)
    {
        this.sort = sort;
    }
    public Long getSort()
    {
        return sort;
    }
    public void setUpdateUser(Long updateUser)
    {
        this.updateUser = updateUser;
    }
    public Long getUpdateUser()
    {
        return updateUser;
    }
    public void setCreateUser(Long createUser)
    {
        this.createUser = createUser;
    }
    public Long getCreateUser()
    {
        return createUser;
    }
    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("baseId", getBaseId())
            .append("dateNode", getDateNode())
            .append("serviceAll", getServiceAll())
            .append("haveManagerPlatform", getHaveManagerPlatform())
            .append("computingGeneral", getComputingGeneral())
            .append("computingIntelligence16", getComputingIntelligence16())
            .append("computingIntelligence32", getComputingIntelligence32())
            .append("computingGeneralText", getComputingGeneralText())
            .append("computingIntelligence16Text", getComputingIntelligence16Text())
            .append("computingIntelligence32Text", getComputingIntelligence32Text())
            .append("sort", getSort())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .append("updateUser", getUpdateUser())
            .append("createUser", getCreateUser())
            .append("remark", getRemark())
            .toString();
    }
}
cpzidc-bis/src/main/java/com/odcc/cpzidc/bis/domain/IdcUseGreen.java
New file
@@ -0,0 +1,279 @@
package com.odcc.cpzidc.bis.domain;
import java.math.BigDecimal;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.odcc.cpzidc.common.annotation.Excel;
import com.odcc.cpzidc.common.core.domain.BaseEntity;
/**
 * 绿色运行指标信息对象 idc_use_green
 *
 * @author ruoyi
 * @date 2024-10-10
 */
public class IdcUseGreen extends BaseEntity
{
    private static final long serialVersionUID = 1L;
    /** 序号 */
    private Long id;
    /** 数据中心ID */
    @Excel(name = "数据中心ID")
    private Long baseId;
    /** 日期节点 */
    @Excel(name = "日期节点")
    private String dateNode;
    /** 本年度是否有改造 */
    @Excel(name = "本年度是否有改造")
    private Long reform;
    /** 本年度改造投资(万元) */
    @Excel(name = "本年度改造投资", readConverterExp = "万=元")
    private String investYear;
    /** 节能改造状态 */
    @Excel(name = "节能改造状态")
    private String energySavingStatus;
    /** 实测WUE */
    @Excel(name = "实测WUE")
    private String wueReality;
    /** 实测PUE */
    @Excel(name = "实测PUE")
    private BigDecimal pueReality;
    /** 全年用水量(吨) */
    @Excel(name = "全年用水量", readConverterExp = "吨=")
    private BigDecimal waterYearActual;
    /** 全年电力总消耗量(万千瓦时) */
    @Excel(name = "全年电力总消耗量", readConverterExp = "万=千瓦时")
    private BigDecimal electricityYearActual;
    /** 全年IT系统耗电量(万千瓦时) */
    @Excel(name = "全年IT系统耗电量", readConverterExp = "万=千瓦时")
    private Long electricityItYearActual;
    /** 全年清洁能源利用量(万千瓦时) */
    @Excel(name = "全年清洁能源利用量", readConverterExp = "万=千瓦时")
    private BigDecimal cleanEnergyDosage;
    /** 清洁能源利用率(%) */
    @Excel(name = "清洁能源利用率", readConverterExp = "%=")
    private String cleanEnergyRate;
    /** 清洁能源类型 */
    @Excel(name = "清洁能源类型")
    private String cleanEnergyType;
    /** 清洁能源来源 */
    @Excel(name = "清洁能源来源")
    private BigDecimal cleanEnergyFrom;
    /** 排序 */
    @Excel(name = "排序")
    private Long sort;
    /** 更新者 */
    @Excel(name = "更新者")
    private Long updateUser;
    /** 创建者 */
    @Excel(name = "创建者")
    private Long createUser;
    public void setId(Long id)
    {
        this.id = id;
    }
    public Long getId()
    {
        return id;
    }
    public void setBaseId(Long baseId)
    {
        this.baseId = baseId;
    }
    public Long getBaseId()
    {
        return baseId;
    }
    public void setDateNode(String dateNode)
    {
        this.dateNode = dateNode;
    }
    public String getDateNode()
    {
        return dateNode;
    }
    public void setReform(Long reform)
    {
        this.reform = reform;
    }
    public Long getReform()
    {
        return reform;
    }
    public void setInvestYear(String investYear)
    {
        this.investYear = investYear;
    }
    public String getInvestYear()
    {
        return investYear;
    }
    public void setEnergySavingStatus(String energySavingStatus)
    {
        this.energySavingStatus = energySavingStatus;
    }
    public String getEnergySavingStatus()
    {
        return energySavingStatus;
    }
    public void setWueReality(String wueReality)
    {
        this.wueReality = wueReality;
    }
    public String getWueReality()
    {
        return wueReality;
    }
    public void setPueReality(BigDecimal pueReality)
    {
        this.pueReality = pueReality;
    }
    public BigDecimal getPueReality()
    {
        return pueReality;
    }
    public void setWaterYearActual(BigDecimal waterYearActual)
    {
        this.waterYearActual = waterYearActual;
    }
    public BigDecimal getWaterYearActual()
    {
        return waterYearActual;
    }
    public void setElectricityYearActual(BigDecimal electricityYearActual)
    {
        this.electricityYearActual = electricityYearActual;
    }
    public BigDecimal getElectricityYearActual()
    {
        return electricityYearActual;
    }
    public void setElectricityItYearActual(Long electricityItYearActual)
    {
        this.electricityItYearActual = electricityItYearActual;
    }
    public Long getElectricityItYearActual()
    {
        return electricityItYearActual;
    }
    public void setCleanEnergyDosage(BigDecimal cleanEnergyDosage)
    {
        this.cleanEnergyDosage = cleanEnergyDosage;
    }
    public BigDecimal getCleanEnergyDosage()
    {
        return cleanEnergyDosage;
    }
    public void setCleanEnergyRate(String cleanEnergyRate)
    {
        this.cleanEnergyRate = cleanEnergyRate;
    }
    public String getCleanEnergyRate()
    {
        return cleanEnergyRate;
    }
    public void setCleanEnergyType(String cleanEnergyType)
    {
        this.cleanEnergyType = cleanEnergyType;
    }
    public String getCleanEnergyType()
    {
        return cleanEnergyType;
    }
    public void setCleanEnergyFrom(BigDecimal cleanEnergyFrom)
    {
        this.cleanEnergyFrom = cleanEnergyFrom;
    }
    public BigDecimal getCleanEnergyFrom()
    {
        return cleanEnergyFrom;
    }
    public void setSort(Long sort)
    {
        this.sort = sort;
    }
    public Long getSort()
    {
        return sort;
    }
    public void setUpdateUser(Long updateUser)
    {
        this.updateUser = updateUser;
    }
    public Long getUpdateUser()
    {
        return updateUser;
    }
    public void setCreateUser(Long createUser)
    {
        this.createUser = createUser;
    }
    public Long getCreateUser()
    {
        return createUser;
    }
    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("baseId", getBaseId())
            .append("dateNode", getDateNode())
            .append("reform", getReform())
            .append("investYear", getInvestYear())
            .append("energySavingStatus", getEnergySavingStatus())
            .append("wueReality", getWueReality())
            .append("pueReality", getPueReality())
            .append("waterYearActual", getWaterYearActual())
            .append("electricityYearActual", getElectricityYearActual())
            .append("electricityItYearActual", getElectricityItYearActual())
            .append("cleanEnergyDosage", getCleanEnergyDosage())
            .append("cleanEnergyRate", getCleanEnergyRate())
            .append("cleanEnergyType", getCleanEnergyType())
            .append("cleanEnergyFrom", getCleanEnergyFrom())
            .append("sort", getSort())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .append("updateUser", getUpdateUser())
            .append("createUser", getCreateUser())
            .append("remark", getRemark())
            .toString();
    }
}
cpzidc-bis/src/main/java/com/odcc/cpzidc/bis/domain/IdcUseInfrastructure.java
New file
@@ -0,0 +1,433 @@
package com.odcc.cpzidc.bis.domain;
import java.math.BigDecimal;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.odcc.cpzidc.common.annotation.Excel;
import com.odcc.cpzidc.common.core.domain.BaseEntity;
/**
 * 基础设施信息对象 idc_use_infrastructure
 *
 * @author ruoyi
 * @date 2024-10-10
 */
public class IdcUseInfrastructure extends BaseEntity
{
    private static final long serialVersionUID = 1L;
    /** 序号 */
    private Long id;
    /** 数据中心ID */
    @Excel(name = "数据中心ID")
    private Long baseId;
    /** 日期节点 */
    @Excel(name = "日期节点")
    private String dateNode;
    /** 填表联系人 */
    @Excel(name = "填表联系人")
    private String formName;
    /** 填表电话 */
    @Excel(name = "填表电话")
    private String formTel;
    /** 已完成基础机电配置机架数 */
    @Excel(name = "已完成基础机电配置机架数")
    private Long frameCompBase;
    /** 已完成末端机电配置机架数 */
    @Excel(name = "已完成末端机电配置机架数")
    private Long frameCompEnd;
    /** 已上电机架数 */
    @Excel(name = "已上电机架数")
    private String frameElectricity;
    /** 云计算技术部署机架占比 */
    @Excel(name = "云计算技术部署机架占比")
    private String percentageCloud;
    /** 电价 */
    @Excel(name = "电价")
    private BigDecimal electricityPrice;
    /** 数据中心年度收入(万元) */
    @Excel(name = "数据中心年度收入(万元)")
    private String annual;
    /** 数据中心年度运营成本(万元) */
    @Excel(name = "数据中心年度运营成本(万元)")
    private String cost;
    /** 政务业务占比 */
    @Excel(name = "政务业务占比")
    private String bisPercentZhengwu;
    /** 企业业务占比 */
    @Excel(name = "企业业务占比")
    private String bisPercentQiye;
    /** 金融业务占比 */
    @Excel(name = "金融业务占比")
    private String bisPercentJinrong;
    /** 互联网.公有云占比 */
    @Excel(name = "互联网.公有云占比")
    private String bisPercentInternetGongyouyun;
    /** 互联网.网站占比 */
    @Excel(name = "互联网.网站占比")
    private String bisPercentInternetWangzhan;
    /** 互联网.视频占比 */
    @Excel(name = "互联网.视频占比")
    private String bisPercentInternetShiping;
    /** 互联网.ai占比 */
    @Excel(name = "互联网.ai占比")
    private String bisPercentInternetAi;
    /** 互联网.电商占比 */
    @Excel(name = "互联网.电商占比")
    private String bisPercentInternetDianshang;
    /** 互联网.游戏占比 */
    @Excel(name = "互联网.游戏占比")
    private String bisPercentInternetYouxi;
    /** 互联网.支付占比 */
    @Excel(name = "互联网.支付占比")
    private String bisPercentInternetZhifu;
    /** 互联网.其他占比 */
    @Excel(name = "互联网.其他占比")
    private String bisPercentInternetOther;
    /** 其他占比 */
    @Excel(name = "其他占比")
    private String bisPercentOther;
    /** 数据中心相关发明专利、软著授权总数(个) */
    @Excel(name = "数据中心相关发明专利、软著授权总数", readConverterExp = "个=")
    private String sumChanquan;
    /** 运维人员数量(个人) */
    @Excel(name = "运维人员数量", readConverterExp = "个=人")
    private String itOperation;
    /** 排序 */
    @Excel(name = "排序")
    private Long sort;
    /** 创建者 */
    @Excel(name = "创建者")
    private Long createUser;
    /** 更新者 */
    @Excel(name = "更新者")
    private Long updateUser;
    public void setId(Long id)
    {
        this.id = id;
    }
    public Long getId()
    {
        return id;
    }
    public void setBaseId(Long baseId)
    {
        this.baseId = baseId;
    }
    public Long getBaseId()
    {
        return baseId;
    }
    public void setDateNode(String dateNode)
    {
        this.dateNode = dateNode;
    }
    public String getDateNode()
    {
        return dateNode;
    }
    public void setFormName(String formName)
    {
        this.formName = formName;
    }
    public String getFormName()
    {
        return formName;
    }
    public void setFormTel(String formTel)
    {
        this.formTel = formTel;
    }
    public String getFormTel()
    {
        return formTel;
    }
    public void setFrameCompBase(Long frameCompBase)
    {
        this.frameCompBase = frameCompBase;
    }
    public Long getFrameCompBase()
    {
        return frameCompBase;
    }
    public void setFrameCompEnd(Long frameCompEnd)
    {
        this.frameCompEnd = frameCompEnd;
    }
    public Long getFrameCompEnd()
    {
        return frameCompEnd;
    }
    public void setFrameElectricity(String frameElectricity)
    {
        this.frameElectricity = frameElectricity;
    }
    public String getFrameElectricity()
    {
        return frameElectricity;
    }
    public void setPercentageCloud(String percentageCloud)
    {
        this.percentageCloud = percentageCloud;
    }
    public String getPercentageCloud()
    {
        return percentageCloud;
    }
    public void setElectricityPrice(BigDecimal electricityPrice)
    {
        this.electricityPrice = electricityPrice;
    }
    public BigDecimal getElectricityPrice()
    {
        return electricityPrice;
    }
    public void setAnnual(String annual)
    {
        this.annual = annual;
    }
    public String getAnnual()
    {
        return annual;
    }
    public void setCost(String cost)
    {
        this.cost = cost;
    }
    public String getCost()
    {
        return cost;
    }
    public void setBisPercentZhengwu(String bisPercentZhengwu)
    {
        this.bisPercentZhengwu = bisPercentZhengwu;
    }
    public String getBisPercentZhengwu()
    {
        return bisPercentZhengwu;
    }
    public void setBisPercentQiye(String bisPercentQiye)
    {
        this.bisPercentQiye = bisPercentQiye;
    }
    public String getBisPercentQiye()
    {
        return bisPercentQiye;
    }
    public void setBisPercentJinrong(String bisPercentJinrong)
    {
        this.bisPercentJinrong = bisPercentJinrong;
    }
    public String getBisPercentJinrong()
    {
        return bisPercentJinrong;
    }
    public void setBisPercentInternetGongyouyun(String bisPercentInternetGongyouyun)
    {
        this.bisPercentInternetGongyouyun = bisPercentInternetGongyouyun;
    }
    public String getBisPercentInternetGongyouyun()
    {
        return bisPercentInternetGongyouyun;
    }
    public void setBisPercentInternetWangzhan(String bisPercentInternetWangzhan)
    {
        this.bisPercentInternetWangzhan = bisPercentInternetWangzhan;
    }
    public String getBisPercentInternetWangzhan()
    {
        return bisPercentInternetWangzhan;
    }
    public void setBisPercentInternetShiping(String bisPercentInternetShiping)
    {
        this.bisPercentInternetShiping = bisPercentInternetShiping;
    }
    public String getBisPercentInternetShiping()
    {
        return bisPercentInternetShiping;
    }
    public void setBisPercentInternetAi(String bisPercentInternetAi)
    {
        this.bisPercentInternetAi = bisPercentInternetAi;
    }
    public String getBisPercentInternetAi()
    {
        return bisPercentInternetAi;
    }
    public void setBisPercentInternetDianshang(String bisPercentInternetDianshang)
    {
        this.bisPercentInternetDianshang = bisPercentInternetDianshang;
    }
    public String getBisPercentInternetDianshang()
    {
        return bisPercentInternetDianshang;
    }
    public void setBisPercentInternetYouxi(String bisPercentInternetYouxi)
    {
        this.bisPercentInternetYouxi = bisPercentInternetYouxi;
    }
    public String getBisPercentInternetYouxi()
    {
        return bisPercentInternetYouxi;
    }
    public void setBisPercentInternetZhifu(String bisPercentInternetZhifu)
    {
        this.bisPercentInternetZhifu = bisPercentInternetZhifu;
    }
    public String getBisPercentInternetZhifu()
    {
        return bisPercentInternetZhifu;
    }
    public void setBisPercentInternetOther(String bisPercentInternetOther)
    {
        this.bisPercentInternetOther = bisPercentInternetOther;
    }
    public String getBisPercentInternetOther()
    {
        return bisPercentInternetOther;
    }
    public void setBisPercentOther(String bisPercentOther)
    {
        this.bisPercentOther = bisPercentOther;
    }
    public String getBisPercentOther()
    {
        return bisPercentOther;
    }
    public void setSumChanquan(String sumChanquan)
    {
        this.sumChanquan = sumChanquan;
    }
    public String getSumChanquan()
    {
        return sumChanquan;
    }
    public void setItOperation(String itOperation)
    {
        this.itOperation = itOperation;
    }
    public String getItOperation()
    {
        return itOperation;
    }
    public void setSort(Long sort)
    {
        this.sort = sort;
    }
    public Long getSort()
    {
        return sort;
    }
    public void setCreateUser(Long createUser)
    {
        this.createUser = createUser;
    }
    public Long getCreateUser()
    {
        return createUser;
    }
    public void setUpdateUser(Long updateUser)
    {
        this.updateUser = updateUser;
    }
    public Long getUpdateUser()
    {
        return updateUser;
    }
    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("baseId", getBaseId())
            .append("dateNode", getDateNode())
            .append("formName", getFormName())
            .append("formTel", getFormTel())
            .append("frameCompBase", getFrameCompBase())
            .append("frameCompEnd", getFrameCompEnd())
            .append("frameElectricity", getFrameElectricity())
            .append("percentageCloud", getPercentageCloud())
            .append("electricityPrice", getElectricityPrice())
            .append("annual", getAnnual())
            .append("cost", getCost())
            .append("bisPercentZhengwu", getBisPercentZhengwu())
            .append("bisPercentQiye", getBisPercentQiye())
            .append("bisPercentJinrong", getBisPercentJinrong())
            .append("bisPercentInternetGongyouyun", getBisPercentInternetGongyouyun())
            .append("bisPercentInternetWangzhan", getBisPercentInternetWangzhan())
            .append("bisPercentInternetShiping", getBisPercentInternetShiping())
            .append("bisPercentInternetAi", getBisPercentInternetAi())
            .append("bisPercentInternetDianshang", getBisPercentInternetDianshang())
            .append("bisPercentInternetYouxi", getBisPercentInternetYouxi())
            .append("bisPercentInternetZhifu", getBisPercentInternetZhifu())
            .append("bisPercentInternetOther", getBisPercentInternetOther())
            .append("bisPercentOther", getBisPercentOther())
            .append("sumChanquan", getSumChanquan())
            .append("itOperation", getItOperation())
            .append("sort", getSort())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .append("createUser", getCreateUser())
            .append("updateUser", getUpdateUser())
            .append("remark", getRemark())
            .toString();
    }
}
cpzidc-bis/src/main/java/com/odcc/cpzidc/bis/domain/IdcUseStorage.java
New file
@@ -0,0 +1,390 @@
package com.odcc.cpzidc.bis.domain;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.odcc.cpzidc.common.annotation.Excel;
import com.odcc.cpzidc.common.core.domain.BaseEntity;
/**
 * 存力指标信息对象 idc_use_storage
 *
 * @author ruoyi
 * @date 2024-10-10
 */
public class IdcUseStorage extends BaseEntity
{
    private static final long serialVersionUID = 1L;
    /** 序号 */
    private Long id;
    /** 数据中心ID */
    @Excel(name = "数据中心ID")
    private Long baseId;
    /** 日期节点 */
    @Excel(name = "日期节点")
    private String dateNode;
    /** 存储管理平台 */
    @Excel(name = "存储管理平台")
    private Long haveStoragePlatform;
    /** 存储总容量(TB) */
    @Excel(name = "存储总容量(TB)")
    private String storageCapacityAll;
    /** SSD存储容量(TB) */
    @Excel(name = "SSD存储容量", readConverterExp = "SSD存储容量(TB)")
    private String storageCapacitySsd;
    /** 存储容量利用率(%) */
    @Excel(name = "存储容量利用率(%)")
    private String storageCapacityRate;
    /** 存储型服务器台数 */
    @Excel(name = "存储型服务器台数")
    private String serverStorageNum;
    /** 典型单台容量(TB) */
    @Excel(name = "典型单台容量(TB)")
    private String serverStorageCapacity;
    /** 使用了SSD硬盘的台数(台) */
    @Excel(name = "使用了SSD硬盘的台数(台)")
    private String serverStorageSsd;
    /** 典型单台存储型服务器SSD硬盘容量(TB) */
    @Excel(name = "典型单台存储型服务器SSD硬盘容量(TB)")
    private String serverStorageSsdCapacity;
    /** 计算型服务器台数 */
    @Excel(name = "计算型服务器台数")
    private String serverCalculationNum;
    /** 计算型典型单台容量(TB) */
    @Excel(name = "计算型典型单台容量(TB)")
    private String serverCalculationCapacity;
    /** 使用了SSD硬盘的台数 */
    @Excel(name = "使用了SSD硬盘的台数")
    private String serverCalculationSsd;
    /** 典型单台计算型服务器SSD硬盘容量(TB) */
    @Excel(name = "典型单台计算型服务器SSD硬盘容量(TB)")
    private String serverCalculationSsdCapacity;
    /** 磁盘阵列台数 */
    @Excel(name = "磁盘阵列台数")
    private String serverDiskNum;
    /** 典型单台容量(TB) */
    @Excel(name = "典型单台容量(TB)")
    private String serverDiskCapacity;
    /** 使用了SSD硬盘的台数 */
    @Excel(name = "使用了SSD硬盘的台数")
    private String serverSsdNum;
    /** 典型单台磁盘阵列SSD硬盘容量(TB) */
    @Excel(name = "典型单台磁盘阵列SSD硬盘容量(TB)")
    private String serverSsdCapacity;
    /** 台数、节点数 */
    @Excel(name = "台数、节点数")
    private String serverExternalNumber;
    /** 典型单台/单节点的容量(TB) */
    @Excel(name = "典型单台/单节点的容量(TB)")
    private String serverExternalCapacity;
    /** 包含固态硬盘的外置存储台数 */
    @Excel(name = "包含固态硬盘的外置存储台数")
    private String serverExternalSsdNumber;
    /** 包含固态硬盘的外置存储单台容量(TB) */
    @Excel(name = "包含固态硬盘的外置存储单台容量", readConverterExp = "包含固态硬盘的外置存储单台容量(TB)")
    private String serverExternalSsdCapacity;
    /** 排序 */
    @Excel(name = "排序")
    private Long Sort;
    /** 更新者 */
    @Excel(name = "更新者")
    private Long updateUser;
    /** 创建者 */
    @Excel(name = "创建者")
    private Long createUser;
    public void setId(Long id)
    {
        this.id = id;
    }
    public Long getId()
    {
        return id;
    }
    public void setBaseId(Long baseId)
    {
        this.baseId = baseId;
    }
    public Long getBaseId()
    {
        return baseId;
    }
    public void setDateNode(String dateNode)
    {
        this.dateNode = dateNode;
    }
    public String getDateNode()
    {
        return dateNode;
    }
    public void setHaveStoragePlatform(Long haveStoragePlatform)
    {
        this.haveStoragePlatform = haveStoragePlatform;
    }
    public Long getHaveStoragePlatform()
    {
        return haveStoragePlatform;
    }
    public void setStorageCapacityAll(String storageCapacityAll)
    {
        this.storageCapacityAll = storageCapacityAll;
    }
    public String getStorageCapacityAll()
    {
        return storageCapacityAll;
    }
    public void setStorageCapacitySsd(String storageCapacitySsd)
    {
        this.storageCapacitySsd = storageCapacitySsd;
    }
    public String getStorageCapacitySsd()
    {
        return storageCapacitySsd;
    }
    public void setStorageCapacityRate(String storageCapacityRate)
    {
        this.storageCapacityRate = storageCapacityRate;
    }
    public String getStorageCapacityRate()
    {
        return storageCapacityRate;
    }
    public void setServerStorageNum(String serverStorageNum)
    {
        this.serverStorageNum = serverStorageNum;
    }
    public String getServerStorageNum()
    {
        return serverStorageNum;
    }
    public void setServerStorageCapacity(String serverStorageCapacity)
    {
        this.serverStorageCapacity = serverStorageCapacity;
    }
    public String getServerStorageCapacity()
    {
        return serverStorageCapacity;
    }
    public void setServerStorageSsd(String serverStorageSsd)
    {
        this.serverStorageSsd = serverStorageSsd;
    }
    public String getServerStorageSsd()
    {
        return serverStorageSsd;
    }
    public void setServerStorageSsdCapacity(String serverStorageSsdCapacity)
    {
        this.serverStorageSsdCapacity = serverStorageSsdCapacity;
    }
    public String getServerStorageSsdCapacity()
    {
        return serverStorageSsdCapacity;
    }
    public void setServerCalculationNum(String serverCalculationNum)
    {
        this.serverCalculationNum = serverCalculationNum;
    }
    public String getServerCalculationNum()
    {
        return serverCalculationNum;
    }
    public void setServerCalculationCapacity(String serverCalculationCapacity)
    {
        this.serverCalculationCapacity = serverCalculationCapacity;
    }
    public String getServerCalculationCapacity()
    {
        return serverCalculationCapacity;
    }
    public void setServerCalculationSsd(String serverCalculationSsd)
    {
        this.serverCalculationSsd = serverCalculationSsd;
    }
    public String getServerCalculationSsd()
    {
        return serverCalculationSsd;
    }
    public void setServerCalculationSsdCapacity(String serverCalculationSsdCapacity)
    {
        this.serverCalculationSsdCapacity = serverCalculationSsdCapacity;
    }
    public String getServerCalculationSsdCapacity()
    {
        return serverCalculationSsdCapacity;
    }
    public void setServerDiskNum(String serverDiskNum)
    {
        this.serverDiskNum = serverDiskNum;
    }
    public String getServerDiskNum()
    {
        return serverDiskNum;
    }
    public void setServerDiskCapacity(String serverDiskCapacity)
    {
        this.serverDiskCapacity = serverDiskCapacity;
    }
    public String getServerDiskCapacity()
    {
        return serverDiskCapacity;
    }
    public void setServerSsdNum(String serverSsdNum)
    {
        this.serverSsdNum = serverSsdNum;
    }
    public String getServerSsdNum()
    {
        return serverSsdNum;
    }
    public void setServerSsdCapacity(String serverSsdCapacity)
    {
        this.serverSsdCapacity = serverSsdCapacity;
    }
    public String getServerSsdCapacity()
    {
        return serverSsdCapacity;
    }
    public void setServerExternalNumber(String serverExternalNumber)
    {
        this.serverExternalNumber = serverExternalNumber;
    }
    public String getServerExternalNumber()
    {
        return serverExternalNumber;
    }
    public void setServerExternalCapacity(String serverExternalCapacity)
    {
        this.serverExternalCapacity = serverExternalCapacity;
    }
    public String getServerExternalCapacity()
    {
        return serverExternalCapacity;
    }
    public void setServerExternalSsdNumber(String serverExternalSsdNumber)
    {
        this.serverExternalSsdNumber = serverExternalSsdNumber;
    }
    public String getServerExternalSsdNumber()
    {
        return serverExternalSsdNumber;
    }
    public void setServerExternalSsdCapacity(String serverExternalSsdCapacity)
    {
        this.serverExternalSsdCapacity = serverExternalSsdCapacity;
    }
    public String getServerExternalSsdCapacity()
    {
        return serverExternalSsdCapacity;
    }
    public void setSort(Long Sort)
    {
        this.Sort = Sort;
    }
    public Long getSort()
    {
        return Sort;
    }
    public void setUpdateUser(Long updateUser)
    {
        this.updateUser = updateUser;
    }
    public Long getUpdateUser()
    {
        return updateUser;
    }
    public void setCreateUser(Long createUser)
    {
        this.createUser = createUser;
    }
    public Long getCreateUser()
    {
        return createUser;
    }
    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("baseId", getBaseId())
            .append("dateNode", getDateNode())
            .append("haveStoragePlatform", getHaveStoragePlatform())
            .append("storageCapacityAll", getStorageCapacityAll())
            .append("storageCapacitySsd", getStorageCapacitySsd())
            .append("storageCapacityRate", getStorageCapacityRate())
            .append("serverStorageNum", getServerStorageNum())
            .append("serverStorageCapacity", getServerStorageCapacity())
            .append("serverStorageSsd", getServerStorageSsd())
            .append("serverStorageSsdCapacity", getServerStorageSsdCapacity())
            .append("serverCalculationNum", getServerCalculationNum())
            .append("serverCalculationCapacity", getServerCalculationCapacity())
            .append("serverCalculationSsd", getServerCalculationSsd())
            .append("serverCalculationSsdCapacity", getServerCalculationSsdCapacity())
            .append("serverDiskNum", getServerDiskNum())
            .append("serverDiskCapacity", getServerDiskCapacity())
            .append("serverSsdNum", getServerSsdNum())
            .append("serverSsdCapacity", getServerSsdCapacity())
            .append("serverExternalNumber", getServerExternalNumber())
            .append("serverExternalCapacity", getServerExternalCapacity())
            .append("serverExternalSsdNumber", getServerExternalSsdNumber())
            .append("serverExternalSsdCapacity", getServerExternalSsdCapacity())
            .append("Sort", getSort())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .append("updateUser", getUpdateUser())
            .append("createUser", getCreateUser())
            .append("remark", getRemark())
            .toString();
    }
}
cpzidc-bis/src/main/java/com/odcc/cpzidc/bis/domain/IdcUseTransport.java
New file
@@ -0,0 +1,166 @@
package com.odcc.cpzidc.bis.domain;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.odcc.cpzidc.common.annotation.Excel;
import com.odcc.cpzidc.common.core.domain.BaseEntity;
/**
 * 运力指标信息对象 idc_use_transport
 *
 * @author ruoyi
 * @date 2024-10-10
 */
public class IdcUseTransport extends BaseEntity
{
    private static final long serialVersionUID = 1L;
    /** 序号 */
    private Long id;
    /** 数据中心ID */
    @Excel(name = "数据中心ID")
    private Long baseId;
    /** 日期节点 */
    @Excel(name = "日期节点")
    private String dateNode;
    /** 算力中心网络出口带宽(Gbps) */
    @Excel(name = "算力中心网络出口带宽", readConverterExp = "G=bps")
    private String idcBandwidthExport;
    /** 算力中心内IB技术部署率(%) */
    @Excel(name = "算力中心内IB技术部署率", readConverterExp = "%=")
    private String idcIbRate;
    /** 算力中心内RoCE等技术部署率(%) */
    @Excel(name = "算力中心内RoCE等技术部署率", readConverterExp = "%=")
    private String idcRoceRate;
    /** 算力中心内全光交换技术部署率(%) */
    @Excel(name = "算力中心内全光交换技术部署率", readConverterExp = "%=")
    private String idcOpticalRate;
    /** 排序 */
    @Excel(name = "排序")
    private Long Sort;
    /** 更新者 */
    @Excel(name = "更新者")
    private Long updateUser;
    /** 创建者 */
    @Excel(name = "创建者")
    private Long createUser;
    public void setId(Long id)
    {
        this.id = id;
    }
    public Long getId()
    {
        return id;
    }
    public void setBaseId(Long baseId)
    {
        this.baseId = baseId;
    }
    public Long getBaseId()
    {
        return baseId;
    }
    public void setDateNode(String dateNode)
    {
        this.dateNode = dateNode;
    }
    public String getDateNode()
    {
        return dateNode;
    }
    public void setIdcBandwidthExport(String idcBandwidthExport)
    {
        this.idcBandwidthExport = idcBandwidthExport;
    }
    public String getIdcBandwidthExport()
    {
        return idcBandwidthExport;
    }
    public void setIdcIbRate(String idcIbRate)
    {
        this.idcIbRate = idcIbRate;
    }
    public String getIdcIbRate()
    {
        return idcIbRate;
    }
    public void setIdcRoceRate(String idcRoceRate)
    {
        this.idcRoceRate = idcRoceRate;
    }
    public String getIdcRoceRate()
    {
        return idcRoceRate;
    }
    public void setIdcOpticalRate(String idcOpticalRate)
    {
        this.idcOpticalRate = idcOpticalRate;
    }
    public String getIdcOpticalRate()
    {
        return idcOpticalRate;
    }
    public void setSort(Long Sort)
    {
        this.Sort = Sort;
    }
    public Long getSort()
    {
        return Sort;
    }
    public void setUpdateUser(Long updateUser)
    {
        this.updateUser = updateUser;
    }
    public Long getUpdateUser()
    {
        return updateUser;
    }
    public void setCreateUser(Long createUser)
    {
        this.createUser = createUser;
    }
    public Long getCreateUser()
    {
        return createUser;
    }
    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("baseId", getBaseId())
            .append("dateNode", getDateNode())
            .append("idcBandwidthExport", getIdcBandwidthExport())
            .append("idcIbRate", getIdcIbRate())
            .append("idcRoceRate", getIdcRoceRate())
            .append("idcOpticalRate", getIdcOpticalRate())
            .append("Sort", getSort())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .append("updateUser", getUpdateUser())
            .append("createUser", getCreateUser())
            .append("remark", getRemark())
            .toString();
    }
}
cpzidc-bis/src/main/java/com/odcc/cpzidc/bis/mapper/IdcBuildBaseMapper.java
New file
@@ -0,0 +1,61 @@
package com.odcc.cpzidc.bis.mapper;
import java.util.List;
import com.odcc.cpzidc.bis.domain.IdcBuildBase;
/**
 * 在建数据中心Mapper接口
 *
 * @author ruoyi
 * @date 2024-10-10
 */
public interface IdcBuildBaseMapper
{
    /**
     * 查询在建数据中心
     *
     * @param id 在建数据中心主键
     * @return 在建数据中心
     */
    public IdcBuildBase selectIdcBuildBaseById(Long id);
    /**
     * 查询在建数据中心列表
     *
     * @param idcBuildBase 在建数据中心
     * @return 在建数据中心集合
     */
    public List<IdcBuildBase> selectIdcBuildBaseList(IdcBuildBase idcBuildBase);
    /**
     * 新增在建数据中心
     *
     * @param idcBuildBase 在建数据中心
     * @return 结果
     */
    public int insertIdcBuildBase(IdcBuildBase idcBuildBase);
    /**
     * 修改在建数据中心
     *
     * @param idcBuildBase 在建数据中心
     * @return 结果
     */
    public int updateIdcBuildBase(IdcBuildBase idcBuildBase);
    /**
     * 删除在建数据中心
     *
     * @param id 在建数据中心主键
     * @return 结果
     */
    public int deleteIdcBuildBaseById(Long id);
    /**
     * 批量删除在建数据中心
     *
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteIdcBuildBaseByIds(Long[] ids);
}
cpzidc-bis/src/main/java/com/odcc/cpzidc/bis/mapper/IdcBuildExtendMapper.java
New file
@@ -0,0 +1,61 @@
package com.odcc.cpzidc.bis.mapper;
import java.util.List;
import com.odcc.cpzidc.bis.domain.IdcBuildExtend;
/**
 * IDC在建扩展信息Mapper接口
 *
 * @author ruoyi
 * @date 2024-10-10
 */
public interface IdcBuildExtendMapper
{
    /**
     * 查询IDC在建扩展信息
     *
     * @param id IDC在建扩展信息主键
     * @return IDC在建扩展信息
     */
    public IdcBuildExtend selectIdcBuildExtendById(Long id);
    /**
     * 查询IDC在建扩展信息列表
     *
     * @param idcBuildExtend IDC在建扩展信息
     * @return IDC在建扩展信息集合
     */
    public List<IdcBuildExtend> selectIdcBuildExtendList(IdcBuildExtend idcBuildExtend);
    /**
     * 新增IDC在建扩展信息
     *
     * @param idcBuildExtend IDC在建扩展信息
     * @return 结果
     */
    public int insertIdcBuildExtend(IdcBuildExtend idcBuildExtend);
    /**
     * 修改IDC在建扩展信息
     *
     * @param idcBuildExtend IDC在建扩展信息
     * @return 结果
     */
    public int updateIdcBuildExtend(IdcBuildExtend idcBuildExtend);
    /**
     * 删除IDC在建扩展信息
     *
     * @param id IDC在建扩展信息主键
     * @return 结果
     */
    public int deleteIdcBuildExtendById(Long id);
    /**
     * 批量删除IDC在建扩展信息
     *
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteIdcBuildExtendByIds(Long[] ids);
}
cpzidc-bis/src/main/java/com/odcc/cpzidc/bis/mapper/IdcUseBaseMapper.java
New file
@@ -0,0 +1,61 @@
package com.odcc.cpzidc.bis.mapper;
import java.util.List;
import com.odcc.cpzidc.bis.domain.IdcUseBase;
/**
 * 在用数据中心Mapper接口
 *
 * @author ruoyi
 * @date 2024-10-10
 */
public interface IdcUseBaseMapper
{
    /**
     * 查询在用数据中心
     *
     * @param id 在用数据中心主键
     * @return 在用数据中心
     */
    public IdcUseBase selectIdcUseBaseById(Long id);
    /**
     * 查询在用数据中心列表
     *
     * @param idcUseBase 在用数据中心
     * @return 在用数据中心集合
     */
    public List<IdcUseBase> selectIdcUseBaseList(IdcUseBase idcUseBase);
    /**
     * 新增在用数据中心
     *
     * @param idcUseBase 在用数据中心
     * @return 结果
     */
    public int insertIdcUseBase(IdcUseBase idcUseBase);
    /**
     * 修改在用数据中心
     *
     * @param idcUseBase 在用数据中心
     * @return 结果
     */
    public int updateIdcUseBase(IdcUseBase idcUseBase);
    /**
     * 删除在用数据中心
     *
     * @param id 在用数据中心主键
     * @return 结果
     */
    public int deleteIdcUseBaseById(Long id);
    /**
     * 批量删除在用数据中心
     *
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteIdcUseBaseByIds(Long[] ids);
}
cpzidc-bis/src/main/java/com/odcc/cpzidc/bis/mapper/IdcUseComputilityMapper.java
New file
@@ -0,0 +1,61 @@
package com.odcc.cpzidc.bis.mapper;
import java.util.List;
import com.odcc.cpzidc.bis.domain.IdcUseComputility;
/**
 * 算力指标信息Mapper接口
 *
 * @author ruoyi
 * @date 2024-10-10
 */
public interface IdcUseComputilityMapper
{
    /**
     * 查询算力指标信息
     *
     * @param id 算力指标信息主键
     * @return 算力指标信息
     */
    public IdcUseComputility selectIdcUseComputilityById(Long id);
    /**
     * 查询算力指标信息列表
     *
     * @param idcUseComputility 算力指标信息
     * @return 算力指标信息集合
     */
    public List<IdcUseComputility> selectIdcUseComputilityList(IdcUseComputility idcUseComputility);
    /**
     * 新增算力指标信息
     *
     * @param idcUseComputility 算力指标信息
     * @return 结果
     */
    public int insertIdcUseComputility(IdcUseComputility idcUseComputility);
    /**
     * 修改算力指标信息
     *
     * @param idcUseComputility 算力指标信息
     * @return 结果
     */
    public int updateIdcUseComputility(IdcUseComputility idcUseComputility);
    /**
     * 删除算力指标信息
     *
     * @param id 算力指标信息主键
     * @return 结果
     */
    public int deleteIdcUseComputilityById(Long id);
    /**
     * 批量删除算力指标信息
     *
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteIdcUseComputilityByIds(Long[] ids);
}
cpzidc-bis/src/main/java/com/odcc/cpzidc/bis/mapper/IdcUseGreenMapper.java
New file
@@ -0,0 +1,61 @@
package com.odcc.cpzidc.bis.mapper;
import java.util.List;
import com.odcc.cpzidc.bis.domain.IdcUseGreen;
/**
 * 绿色运行指标信息Mapper接口
 *
 * @author ruoyi
 * @date 2024-10-10
 */
public interface IdcUseGreenMapper
{
    /**
     * 查询绿色运行指标信息
     *
     * @param id 绿色运行指标信息主键
     * @return 绿色运行指标信息
     */
    public IdcUseGreen selectIdcUseGreenById(Long id);
    /**
     * 查询绿色运行指标信息列表
     *
     * @param idcUseGreen 绿色运行指标信息
     * @return 绿色运行指标信息集合
     */
    public List<IdcUseGreen> selectIdcUseGreenList(IdcUseGreen idcUseGreen);
    /**
     * 新增绿色运行指标信息
     *
     * @param idcUseGreen 绿色运行指标信息
     * @return 结果
     */
    public int insertIdcUseGreen(IdcUseGreen idcUseGreen);
    /**
     * 修改绿色运行指标信息
     *
     * @param idcUseGreen 绿色运行指标信息
     * @return 结果
     */
    public int updateIdcUseGreen(IdcUseGreen idcUseGreen);
    /**
     * 删除绿色运行指标信息
     *
     * @param id 绿色运行指标信息主键
     * @return 结果
     */
    public int deleteIdcUseGreenById(Long id);
    /**
     * 批量删除绿色运行指标信息
     *
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteIdcUseGreenByIds(Long[] ids);
}
cpzidc-bis/src/main/java/com/odcc/cpzidc/bis/mapper/IdcUseInfrastructureMapper.java
New file
@@ -0,0 +1,61 @@
package com.odcc.cpzidc.bis.mapper;
import java.util.List;
import com.odcc.cpzidc.bis.domain.IdcUseInfrastructure;
/**
 * 基础设施信息Mapper接口
 *
 * @author ruoyi
 * @date 2024-10-10
 */
public interface IdcUseInfrastructureMapper
{
    /**
     * 查询基础设施信息
     *
     * @param id 基础设施信息主键
     * @return 基础设施信息
     */
    public IdcUseInfrastructure selectIdcUseInfrastructureById(Long id);
    /**
     * 查询基础设施信息列表
     *
     * @param idcUseInfrastructure 基础设施信息
     * @return 基础设施信息集合
     */
    public List<IdcUseInfrastructure> selectIdcUseInfrastructureList(IdcUseInfrastructure idcUseInfrastructure);
    /**
     * 新增基础设施信息
     *
     * @param idcUseInfrastructure 基础设施信息
     * @return 结果
     */
    public int insertIdcUseInfrastructure(IdcUseInfrastructure idcUseInfrastructure);
    /**
     * 修改基础设施信息
     *
     * @param idcUseInfrastructure 基础设施信息
     * @return 结果
     */
    public int updateIdcUseInfrastructure(IdcUseInfrastructure idcUseInfrastructure);
    /**
     * 删除基础设施信息
     *
     * @param id 基础设施信息主键
     * @return 结果
     */
    public int deleteIdcUseInfrastructureById(Long id);
    /**
     * 批量删除基础设施信息
     *
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteIdcUseInfrastructureByIds(Long[] ids);
}
cpzidc-bis/src/main/java/com/odcc/cpzidc/bis/mapper/IdcUseStorageMapper.java
New file
@@ -0,0 +1,61 @@
package com.odcc.cpzidc.bis.mapper;
import java.util.List;
import com.odcc.cpzidc.bis.domain.IdcUseStorage;
/**
 * 存力指标信息Mapper接口
 *
 * @author ruoyi
 * @date 2024-10-10
 */
public interface IdcUseStorageMapper
{
    /**
     * 查询存力指标信息
     *
     * @param id 存力指标信息主键
     * @return 存力指标信息
     */
    public IdcUseStorage selectIdcUseStorageById(Long id);
    /**
     * 查询存力指标信息列表
     *
     * @param idcUseStorage 存力指标信息
     * @return 存力指标信息集合
     */
    public List<IdcUseStorage> selectIdcUseStorageList(IdcUseStorage idcUseStorage);
    /**
     * 新增存力指标信息
     *
     * @param idcUseStorage 存力指标信息
     * @return 结果
     */
    public int insertIdcUseStorage(IdcUseStorage idcUseStorage);
    /**
     * 修改存力指标信息
     *
     * @param idcUseStorage 存力指标信息
     * @return 结果
     */
    public int updateIdcUseStorage(IdcUseStorage idcUseStorage);
    /**
     * 删除存力指标信息
     *
     * @param id 存力指标信息主键
     * @return 结果
     */
    public int deleteIdcUseStorageById(Long id);
    /**
     * 批量删除存力指标信息
     *
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteIdcUseStorageByIds(Long[] ids);
}
cpzidc-bis/src/main/java/com/odcc/cpzidc/bis/mapper/IdcUseTransportMapper.java
New file
@@ -0,0 +1,61 @@
package com.odcc.cpzidc.bis.mapper;
import java.util.List;
import com.odcc.cpzidc.bis.domain.IdcUseTransport;
/**
 * 运力指标信息Mapper接口
 *
 * @author ruoyi
 * @date 2024-10-10
 */
public interface IdcUseTransportMapper
{
    /**
     * 查询运力指标信息
     *
     * @param id 运力指标信息主键
     * @return 运力指标信息
     */
    public IdcUseTransport selectIdcUseTransportById(Long id);
    /**
     * 查询运力指标信息列表
     *
     * @param idcUseTransport 运力指标信息
     * @return 运力指标信息集合
     */
    public List<IdcUseTransport> selectIdcUseTransportList(IdcUseTransport idcUseTransport);
    /**
     * 新增运力指标信息
     *
     * @param idcUseTransport 运力指标信息
     * @return 结果
     */
    public int insertIdcUseTransport(IdcUseTransport idcUseTransport);
    /**
     * 修改运力指标信息
     *
     * @param idcUseTransport 运力指标信息
     * @return 结果
     */
    public int updateIdcUseTransport(IdcUseTransport idcUseTransport);
    /**
     * 删除运力指标信息
     *
     * @param id 运力指标信息主键
     * @return 结果
     */
    public int deleteIdcUseTransportById(Long id);
    /**
     * 批量删除运力指标信息
     *
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteIdcUseTransportByIds(Long[] ids);
}
cpzidc-bis/src/main/java/com/odcc/cpzidc/bis/service/IIdcBuildBaseService.java
New file
@@ -0,0 +1,61 @@
package com.odcc.cpzidc.bis.service;
import java.util.List;
import com.odcc.cpzidc.bis.domain.IdcBuildBase;
/**
 * 在建数据中心Service接口
 *
 * @author ruoyi
 * @date 2024-10-10
 */
public interface IIdcBuildBaseService
{
    /**
     * 查询在建数据中心
     *
     * @param id 在建数据中心主键
     * @return 在建数据中心
     */
    public IdcBuildBase selectIdcBuildBaseById(Long id);
    /**
     * 查询在建数据中心列表
     *
     * @param idcBuildBase 在建数据中心
     * @return 在建数据中心集合
     */
    public List<IdcBuildBase> selectIdcBuildBaseList(IdcBuildBase idcBuildBase);
    /**
     * 新增在建数据中心
     *
     * @param idcBuildBase 在建数据中心
     * @return 结果
     */
    public int insertIdcBuildBase(IdcBuildBase idcBuildBase);
    /**
     * 修改在建数据中心
     *
     * @param idcBuildBase 在建数据中心
     * @return 结果
     */
    public int updateIdcBuildBase(IdcBuildBase idcBuildBase);
    /**
     * 批量删除在建数据中心
     *
     * @param ids 需要删除的在建数据中心主键集合
     * @return 结果
     */
    public int deleteIdcBuildBaseByIds(Long[] ids);
    /**
     * 删除在建数据中心信息
     *
     * @param id 在建数据中心主键
     * @return 结果
     */
    public int deleteIdcBuildBaseById(Long id);
}
cpzidc-bis/src/main/java/com/odcc/cpzidc/bis/service/IIdcBuildExtendService.java
New file
@@ -0,0 +1,61 @@
package com.odcc.cpzidc.bis.service;
import java.util.List;
import com.odcc.cpzidc.bis.domain.IdcBuildExtend;
/**
 * IDC在建扩展信息Service接口
 *
 * @author ruoyi
 * @date 2024-10-10
 */
public interface IIdcBuildExtendService
{
    /**
     * 查询IDC在建扩展信息
     *
     * @param id IDC在建扩展信息主键
     * @return IDC在建扩展信息
     */
    public IdcBuildExtend selectIdcBuildExtendById(Long id);
    /**
     * 查询IDC在建扩展信息列表
     *
     * @param idcBuildExtend IDC在建扩展信息
     * @return IDC在建扩展信息集合
     */
    public List<IdcBuildExtend> selectIdcBuildExtendList(IdcBuildExtend idcBuildExtend);
    /**
     * 新增IDC在建扩展信息
     *
     * @param idcBuildExtend IDC在建扩展信息
     * @return 结果
     */
    public int insertIdcBuildExtend(IdcBuildExtend idcBuildExtend);
    /**
     * 修改IDC在建扩展信息
     *
     * @param idcBuildExtend IDC在建扩展信息
     * @return 结果
     */
    public int updateIdcBuildExtend(IdcBuildExtend idcBuildExtend);
    /**
     * 批量删除IDC在建扩展信息
     *
     * @param ids 需要删除的IDC在建扩展信息主键集合
     * @return 结果
     */
    public int deleteIdcBuildExtendByIds(Long[] ids);
    /**
     * 删除IDC在建扩展信息信息
     *
     * @param id IDC在建扩展信息主键
     * @return 结果
     */
    public int deleteIdcBuildExtendById(Long id);
}
cpzidc-bis/src/main/java/com/odcc/cpzidc/bis/service/IIdcUseBaseService.java
New file
@@ -0,0 +1,61 @@
package com.odcc.cpzidc.bis.service;
import java.util.List;
import com.odcc.cpzidc.bis.domain.IdcUseBase;
/**
 * 在用数据中心Service接口
 *
 * @author ruoyi
 * @date 2024-10-10
 */
public interface IIdcUseBaseService
{
    /**
     * 查询在用数据中心
     *
     * @param id 在用数据中心主键
     * @return 在用数据中心
     */
    public IdcUseBase selectIdcUseBaseById(Long id);
    /**
     * 查询在用数据中心列表
     *
     * @param idcUseBase 在用数据中心
     * @return 在用数据中心集合
     */
    public List<IdcUseBase> selectIdcUseBaseList(IdcUseBase idcUseBase);
    /**
     * 新增在用数据中心
     *
     * @param idcUseBase 在用数据中心
     * @return 结果
     */
    public int insertIdcUseBase(IdcUseBase idcUseBase);
    /**
     * 修改在用数据中心
     *
     * @param idcUseBase 在用数据中心
     * @return 结果
     */
    public int updateIdcUseBase(IdcUseBase idcUseBase);
    /**
     * 批量删除在用数据中心
     *
     * @param ids 需要删除的在用数据中心主键集合
     * @return 结果
     */
    public int deleteIdcUseBaseByIds(Long[] ids);
    /**
     * 删除在用数据中心信息
     *
     * @param id 在用数据中心主键
     * @return 结果
     */
    public int deleteIdcUseBaseById(Long id);
}
cpzidc-bis/src/main/java/com/odcc/cpzidc/bis/service/IIdcUseComputilityService.java
New file
@@ -0,0 +1,61 @@
package com.odcc.cpzidc.bis.service;
import java.util.List;
import com.odcc.cpzidc.bis.domain.IdcUseComputility;
/**
 * 算力指标信息Service接口
 *
 * @author ruoyi
 * @date 2024-10-10
 */
public interface IIdcUseComputilityService
{
    /**
     * 查询算力指标信息
     *
     * @param id 算力指标信息主键
     * @return 算力指标信息
     */
    public IdcUseComputility selectIdcUseComputilityById(Long id);
    /**
     * 查询算力指标信息列表
     *
     * @param idcUseComputility 算力指标信息
     * @return 算力指标信息集合
     */
    public List<IdcUseComputility> selectIdcUseComputilityList(IdcUseComputility idcUseComputility);
    /**
     * 新增算力指标信息
     *
     * @param idcUseComputility 算力指标信息
     * @return 结果
     */
    public int insertIdcUseComputility(IdcUseComputility idcUseComputility);
    /**
     * 修改算力指标信息
     *
     * @param idcUseComputility 算力指标信息
     * @return 结果
     */
    public int updateIdcUseComputility(IdcUseComputility idcUseComputility);
    /**
     * 批量删除算力指标信息
     *
     * @param ids 需要删除的算力指标信息主键集合
     * @return 结果
     */
    public int deleteIdcUseComputilityByIds(Long[] ids);
    /**
     * 删除算力指标信息信息
     *
     * @param id 算力指标信息主键
     * @return 结果
     */
    public int deleteIdcUseComputilityById(Long id);
}
cpzidc-bis/src/main/java/com/odcc/cpzidc/bis/service/IIdcUseGreenService.java
New file
@@ -0,0 +1,61 @@
package com.odcc.cpzidc.bis.service;
import java.util.List;
import com.odcc.cpzidc.bis.domain.IdcUseGreen;
/**
 * 绿色运行指标信息Service接口
 *
 * @author ruoyi
 * @date 2024-10-10
 */
public interface IIdcUseGreenService
{
    /**
     * 查询绿色运行指标信息
     *
     * @param id 绿色运行指标信息主键
     * @return 绿色运行指标信息
     */
    public IdcUseGreen selectIdcUseGreenById(Long id);
    /**
     * 查询绿色运行指标信息列表
     *
     * @param idcUseGreen 绿色运行指标信息
     * @return 绿色运行指标信息集合
     */
    public List<IdcUseGreen> selectIdcUseGreenList(IdcUseGreen idcUseGreen);
    /**
     * 新增绿色运行指标信息
     *
     * @param idcUseGreen 绿色运行指标信息
     * @return 结果
     */
    public int insertIdcUseGreen(IdcUseGreen idcUseGreen);
    /**
     * 修改绿色运行指标信息
     *
     * @param idcUseGreen 绿色运行指标信息
     * @return 结果
     */
    public int updateIdcUseGreen(IdcUseGreen idcUseGreen);
    /**
     * 批量删除绿色运行指标信息
     *
     * @param ids 需要删除的绿色运行指标信息主键集合
     * @return 结果
     */
    public int deleteIdcUseGreenByIds(Long[] ids);
    /**
     * 删除绿色运行指标信息信息
     *
     * @param id 绿色运行指标信息主键
     * @return 结果
     */
    public int deleteIdcUseGreenById(Long id);
}
cpzidc-bis/src/main/java/com/odcc/cpzidc/bis/service/IIdcUseInfrastructureService.java
New file
@@ -0,0 +1,61 @@
package com.odcc.cpzidc.bis.service;
import java.util.List;
import com.odcc.cpzidc.bis.domain.IdcUseInfrastructure;
/**
 * 基础设施信息Service接口
 *
 * @author ruoyi
 * @date 2024-10-10
 */
public interface IIdcUseInfrastructureService
{
    /**
     * 查询基础设施信息
     *
     * @param id 基础设施信息主键
     * @return 基础设施信息
     */
    public IdcUseInfrastructure selectIdcUseInfrastructureById(Long id);
    /**
     * 查询基础设施信息列表
     *
     * @param idcUseInfrastructure 基础设施信息
     * @return 基础设施信息集合
     */
    public List<IdcUseInfrastructure> selectIdcUseInfrastructureList(IdcUseInfrastructure idcUseInfrastructure);
    /**
     * 新增基础设施信息
     *
     * @param idcUseInfrastructure 基础设施信息
     * @return 结果
     */
    public int insertIdcUseInfrastructure(IdcUseInfrastructure idcUseInfrastructure);
    /**
     * 修改基础设施信息
     *
     * @param idcUseInfrastructure 基础设施信息
     * @return 结果
     */
    public int updateIdcUseInfrastructure(IdcUseInfrastructure idcUseInfrastructure);
    /**
     * 批量删除基础设施信息
     *
     * @param ids 需要删除的基础设施信息主键集合
     * @return 结果
     */
    public int deleteIdcUseInfrastructureByIds(Long[] ids);
    /**
     * 删除基础设施信息信息
     *
     * @param id 基础设施信息主键
     * @return 结果
     */
    public int deleteIdcUseInfrastructureById(Long id);
}
cpzidc-bis/src/main/java/com/odcc/cpzidc/bis/service/IIdcUseStorageService.java
New file
@@ -0,0 +1,61 @@
package com.odcc.cpzidc.bis.service;
import java.util.List;
import com.odcc.cpzidc.bis.domain.IdcUseStorage;
/**
 * 存力指标信息Service接口
 *
 * @author ruoyi
 * @date 2024-10-10
 */
public interface IIdcUseStorageService
{
    /**
     * 查询存力指标信息
     *
     * @param id 存力指标信息主键
     * @return 存力指标信息
     */
    public IdcUseStorage selectIdcUseStorageById(Long id);
    /**
     * 查询存力指标信息列表
     *
     * @param idcUseStorage 存力指标信息
     * @return 存力指标信息集合
     */
    public List<IdcUseStorage> selectIdcUseStorageList(IdcUseStorage idcUseStorage);
    /**
     * 新增存力指标信息
     *
     * @param idcUseStorage 存力指标信息
     * @return 结果
     */
    public int insertIdcUseStorage(IdcUseStorage idcUseStorage);
    /**
     * 修改存力指标信息
     *
     * @param idcUseStorage 存力指标信息
     * @return 结果
     */
    public int updateIdcUseStorage(IdcUseStorage idcUseStorage);
    /**
     * 批量删除存力指标信息
     *
     * @param ids 需要删除的存力指标信息主键集合
     * @return 结果
     */
    public int deleteIdcUseStorageByIds(Long[] ids);
    /**
     * 删除存力指标信息信息
     *
     * @param id 存力指标信息主键
     * @return 结果
     */
    public int deleteIdcUseStorageById(Long id);
}
cpzidc-bis/src/main/java/com/odcc/cpzidc/bis/service/IIdcUseTransportService.java
New file
@@ -0,0 +1,61 @@
package com.odcc.cpzidc.bis.service;
import java.util.List;
import com.odcc.cpzidc.bis.domain.IdcUseTransport;
/**
 * 运力指标信息Service接口
 *
 * @author ruoyi
 * @date 2024-10-10
 */
public interface IIdcUseTransportService
{
    /**
     * 查询运力指标信息
     *
     * @param id 运力指标信息主键
     * @return 运力指标信息
     */
    public IdcUseTransport selectIdcUseTransportById(Long id);
    /**
     * 查询运力指标信息列表
     *
     * @param idcUseTransport 运力指标信息
     * @return 运力指标信息集合
     */
    public List<IdcUseTransport> selectIdcUseTransportList(IdcUseTransport idcUseTransport);
    /**
     * 新增运力指标信息
     *
     * @param idcUseTransport 运力指标信息
     * @return 结果
     */
    public int insertIdcUseTransport(IdcUseTransport idcUseTransport);
    /**
     * 修改运力指标信息
     *
     * @param idcUseTransport 运力指标信息
     * @return 结果
     */
    public int updateIdcUseTransport(IdcUseTransport idcUseTransport);
    /**
     * 批量删除运力指标信息
     *
     * @param ids 需要删除的运力指标信息主键集合
     * @return 结果
     */
    public int deleteIdcUseTransportByIds(Long[] ids);
    /**
     * 删除运力指标信息信息
     *
     * @param id 运力指标信息主键
     * @return 结果
     */
    public int deleteIdcUseTransportById(Long id);
}
cpzidc-bis/src/main/java/com/odcc/cpzidc/bis/service/impl/IdcBuildBaseServiceImpl.java
New file
@@ -0,0 +1,96 @@
package com.odcc.cpzidc.bis.service.impl;
import java.util.List;
import com.odcc.cpzidc.common.utils.DateUtils;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.odcc.cpzidc.bis.mapper.IdcBuildBaseMapper;
import com.odcc.cpzidc.bis.domain.IdcBuildBase;
import com.odcc.cpzidc.bis.service.IIdcBuildBaseService;
/**
 * 在建数据中心Service业务层处理
 *
 * @author ruoyi
 * @date 2024-10-10
 */
@Service
public class IdcBuildBaseServiceImpl implements IIdcBuildBaseService
{
    @Autowired
    private IdcBuildBaseMapper idcBuildBaseMapper;
    /**
     * 查询在建数据中心
     *
     * @param id 在建数据中心主键
     * @return 在建数据中心
     */
    @Override
    public IdcBuildBase selectIdcBuildBaseById(Long id)
    {
        return idcBuildBaseMapper.selectIdcBuildBaseById(id);
    }
    /**
     * 查询在建数据中心列表
     *
     * @param idcBuildBase 在建数据中心
     * @return 在建数据中心
     */
    @Override
    public List<IdcBuildBase> selectIdcBuildBaseList(IdcBuildBase idcBuildBase)
    {
        return idcBuildBaseMapper.selectIdcBuildBaseList(idcBuildBase);
    }
    /**
     * 新增在建数据中心
     *
     * @param idcBuildBase 在建数据中心
     * @return 结果
     */
    @Override
    public int insertIdcBuildBase(IdcBuildBase idcBuildBase)
    {
        idcBuildBase.setCreateTime(DateUtils.getNowDate());
        return idcBuildBaseMapper.insertIdcBuildBase(idcBuildBase);
    }
    /**
     * 修改在建数据中心
     *
     * @param idcBuildBase 在建数据中心
     * @return 结果
     */
    @Override
    public int updateIdcBuildBase(IdcBuildBase idcBuildBase)
    {
        idcBuildBase.setUpdateTime(DateUtils.getNowDate());
        return idcBuildBaseMapper.updateIdcBuildBase(idcBuildBase);
    }
    /**
     * 批量删除在建数据中心
     *
     * @param ids 需要删除的在建数据中心主键
     * @return 结果
     */
    @Override
    public int deleteIdcBuildBaseByIds(Long[] ids)
    {
        return idcBuildBaseMapper.deleteIdcBuildBaseByIds(ids);
    }
    /**
     * 删除在建数据中心信息
     *
     * @param id 在建数据中心主键
     * @return 结果
     */
    @Override
    public int deleteIdcBuildBaseById(Long id)
    {
        return idcBuildBaseMapper.deleteIdcBuildBaseById(id);
    }
}
cpzidc-bis/src/main/java/com/odcc/cpzidc/bis/service/impl/IdcBuildExtendServiceImpl.java
New file
@@ -0,0 +1,96 @@
package com.odcc.cpzidc.bis.service.impl;
import java.util.List;
import com.odcc.cpzidc.common.utils.DateUtils;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.odcc.cpzidc.bis.mapper.IdcBuildExtendMapper;
import com.odcc.cpzidc.bis.domain.IdcBuildExtend;
import com.odcc.cpzidc.bis.service.IIdcBuildExtendService;
/**
 * IDC在建扩展信息Service业务层处理
 *
 * @author ruoyi
 * @date 2024-10-10
 */
@Service
public class IdcBuildExtendServiceImpl implements IIdcBuildExtendService
{
    @Autowired
    private IdcBuildExtendMapper idcBuildExtendMapper;
    /**
     * 查询IDC在建扩展信息
     *
     * @param id IDC在建扩展信息主键
     * @return IDC在建扩展信息
     */
    @Override
    public IdcBuildExtend selectIdcBuildExtendById(Long id)
    {
        return idcBuildExtendMapper.selectIdcBuildExtendById(id);
    }
    /**
     * 查询IDC在建扩展信息列表
     *
     * @param idcBuildExtend IDC在建扩展信息
     * @return IDC在建扩展信息
     */
    @Override
    public List<IdcBuildExtend> selectIdcBuildExtendList(IdcBuildExtend idcBuildExtend)
    {
        return idcBuildExtendMapper.selectIdcBuildExtendList(idcBuildExtend);
    }
    /**
     * 新增IDC在建扩展信息
     *
     * @param idcBuildExtend IDC在建扩展信息
     * @return 结果
     */
    @Override
    public int insertIdcBuildExtend(IdcBuildExtend idcBuildExtend)
    {
        idcBuildExtend.setCreateTime(DateUtils.getNowDate());
        return idcBuildExtendMapper.insertIdcBuildExtend(idcBuildExtend);
    }
    /**
     * 修改IDC在建扩展信息
     *
     * @param idcBuildExtend IDC在建扩展信息
     * @return 结果
     */
    @Override
    public int updateIdcBuildExtend(IdcBuildExtend idcBuildExtend)
    {
        idcBuildExtend.setUpdateTime(DateUtils.getNowDate());
        return idcBuildExtendMapper.updateIdcBuildExtend(idcBuildExtend);
    }
    /**
     * 批量删除IDC在建扩展信息
     *
     * @param ids 需要删除的IDC在建扩展信息主键
     * @return 结果
     */
    @Override
    public int deleteIdcBuildExtendByIds(Long[] ids)
    {
        return idcBuildExtendMapper.deleteIdcBuildExtendByIds(ids);
    }
    /**
     * 删除IDC在建扩展信息信息
     *
     * @param id IDC在建扩展信息主键
     * @return 结果
     */
    @Override
    public int deleteIdcBuildExtendById(Long id)
    {
        return idcBuildExtendMapper.deleteIdcBuildExtendById(id);
    }
}
cpzidc-bis/src/main/java/com/odcc/cpzidc/bis/service/impl/IdcUseBaseServiceImpl.java
New file
@@ -0,0 +1,96 @@
package com.odcc.cpzidc.bis.service.impl;
import java.util.List;
import com.odcc.cpzidc.common.utils.DateUtils;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.odcc.cpzidc.bis.mapper.IdcUseBaseMapper;
import com.odcc.cpzidc.bis.domain.IdcUseBase;
import com.odcc.cpzidc.bis.service.IIdcUseBaseService;
/**
 * 在用数据中心Service业务层处理
 *
 * @author ruoyi
 * @date 2024-10-10
 */
@Service
public class IdcUseBaseServiceImpl implements IIdcUseBaseService
{
    @Autowired
    private IdcUseBaseMapper idcUseBaseMapper;
    /**
     * 查询在用数据中心
     *
     * @param id 在用数据中心主键
     * @return 在用数据中心
     */
    @Override
    public IdcUseBase selectIdcUseBaseById(Long id)
    {
        return idcUseBaseMapper.selectIdcUseBaseById(id);
    }
    /**
     * 查询在用数据中心列表
     *
     * @param idcUseBase 在用数据中心
     * @return 在用数据中心
     */
    @Override
    public List<IdcUseBase> selectIdcUseBaseList(IdcUseBase idcUseBase)
    {
        return idcUseBaseMapper.selectIdcUseBaseList(idcUseBase);
    }
    /**
     * 新增在用数据中心
     *
     * @param idcUseBase 在用数据中心
     * @return 结果
     */
    @Override
    public int insertIdcUseBase(IdcUseBase idcUseBase)
    {
        idcUseBase.setCreateTime(DateUtils.getNowDate());
        return idcUseBaseMapper.insertIdcUseBase(idcUseBase);
    }
    /**
     * 修改在用数据中心
     *
     * @param idcUseBase 在用数据中心
     * @return 结果
     */
    @Override
    public int updateIdcUseBase(IdcUseBase idcUseBase)
    {
        idcUseBase.setUpdateTime(DateUtils.getNowDate());
        return idcUseBaseMapper.updateIdcUseBase(idcUseBase);
    }
    /**
     * 批量删除在用数据中心
     *
     * @param ids 需要删除的在用数据中心主键
     * @return 结果
     */
    @Override
    public int deleteIdcUseBaseByIds(Long[] ids)
    {
        return idcUseBaseMapper.deleteIdcUseBaseByIds(ids);
    }
    /**
     * 删除在用数据中心信息
     *
     * @param id 在用数据中心主键
     * @return 结果
     */
    @Override
    public int deleteIdcUseBaseById(Long id)
    {
        return idcUseBaseMapper.deleteIdcUseBaseById(id);
    }
}
cpzidc-bis/src/main/java/com/odcc/cpzidc/bis/service/impl/IdcUseComputilityServiceImpl.java
New file
@@ -0,0 +1,96 @@
package com.odcc.cpzidc.bis.service.impl;
import java.util.List;
import com.odcc.cpzidc.common.utils.DateUtils;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.odcc.cpzidc.bis.mapper.IdcUseComputilityMapper;
import com.odcc.cpzidc.bis.domain.IdcUseComputility;
import com.odcc.cpzidc.bis.service.IIdcUseComputilityService;
/**
 * 算力指标信息Service业务层处理
 *
 * @author ruoyi
 * @date 2024-10-10
 */
@Service
public class IdcUseComputilityServiceImpl implements IIdcUseComputilityService
{
    @Autowired
    private IdcUseComputilityMapper idcUseComputilityMapper;
    /**
     * 查询算力指标信息
     *
     * @param id 算力指标信息主键
     * @return 算力指标信息
     */
    @Override
    public IdcUseComputility selectIdcUseComputilityById(Long id)
    {
        return idcUseComputilityMapper.selectIdcUseComputilityById(id);
    }
    /**
     * 查询算力指标信息列表
     *
     * @param idcUseComputility 算力指标信息
     * @return 算力指标信息
     */
    @Override
    public List<IdcUseComputility> selectIdcUseComputilityList(IdcUseComputility idcUseComputility)
    {
        return idcUseComputilityMapper.selectIdcUseComputilityList(idcUseComputility);
    }
    /**
     * 新增算力指标信息
     *
     * @param idcUseComputility 算力指标信息
     * @return 结果
     */
    @Override
    public int insertIdcUseComputility(IdcUseComputility idcUseComputility)
    {
        idcUseComputility.setCreateTime(DateUtils.getNowDate());
        return idcUseComputilityMapper.insertIdcUseComputility(idcUseComputility);
    }
    /**
     * 修改算力指标信息
     *
     * @param idcUseComputility 算力指标信息
     * @return 结果
     */
    @Override
    public int updateIdcUseComputility(IdcUseComputility idcUseComputility)
    {
        idcUseComputility.setUpdateTime(DateUtils.getNowDate());
        return idcUseComputilityMapper.updateIdcUseComputility(idcUseComputility);
    }
    /**
     * 批量删除算力指标信息
     *
     * @param ids 需要删除的算力指标信息主键
     * @return 结果
     */
    @Override
    public int deleteIdcUseComputilityByIds(Long[] ids)
    {
        return idcUseComputilityMapper.deleteIdcUseComputilityByIds(ids);
    }
    /**
     * 删除算力指标信息信息
     *
     * @param id 算力指标信息主键
     * @return 结果
     */
    @Override
    public int deleteIdcUseComputilityById(Long id)
    {
        return idcUseComputilityMapper.deleteIdcUseComputilityById(id);
    }
}
cpzidc-bis/src/main/java/com/odcc/cpzidc/bis/service/impl/IdcUseGreenServiceImpl.java
New file
@@ -0,0 +1,96 @@
package com.odcc.cpzidc.bis.service.impl;
import java.util.List;
import com.odcc.cpzidc.common.utils.DateUtils;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.odcc.cpzidc.bis.mapper.IdcUseGreenMapper;
import com.odcc.cpzidc.bis.domain.IdcUseGreen;
import com.odcc.cpzidc.bis.service.IIdcUseGreenService;
/**
 * 绿色运行指标信息Service业务层处理
 *
 * @author ruoyi
 * @date 2024-10-10
 */
@Service
public class IdcUseGreenServiceImpl implements IIdcUseGreenService
{
    @Autowired
    private IdcUseGreenMapper idcUseGreenMapper;
    /**
     * 查询绿色运行指标信息
     *
     * @param id 绿色运行指标信息主键
     * @return 绿色运行指标信息
     */
    @Override
    public IdcUseGreen selectIdcUseGreenById(Long id)
    {
        return idcUseGreenMapper.selectIdcUseGreenById(id);
    }
    /**
     * 查询绿色运行指标信息列表
     *
     * @param idcUseGreen 绿色运行指标信息
     * @return 绿色运行指标信息
     */
    @Override
    public List<IdcUseGreen> selectIdcUseGreenList(IdcUseGreen idcUseGreen)
    {
        return idcUseGreenMapper.selectIdcUseGreenList(idcUseGreen);
    }
    /**
     * 新增绿色运行指标信息
     *
     * @param idcUseGreen 绿色运行指标信息
     * @return 结果
     */
    @Override
    public int insertIdcUseGreen(IdcUseGreen idcUseGreen)
    {
        idcUseGreen.setCreateTime(DateUtils.getNowDate());
        return idcUseGreenMapper.insertIdcUseGreen(idcUseGreen);
    }
    /**
     * 修改绿色运行指标信息
     *
     * @param idcUseGreen 绿色运行指标信息
     * @return 结果
     */
    @Override
    public int updateIdcUseGreen(IdcUseGreen idcUseGreen)
    {
        idcUseGreen.setUpdateTime(DateUtils.getNowDate());
        return idcUseGreenMapper.updateIdcUseGreen(idcUseGreen);
    }
    /**
     * 批量删除绿色运行指标信息
     *
     * @param ids 需要删除的绿色运行指标信息主键
     * @return 结果
     */
    @Override
    public int deleteIdcUseGreenByIds(Long[] ids)
    {
        return idcUseGreenMapper.deleteIdcUseGreenByIds(ids);
    }
    /**
     * 删除绿色运行指标信息信息
     *
     * @param id 绿色运行指标信息主键
     * @return 结果
     */
    @Override
    public int deleteIdcUseGreenById(Long id)
    {
        return idcUseGreenMapper.deleteIdcUseGreenById(id);
    }
}
cpzidc-bis/src/main/java/com/odcc/cpzidc/bis/service/impl/IdcUseInfrastructureServiceImpl.java
New file
@@ -0,0 +1,96 @@
package com.odcc.cpzidc.bis.service.impl;
import java.util.List;
import com.odcc.cpzidc.common.utils.DateUtils;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.odcc.cpzidc.bis.mapper.IdcUseInfrastructureMapper;
import com.odcc.cpzidc.bis.domain.IdcUseInfrastructure;
import com.odcc.cpzidc.bis.service.IIdcUseInfrastructureService;
/**
 * 基础设施信息Service业务层处理
 *
 * @author ruoyi
 * @date 2024-10-10
 */
@Service
public class IdcUseInfrastructureServiceImpl implements IIdcUseInfrastructureService
{
    @Autowired
    private IdcUseInfrastructureMapper idcUseInfrastructureMapper;
    /**
     * 查询基础设施信息
     *
     * @param id 基础设施信息主键
     * @return 基础设施信息
     */
    @Override
    public IdcUseInfrastructure selectIdcUseInfrastructureById(Long id)
    {
        return idcUseInfrastructureMapper.selectIdcUseInfrastructureById(id);
    }
    /**
     * 查询基础设施信息列表
     *
     * @param idcUseInfrastructure 基础设施信息
     * @return 基础设施信息
     */
    @Override
    public List<IdcUseInfrastructure> selectIdcUseInfrastructureList(IdcUseInfrastructure idcUseInfrastructure)
    {
        return idcUseInfrastructureMapper.selectIdcUseInfrastructureList(idcUseInfrastructure);
    }
    /**
     * 新增基础设施信息
     *
     * @param idcUseInfrastructure 基础设施信息
     * @return 结果
     */
    @Override
    public int insertIdcUseInfrastructure(IdcUseInfrastructure idcUseInfrastructure)
    {
        idcUseInfrastructure.setCreateTime(DateUtils.getNowDate());
        return idcUseInfrastructureMapper.insertIdcUseInfrastructure(idcUseInfrastructure);
    }
    /**
     * 修改基础设施信息
     *
     * @param idcUseInfrastructure 基础设施信息
     * @return 结果
     */
    @Override
    public int updateIdcUseInfrastructure(IdcUseInfrastructure idcUseInfrastructure)
    {
        idcUseInfrastructure.setUpdateTime(DateUtils.getNowDate());
        return idcUseInfrastructureMapper.updateIdcUseInfrastructure(idcUseInfrastructure);
    }
    /**
     * 批量删除基础设施信息
     *
     * @param ids 需要删除的基础设施信息主键
     * @return 结果
     */
    @Override
    public int deleteIdcUseInfrastructureByIds(Long[] ids)
    {
        return idcUseInfrastructureMapper.deleteIdcUseInfrastructureByIds(ids);
    }
    /**
     * 删除基础设施信息信息
     *
     * @param id 基础设施信息主键
     * @return 结果
     */
    @Override
    public int deleteIdcUseInfrastructureById(Long id)
    {
        return idcUseInfrastructureMapper.deleteIdcUseInfrastructureById(id);
    }
}
cpzidc-bis/src/main/java/com/odcc/cpzidc/bis/service/impl/IdcUseStorageServiceImpl.java
New file
@@ -0,0 +1,96 @@
package com.odcc.cpzidc.bis.service.impl;
import java.util.List;
import com.odcc.cpzidc.common.utils.DateUtils;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.odcc.cpzidc.bis.mapper.IdcUseStorageMapper;
import com.odcc.cpzidc.bis.domain.IdcUseStorage;
import com.odcc.cpzidc.bis.service.IIdcUseStorageService;
/**
 * 存力指标信息Service业务层处理
 *
 * @author ruoyi
 * @date 2024-10-10
 */
@Service
public class IdcUseStorageServiceImpl implements IIdcUseStorageService
{
    @Autowired
    private IdcUseStorageMapper idcUseStorageMapper;
    /**
     * 查询存力指标信息
     *
     * @param id 存力指标信息主键
     * @return 存力指标信息
     */
    @Override
    public IdcUseStorage selectIdcUseStorageById(Long id)
    {
        return idcUseStorageMapper.selectIdcUseStorageById(id);
    }
    /**
     * 查询存力指标信息列表
     *
     * @param idcUseStorage 存力指标信息
     * @return 存力指标信息
     */
    @Override
    public List<IdcUseStorage> selectIdcUseStorageList(IdcUseStorage idcUseStorage)
    {
        return idcUseStorageMapper.selectIdcUseStorageList(idcUseStorage);
    }
    /**
     * 新增存力指标信息
     *
     * @param idcUseStorage 存力指标信息
     * @return 结果
     */
    @Override
    public int insertIdcUseStorage(IdcUseStorage idcUseStorage)
    {
        idcUseStorage.setCreateTime(DateUtils.getNowDate());
        return idcUseStorageMapper.insertIdcUseStorage(idcUseStorage);
    }
    /**
     * 修改存力指标信息
     *
     * @param idcUseStorage 存力指标信息
     * @return 结果
     */
    @Override
    public int updateIdcUseStorage(IdcUseStorage idcUseStorage)
    {
        idcUseStorage.setUpdateTime(DateUtils.getNowDate());
        return idcUseStorageMapper.updateIdcUseStorage(idcUseStorage);
    }
    /**
     * 批量删除存力指标信息
     *
     * @param ids 需要删除的存力指标信息主键
     * @return 结果
     */
    @Override
    public int deleteIdcUseStorageByIds(Long[] ids)
    {
        return idcUseStorageMapper.deleteIdcUseStorageByIds(ids);
    }
    /**
     * 删除存力指标信息信息
     *
     * @param id 存力指标信息主键
     * @return 结果
     */
    @Override
    public int deleteIdcUseStorageById(Long id)
    {
        return idcUseStorageMapper.deleteIdcUseStorageById(id);
    }
}
cpzidc-bis/src/main/java/com/odcc/cpzidc/bis/service/impl/IdcUseTransportServiceImpl.java
New file
@@ -0,0 +1,96 @@
package com.odcc.cpzidc.bis.service.impl;
import java.util.List;
import com.odcc.cpzidc.common.utils.DateUtils;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.odcc.cpzidc.bis.mapper.IdcUseTransportMapper;
import com.odcc.cpzidc.bis.domain.IdcUseTransport;
import com.odcc.cpzidc.bis.service.IIdcUseTransportService;
/**
 * 运力指标信息Service业务层处理
 *
 * @author ruoyi
 * @date 2024-10-10
 */
@Service
public class IdcUseTransportServiceImpl implements IIdcUseTransportService
{
    @Autowired
    private IdcUseTransportMapper idcUseTransportMapper;
    /**
     * 查询运力指标信息
     *
     * @param id 运力指标信息主键
     * @return 运力指标信息
     */
    @Override
    public IdcUseTransport selectIdcUseTransportById(Long id)
    {
        return idcUseTransportMapper.selectIdcUseTransportById(id);
    }
    /**
     * 查询运力指标信息列表
     *
     * @param idcUseTransport 运力指标信息
     * @return 运力指标信息
     */
    @Override
    public List<IdcUseTransport> selectIdcUseTransportList(IdcUseTransport idcUseTransport)
    {
        return idcUseTransportMapper.selectIdcUseTransportList(idcUseTransport);
    }
    /**
     * 新增运力指标信息
     *
     * @param idcUseTransport 运力指标信息
     * @return 结果
     */
    @Override
    public int insertIdcUseTransport(IdcUseTransport idcUseTransport)
    {
        idcUseTransport.setCreateTime(DateUtils.getNowDate());
        return idcUseTransportMapper.insertIdcUseTransport(idcUseTransport);
    }
    /**
     * 修改运力指标信息
     *
     * @param idcUseTransport 运力指标信息
     * @return 结果
     */
    @Override
    public int updateIdcUseTransport(IdcUseTransport idcUseTransport)
    {
        idcUseTransport.setUpdateTime(DateUtils.getNowDate());
        return idcUseTransportMapper.updateIdcUseTransport(idcUseTransport);
    }
    /**
     * 批量删除运力指标信息
     *
     * @param ids 需要删除的运力指标信息主键
     * @return 结果
     */
    @Override
    public int deleteIdcUseTransportByIds(Long[] ids)
    {
        return idcUseTransportMapper.deleteIdcUseTransportByIds(ids);
    }
    /**
     * 删除运力指标信息信息
     *
     * @param id 运力指标信息主键
     * @return 结果
     */
    @Override
    public int deleteIdcUseTransportById(Long id)
    {
        return idcUseTransportMapper.deleteIdcUseTransportById(id);
    }
}
cpzidc-bis/src/main/resources/mapper/bis/IdcBuildBaseMapper.xml
New file
@@ -0,0 +1,233 @@
<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE mapper
PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="com.odcc.cpzidc.bis.mapper.IdcBuildBaseMapper">
    <resultMap type="IdcBuildBase" id="IdcBuildBaseResult">
        <result property="id"    column="id"    />
        <result property="type"    column="type"    />
        <result property="businessType"    column="business_type"    />
        <result property="frameNum"    column="frame_num"    />
        <result property="framePower"    column="frame_power"    />
        <result property="name"    column="name"    />
        <result property="province"    column="province"    />
        <result property="city"    column="city"    />
        <result property="area"    column="area"    />
        <result property="address"    column="address"    />
        <result property="addressExt"    column="address_ext"    />
        <result property="building"    column="building"    />
        <result property="creditCode"    column="credit_code"    />
        <result property="mainbody"    column="mainbody"    />
        <result property="mainbodyHeader"    column="mainbody_header"    />
        <result property="mainbodyType"    column="mainbody_type"    />
        <result property="investment"    column="investment"    />
        <result property="progress"    column="progress"    />
        <result property="productionTime"    column="production_time"    />
        <result property="dcBuildingLevel"    column="dc_building_level"    />
        <result property="dcAllArea"    column="dc_all_area"    />
        <result property="dcItArea"    column="dc_it_area"    />
        <result property="buildingType"    column="building_type"    />
        <result property="seismicLevel"    column="seismic_level"    />
        <result property="useType"    column="use_type"    />
        <result property="pueDesign"    column="pue_design"    />
        <result property="waterDesign"    column="water_design"    />
        <result property="netOperator"    column="net_operator"    />
        <result property="netOperatorOther"    column="net_operator_other"    />
        <result property="netLevel"    column="net_level"    />
        <result property="remark"    column="remark"    />
        <result property="sort"    column="sort_"    />
        <result property="message"    column="message"    />
        <result property="state"    column="state"    />
        <result property="isEnable"    column="is_enable"    />
        <result property="createTime"    column="create_time"    />
        <result property="updateTime"    column="update_time"    />
        <result property="createUser"    column="create_user"    />
    </resultMap>
    <sql id="selectIdcBuildBaseVo">
        select id, type, business_type, frame_num, frame_power, name, province, city, area, address, address_ext, building, credit_code, mainbody, mainbody_header, mainbody_type, investment, progress, production_time, dc_building_level, dc_all_area, dc_it_area, building_type, seismic_level, use_type, pue_design, water_design, net_operator, net_operator_other, net_level, remark, sort_, message, state, is_enable, create_time, update_time, create_user from idc_build_base
    </sql>
    <select id="selectIdcBuildBaseList" parameterType="IdcBuildBase" resultMap="IdcBuildBaseResult">
        <include refid="selectIdcBuildBaseVo"/>
        <where>
            <if test="type != null "> and type = #{type}</if>
            <if test="businessType != null "> and business_type = #{businessType}</if>
            <if test="frameNum != null "> and frame_num = #{frameNum}</if>
            <if test="framePower != null "> and frame_power = #{framePower}</if>
            <if test="name != null  and name != ''"> and name like concat('%', #{name}, '%')</if>
            <if test="province != null  and province != ''"> and province = #{province}</if>
            <if test="city != null  and city != ''"> and city = #{city}</if>
            <if test="area != null  and area != ''"> and area = #{area}</if>
            <if test="address != null  and address != ''"> and address = #{address}</if>
            <if test="addressExt != null  and addressExt != ''"> and address_ext = #{addressExt}</if>
            <if test="building != null  and building != ''"> and building = #{building}</if>
            <if test="creditCode != null  and creditCode != ''"> and credit_code = #{creditCode}</if>
            <if test="mainbody != null  and mainbody != ''"> and mainbody = #{mainbody}</if>
            <if test="mainbodyHeader != null  and mainbodyHeader != ''"> and mainbody_header = #{mainbodyHeader}</if>
            <if test="mainbodyType != null  and mainbodyType != ''"> and mainbody_type = #{mainbodyType}</if>
            <if test="investment != null  and investment != ''"> and investment = #{investment}</if>
            <if test="progress != null  and progress != ''"> and progress = #{progress}</if>
            <if test="productionTime != null  and productionTime != ''"> and production_time = #{productionTime}</if>
            <if test="dcBuildingLevel != null  and dcBuildingLevel != ''"> and dc_building_level = #{dcBuildingLevel}</if>
            <if test="dcAllArea != null "> and dc_all_area = #{dcAllArea}</if>
            <if test="dcItArea != null "> and dc_it_area = #{dcItArea}</if>
            <if test="buildingType != null  and buildingType != ''"> and building_type = #{buildingType}</if>
            <if test="seismicLevel != null  and seismicLevel != ''"> and seismic_level = #{seismicLevel}</if>
            <if test="useType != null  and useType != ''"> and use_type = #{useType}</if>
            <if test="pueDesign != null "> and pue_design = #{pueDesign}</if>
            <if test="waterDesign != null  and waterDesign != ''"> and water_design = #{waterDesign}</if>
            <if test="netOperator != null  and netOperator != ''"> and net_operator = #{netOperator}</if>
            <if test="netOperatorOther != null  and netOperatorOther != ''"> and net_operator_other = #{netOperatorOther}</if>
            <if test="netLevel != null  and netLevel != ''"> and net_level = #{netLevel}</if>
            <if test="sort != null "> and sort_ = #{sort}</if>
            <if test="message != null  and message != ''"> and message = #{message}</if>
            <if test="state != null "> and state = #{state}</if>
            <if test="isEnable != null "> and is_enable = #{isEnable}</if>
            <if test="createUser != null "> and create_user = #{createUser}</if>
        </where>
    </select>
    <select id="selectIdcBuildBaseById" parameterType="Long" resultMap="IdcBuildBaseResult">
        <include refid="selectIdcBuildBaseVo"/>
        where id = #{id}
    </select>
    <insert id="insertIdcBuildBase" parameterType="IdcBuildBase" useGeneratedKeys="true" keyProperty="id">
        insert into idc_build_base
        <trim prefix="(" suffix=")" suffixOverrides=",">
            <if test="type != null">type,</if>
            <if test="businessType != null">business_type,</if>
            <if test="frameNum != null">frame_num,</if>
            <if test="framePower != null">frame_power,</if>
            <if test="name != null and name != ''">name,</if>
            <if test="province != null and province != ''">province,</if>
            <if test="city != null and city != ''">city,</if>
            <if test="area != null and area != ''">area,</if>
            <if test="address != null and address != ''">address,</if>
            <if test="addressExt != null">address_ext,</if>
            <if test="building != null and building != ''">building,</if>
            <if test="creditCode != null and creditCode != ''">credit_code,</if>
            <if test="mainbody != null and mainbody != ''">mainbody,</if>
            <if test="mainbodyHeader != null and mainbodyHeader != ''">mainbody_header,</if>
            <if test="mainbodyType != null and mainbodyType != ''">mainbody_type,</if>
            <if test="investment != null">investment,</if>
            <if test="progress != null and progress != ''">progress,</if>
            <if test="productionTime != null and productionTime != ''">production_time,</if>
            <if test="dcBuildingLevel != null and dcBuildingLevel != ''">dc_building_level,</if>
            <if test="dcAllArea != null">dc_all_area,</if>
            <if test="dcItArea != null">dc_it_area,</if>
            <if test="buildingType != null and buildingType != ''">building_type,</if>
            <if test="seismicLevel != null and seismicLevel != ''">seismic_level,</if>
            <if test="useType != null and useType != ''">use_type,</if>
            <if test="pueDesign != null">pue_design,</if>
            <if test="waterDesign != null and waterDesign != ''">water_design,</if>
            <if test="netOperator != null and netOperator != ''">net_operator,</if>
            <if test="netOperatorOther != null">net_operator_other,</if>
            <if test="netLevel != null and netLevel != ''">net_level,</if>
            <if test="remark != null">remark,</if>
            <if test="sort != null">sort_,</if>
            <if test="message != null">message,</if>
            <if test="state != null">state,</if>
            <if test="isEnable != null">is_enable,</if>
            <if test="createTime != null">create_time,</if>
            <if test="updateTime != null">update_time,</if>
            <if test="createUser != null">create_user,</if>
         </trim>
        <trim prefix="values (" suffix=")" suffixOverrides=",">
            <if test="type != null">#{type},</if>
            <if test="businessType != null">#{businessType},</if>
            <if test="frameNum != null">#{frameNum},</if>
            <if test="framePower != null">#{framePower},</if>
            <if test="name != null and name != ''">#{name},</if>
            <if test="province != null and province != ''">#{province},</if>
            <if test="city != null and city != ''">#{city},</if>
            <if test="area != null and area != ''">#{area},</if>
            <if test="address != null and address != ''">#{address},</if>
            <if test="addressExt != null">#{addressExt},</if>
            <if test="building != null and building != ''">#{building},</if>
            <if test="creditCode != null and creditCode != ''">#{creditCode},</if>
            <if test="mainbody != null and mainbody != ''">#{mainbody},</if>
            <if test="mainbodyHeader != null and mainbodyHeader != ''">#{mainbodyHeader},</if>
            <if test="mainbodyType != null and mainbodyType != ''">#{mainbodyType},</if>
            <if test="investment != null">#{investment},</if>
            <if test="progress != null and progress != ''">#{progress},</if>
            <if test="productionTime != null and productionTime != ''">#{productionTime},</if>
            <if test="dcBuildingLevel != null and dcBuildingLevel != ''">#{dcBuildingLevel},</if>
            <if test="dcAllArea != null">#{dcAllArea},</if>
            <if test="dcItArea != null">#{dcItArea},</if>
            <if test="buildingType != null and buildingType != ''">#{buildingType},</if>
            <if test="seismicLevel != null and seismicLevel != ''">#{seismicLevel},</if>
            <if test="useType != null and useType != ''">#{useType},</if>
            <if test="pueDesign != null">#{pueDesign},</if>
            <if test="waterDesign != null and waterDesign != ''">#{waterDesign},</if>
            <if test="netOperator != null and netOperator != ''">#{netOperator},</if>
            <if test="netOperatorOther != null">#{netOperatorOther},</if>
            <if test="netLevel != null and netLevel != ''">#{netLevel},</if>
            <if test="remark != null">#{remark},</if>
            <if test="sort != null">#{sort},</if>
            <if test="message != null">#{message},</if>
            <if test="state != null">#{state},</if>
            <if test="isEnable != null">#{isEnable},</if>
            <if test="createTime != null">#{createTime},</if>
            <if test="updateTime != null">#{updateTime},</if>
            <if test="createUser != null">#{createUser},</if>
         </trim>
    </insert>
    <update id="updateIdcBuildBase" parameterType="IdcBuildBase">
        update idc_build_base
        <trim prefix="SET" suffixOverrides=",">
            <if test="type != null">type = #{type},</if>
            <if test="businessType != null">business_type = #{businessType},</if>
            <if test="frameNum != null">frame_num = #{frameNum},</if>
            <if test="framePower != null">frame_power = #{framePower},</if>
            <if test="name != null and name != ''">name = #{name},</if>
            <if test="province != null and province != ''">province = #{province},</if>
            <if test="city != null and city != ''">city = #{city},</if>
            <if test="area != null and area != ''">area = #{area},</if>
            <if test="address != null and address != ''">address = #{address},</if>
            <if test="addressExt != null">address_ext = #{addressExt},</if>
            <if test="building != null and building != ''">building = #{building},</if>
            <if test="creditCode != null and creditCode != ''">credit_code = #{creditCode},</if>
            <if test="mainbody != null and mainbody != ''">mainbody = #{mainbody},</if>
            <if test="mainbodyHeader != null and mainbodyHeader != ''">mainbody_header = #{mainbodyHeader},</if>
            <if test="mainbodyType != null and mainbodyType != ''">mainbody_type = #{mainbodyType},</if>
            <if test="investment != null">investment = #{investment},</if>
            <if test="progress != null and progress != ''">progress = #{progress},</if>
            <if test="productionTime != null and productionTime != ''">production_time = #{productionTime},</if>
            <if test="dcBuildingLevel != null and dcBuildingLevel != ''">dc_building_level = #{dcBuildingLevel},</if>
            <if test="dcAllArea != null">dc_all_area = #{dcAllArea},</if>
            <if test="dcItArea != null">dc_it_area = #{dcItArea},</if>
            <if test="buildingType != null and buildingType != ''">building_type = #{buildingType},</if>
            <if test="seismicLevel != null and seismicLevel != ''">seismic_level = #{seismicLevel},</if>
            <if test="useType != null and useType != ''">use_type = #{useType},</if>
            <if test="pueDesign != null">pue_design = #{pueDesign},</if>
            <if test="waterDesign != null and waterDesign != ''">water_design = #{waterDesign},</if>
            <if test="netOperator != null and netOperator != ''">net_operator = #{netOperator},</if>
            <if test="netOperatorOther != null">net_operator_other = #{netOperatorOther},</if>
            <if test="netLevel != null and netLevel != ''">net_level = #{netLevel},</if>
            <if test="remark != null">remark = #{remark},</if>
            <if test="sort != null">sort_ = #{sort},</if>
            <if test="message != null">message = #{message},</if>
            <if test="state != null">state = #{state},</if>
            <if test="isEnable != null">is_enable = #{isEnable},</if>
            <if test="createTime != null">create_time = #{createTime},</if>
            <if test="updateTime != null">update_time = #{updateTime},</if>
            <if test="createUser != null">create_user = #{createUser},</if>
        </trim>
        where id = #{id}
    </update>
    <delete id="deleteIdcBuildBaseById" parameterType="Long">
        delete from idc_build_base where id = #{id}
    </delete>
    <delete id="deleteIdcBuildBaseByIds" parameterType="String">
        delete from idc_build_base where id in
        <foreach item="id" collection="array" open="(" separator="," close=")">
            #{id}
        </foreach>
    </delete>
</mapper>
cpzidc-bis/src/main/resources/mapper/bis/IdcBuildExtendMapper.xml
New file
@@ -0,0 +1,153 @@
<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE mapper
PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="com.odcc.cpzidc.bis.mapper.IdcBuildExtendMapper">
    <resultMap type="IdcBuildExtend" id="IdcBuildExtendResult">
        <result property="id"    column="id"    />
        <result property="baseId"    column="base_id"    />
        <result property="dateNode"    column="date_node"    />
        <result property="deliveryScale"    column="delivery_scale"    />
        <result property="deliveryNext"    column="delivery_next"    />
        <result property="deliverySecond"    column="delivery_second"    />
        <result property="electricityPrice"    column="electricity_price"    />
        <result property="netBandwidth"    column="net_bandwidth"    />
        <result property="computationalScale"    column="computational_scale"    />
        <result property="cleanEnergy"    column="clean_energy"    />
        <result property="cleanEnergyType"    column="clean_energy_type"    />
        <result property="formName"    column="form_name"    />
        <result property="formTel"    column="form_tel"    />
        <result property="waterYearDesign"    column="water_year_design"    />
        <result property="sumU"    column="sum_u"    />
        <result property="sort"    column="sort_"    />
        <result property="state"    column="state"    />
        <result property="createTime"    column="create_time"    />
        <result property="createUser"    column="create_user"    />
        <result property="updateTime"    column="update_time"    />
        <result property="updateUser"    column="update_user"    />
        <result property="remark"    column="remark"    />
    </resultMap>
    <sql id="selectIdcBuildExtendVo">
        select id, base_id, date_node, delivery_scale, delivery_next, delivery_second, electricity_price, net_bandwidth, computational_scale, clean_energy, clean_energy_type, form_name, form_tel, water_year_design, sum_u, sort_, state, create_time, create_user, update_time, update_user, remark from idc_build_extend
    </sql>
    <select id="selectIdcBuildExtendList" parameterType="IdcBuildExtend" resultMap="IdcBuildExtendResult">
        <include refid="selectIdcBuildExtendVo"/>
        <where>
            <if test="baseId != null "> and base_id = #{baseId}</if>
            <if test="dateNode != null  and dateNode != ''"> and date_node = #{dateNode}</if>
            <if test="deliveryScale != null "> and delivery_scale = #{deliveryScale}</if>
            <if test="deliveryNext != null "> and delivery_next = #{deliveryNext}</if>
            <if test="deliverySecond != null "> and delivery_second = #{deliverySecond}</if>
            <if test="electricityPrice != null "> and electricity_price = #{electricityPrice}</if>
            <if test="netBandwidth != null "> and net_bandwidth = #{netBandwidth}</if>
            <if test="computationalScale != null "> and computational_scale = #{computationalScale}</if>
            <if test="cleanEnergy != null  and cleanEnergy != ''"> and clean_energy = #{cleanEnergy}</if>
            <if test="cleanEnergyType != null  and cleanEnergyType != ''"> and clean_energy_type = #{cleanEnergyType}</if>
            <if test="formName != null  and formName != ''"> and form_name like concat('%', #{formName}, '%')</if>
            <if test="formTel != null  and formTel != ''"> and form_tel = #{formTel}</if>
            <if test="waterYearDesign != null "> and water_year_design = #{waterYearDesign}</if>
            <if test="sumU != null "> and sum_u = #{sumU}</if>
            <if test="sort != null "> and sort_ = #{sort}</if>
            <if test="state != null "> and state = #{state}</if>
            <if test="createUser != null "> and create_user = #{createUser}</if>
            <if test="updateUser != null "> and update_user = #{updateUser}</if>
        </where>
    </select>
    <select id="selectIdcBuildExtendById" parameterType="Long" resultMap="IdcBuildExtendResult">
        <include refid="selectIdcBuildExtendVo"/>
        where id = #{id}
    </select>
    <insert id="insertIdcBuildExtend" parameterType="IdcBuildExtend" useGeneratedKeys="true" keyProperty="id">
        insert into idc_build_extend
        <trim prefix="(" suffix=")" suffixOverrides=",">
            <if test="baseId != null">base_id,</if>
            <if test="dateNode != null">date_node,</if>
            <if test="deliveryScale != null">delivery_scale,</if>
            <if test="deliveryNext != null">delivery_next,</if>
            <if test="deliverySecond != null">delivery_second,</if>
            <if test="electricityPrice != null">electricity_price,</if>
            <if test="netBandwidth != null">net_bandwidth,</if>
            <if test="computationalScale != null">computational_scale,</if>
            <if test="cleanEnergy != null">clean_energy,</if>
            <if test="cleanEnergyType != null">clean_energy_type,</if>
            <if test="formName != null">form_name,</if>
            <if test="formTel != null">form_tel,</if>
            <if test="waterYearDesign != null">water_year_design,</if>
            <if test="sumU != null">sum_u,</if>
            <if test="sort != null">sort_,</if>
            <if test="state != null">state,</if>
            <if test="createTime != null">create_time,</if>
            <if test="createUser != null">create_user,</if>
            <if test="updateTime != null">update_time,</if>
            <if test="updateUser != null">update_user,</if>
            <if test="remark != null">remark,</if>
         </trim>
        <trim prefix="values (" suffix=")" suffixOverrides=",">
            <if test="baseId != null">#{baseId},</if>
            <if test="dateNode != null">#{dateNode},</if>
            <if test="deliveryScale != null">#{deliveryScale},</if>
            <if test="deliveryNext != null">#{deliveryNext},</if>
            <if test="deliverySecond != null">#{deliverySecond},</if>
            <if test="electricityPrice != null">#{electricityPrice},</if>
            <if test="netBandwidth != null">#{netBandwidth},</if>
            <if test="computationalScale != null">#{computationalScale},</if>
            <if test="cleanEnergy != null">#{cleanEnergy},</if>
            <if test="cleanEnergyType != null">#{cleanEnergyType},</if>
            <if test="formName != null">#{formName},</if>
            <if test="formTel != null">#{formTel},</if>
            <if test="waterYearDesign != null">#{waterYearDesign},</if>
            <if test="sumU != null">#{sumU},</if>
            <if test="sort != null">#{sort},</if>
            <if test="state != null">#{state},</if>
            <if test="createTime != null">#{createTime},</if>
            <if test="createUser != null">#{createUser},</if>
            <if test="updateTime != null">#{updateTime},</if>
            <if test="updateUser != null">#{updateUser},</if>
            <if test="remark != null">#{remark},</if>
         </trim>
    </insert>
    <update id="updateIdcBuildExtend" parameterType="IdcBuildExtend">
        update idc_build_extend
        <trim prefix="SET" suffixOverrides=",">
            <if test="baseId != null">base_id = #{baseId},</if>
            <if test="dateNode != null">date_node = #{dateNode},</if>
            <if test="deliveryScale != null">delivery_scale = #{deliveryScale},</if>
            <if test="deliveryNext != null">delivery_next = #{deliveryNext},</if>
            <if test="deliverySecond != null">delivery_second = #{deliverySecond},</if>
            <if test="electricityPrice != null">electricity_price = #{electricityPrice},</if>
            <if test="netBandwidth != null">net_bandwidth = #{netBandwidth},</if>
            <if test="computationalScale != null">computational_scale = #{computationalScale},</if>
            <if test="cleanEnergy != null">clean_energy = #{cleanEnergy},</if>
            <if test="cleanEnergyType != null">clean_energy_type = #{cleanEnergyType},</if>
            <if test="formName != null">form_name = #{formName},</if>
            <if test="formTel != null">form_tel = #{formTel},</if>
            <if test="waterYearDesign != null">water_year_design = #{waterYearDesign},</if>
            <if test="sumU != null">sum_u = #{sumU},</if>
            <if test="sort != null">sort_ = #{sort},</if>
            <if test="state != null">state = #{state},</if>
            <if test="createTime != null">create_time = #{createTime},</if>
            <if test="createUser != null">create_user = #{createUser},</if>
            <if test="updateTime != null">update_time = #{updateTime},</if>
            <if test="updateUser != null">update_user = #{updateUser},</if>
            <if test="remark != null">remark = #{remark},</if>
        </trim>
        where id = #{id}
    </update>
    <delete id="deleteIdcBuildExtendById" parameterType="Long">
        delete from idc_build_extend where id = #{id}
    </delete>
    <delete id="deleteIdcBuildExtendByIds" parameterType="String">
        delete from idc_build_extend where id in
        <foreach item="id" collection="array" open="(" separator="," close=")">
            #{id}
        </foreach>
    </delete>
</mapper>
cpzidc-bis/src/main/resources/mapper/bis/IdcUseBaseMapper.xml
New file
@@ -0,0 +1,268 @@
<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE mapper
PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="com.odcc.cpzidc.bis.mapper.IdcUseBaseMapper">
    <resultMap type="IdcUseBase" id="IdcUseBaseResult">
        <result property="id"    column="id"    />
        <result property="buildId"    column="build_id"    />
        <result property="idcNo"    column="idc_no"    />
        <result property="type"    column="type"    />
        <result property="businessType"    column="business_type"    />
        <result property="frameNum"    column="frame_num"    />
        <result property="framePower"    column="frame_power"    />
        <result property="name"    column="name"    />
        <result property="province"    column="province"    />
        <result property="city"    column="city"    />
        <result property="area"    column="area"    />
        <result property="address"    column="address"    />
        <result property="addressExt"    column="address_ext"    />
        <result property="building"    column="building"    />
        <result property="creditCode"    column="credit_code"    />
        <result property="mainbody"    column="mainbody"    />
        <result property="mainbodyHeader"    column="mainbody_header"    />
        <result property="mainbodyType"    column="mainbody_type"    />
        <result property="investment"    column="investment"    />
        <result property="productionTime"    column="production_time"    />
        <result property="dcBuildingLevel"    column="dc_building_level"    />
        <result property="dcAllArea"    column="dc_all_area"    />
        <result property="dcItArea"    column="dc_it_area"    />
        <result property="buildingType"    column="building_type"    />
        <result property="cityElectricityType"    column="city_electricity_type"    />
        <result property="cityElectricityTypeOther"    column="city_electricity_type_other"    />
        <result property="powerDistribution"    column="power_distribution"    />
        <result property="electricityType"    column="electricity_type"    />
        <result property="electricityTypeOther"    column="electricity_type_other"    />
        <result property="pueDesign"    column="pue_design"    />
        <result property="waterDesign"    column="water_design"    />
        <result property="netLevel"    column="net_level"    />
        <result property="netOperator"    column="net_operator"    />
        <result property="netOperatorOther"    column="net_operator_other"    />
        <result property="airRefrigerationType"    column="air_refrigeration_type"    />
        <result property="airRefrigerationTypeOther"    column="air_refrigeration_type_other"    />
        <result property="sort"    column="sort_"    />
        <result property="message"    column="message"    />
        <result property="state"    column="state"    />
        <result property="isEnable"    column="is_enable"    />
        <result property="createUser"    column="create_user"    />
        <result property="createTime"    column="create_time"    />
        <result property="updateUser"    column="update_user"    />
        <result property="updateTime"    column="update_time"    />
        <result property="remark"    column="remark"    />
    </resultMap>
    <sql id="selectIdcUseBaseVo">
        select id, build_id, idc_no, type, business_type, frame_num, frame_power, name, province, city, area, address, address_ext, building, credit_code, mainbody, mainbody_header, mainbody_type, investment, production_time, dc_building_level, dc_all_area, dc_it_area, building_type, city_electricity_type, city_electricity_type_other, power_distribution, electricity_type, electricity_type_other, pue_design, water_design, net_level, net_operator, net_operator_other, air_refrigeration_type, air_refrigeration_type_other, sort_, message, state, is_enable, create_user, create_time, update_user, update_time, remark from idc_use_base
    </sql>
    <select id="selectIdcUseBaseList" parameterType="IdcUseBase" resultMap="IdcUseBaseResult">
        <include refid="selectIdcUseBaseVo"/>
        <where>
            <if test="buildId != null "> and build_id = #{buildId}</if>
            <if test="idcNo != null  and idcNo != ''"> and idc_no = #{idcNo}</if>
            <if test="type != null "> and type = #{type}</if>
            <if test="businessType != null "> and business_type = #{businessType}</if>
            <if test="frameNum != null "> and frame_num = #{frameNum}</if>
            <if test="framePower != null "> and frame_power = #{framePower}</if>
            <if test="name != null  and name != ''"> and name like concat('%', #{name}, '%')</if>
            <if test="province != null  and province != ''"> and province = #{province}</if>
            <if test="city != null  and city != ''"> and city = #{city}</if>
            <if test="area != null  and area != ''"> and area = #{area}</if>
            <if test="address != null  and address != ''"> and address = #{address}</if>
            <if test="addressExt != null  and addressExt != ''"> and address_ext = #{addressExt}</if>
            <if test="building != null  and building != ''"> and building = #{building}</if>
            <if test="creditCode != null  and creditCode != ''"> and credit_code = #{creditCode}</if>
            <if test="mainbody != null  and mainbody != ''"> and mainbody = #{mainbody}</if>
            <if test="mainbodyHeader != null  and mainbodyHeader != ''"> and mainbody_header = #{mainbodyHeader}</if>
            <if test="mainbodyType != null  and mainbodyType != ''"> and mainbody_type = #{mainbodyType}</if>
            <if test="investment != null  and investment != ''"> and investment = #{investment}</if>
            <if test="productionTime != null  and productionTime != ''"> and production_time = #{productionTime}</if>
            <if test="dcBuildingLevel != null  and dcBuildingLevel != ''"> and dc_building_level = #{dcBuildingLevel}</if>
            <if test="dcAllArea != null "> and dc_all_area = #{dcAllArea}</if>
            <if test="dcItArea != null "> and dc_it_area = #{dcItArea}</if>
            <if test="buildingType != null  and buildingType != ''"> and building_type = #{buildingType}</if>
            <if test="cityElectricityType != null  and cityElectricityType != ''"> and city_electricity_type = #{cityElectricityType}</if>
            <if test="cityElectricityTypeOther != null  and cityElectricityTypeOther != ''"> and city_electricity_type_other = #{cityElectricityTypeOther}</if>
            <if test="powerDistribution != null "> and power_distribution = #{powerDistribution}</if>
            <if test="electricityType != null  and electricityType != ''"> and electricity_type = #{electricityType}</if>
            <if test="electricityTypeOther != null  and electricityTypeOther != ''"> and electricity_type_other = #{electricityTypeOther}</if>
            <if test="pueDesign != null "> and pue_design = #{pueDesign}</if>
            <if test="waterDesign != null  and waterDesign != ''"> and water_design = #{waterDesign}</if>
            <if test="netLevel != null  and netLevel != ''"> and net_level = #{netLevel}</if>
            <if test="netOperator != null  and netOperator != ''"> and net_operator = #{netOperator}</if>
            <if test="netOperatorOther != null  and netOperatorOther != ''"> and net_operator_other = #{netOperatorOther}</if>
            <if test="airRefrigerationType != null  and airRefrigerationType != ''"> and air_refrigeration_type = #{airRefrigerationType}</if>
            <if test="airRefrigerationTypeOther != null  and airRefrigerationTypeOther != ''"> and air_refrigeration_type_other = #{airRefrigerationTypeOther}</if>
            <if test="sort != null "> and sort_ = #{sort}</if>
            <if test="message != null  and message != ''"> and message = #{message}</if>
            <if test="state != null "> and state = #{state}</if>
            <if test="isEnable != null "> and is_enable = #{isEnable}</if>
            <if test="createUser != null "> and create_user = #{createUser}</if>
            <if test="updateUser != null "> and update_user = #{updateUser}</if>
        </where>
    </select>
    <select id="selectIdcUseBaseById" parameterType="Long" resultMap="IdcUseBaseResult">
        <include refid="selectIdcUseBaseVo"/>
        where id = #{id}
    </select>
    <insert id="insertIdcUseBase" parameterType="IdcUseBase" useGeneratedKeys="true" keyProperty="id">
        insert into idc_use_base
        <trim prefix="(" suffix=")" suffixOverrides=",">
            <if test="buildId != null">build_id,</if>
            <if test="idcNo != null">idc_no,</if>
            <if test="type != null">type,</if>
            <if test="businessType != null">business_type,</if>
            <if test="frameNum != null">frame_num,</if>
            <if test="framePower != null">frame_power,</if>
            <if test="name != null and name != ''">name,</if>
            <if test="province != null and province != ''">province,</if>
            <if test="city != null and city != ''">city,</if>
            <if test="area != null and area != ''">area,</if>
            <if test="address != null and address != ''">address,</if>
            <if test="addressExt != null and addressExt != ''">address_ext,</if>
            <if test="building != null and building != ''">building,</if>
            <if test="creditCode != null and creditCode != ''">credit_code,</if>
            <if test="mainbody != null and mainbody != ''">mainbody,</if>
            <if test="mainbodyHeader != null and mainbodyHeader != ''">mainbody_header,</if>
            <if test="mainbodyType != null and mainbodyType != ''">mainbody_type,</if>
            <if test="investment != null">investment,</if>
            <if test="productionTime != null and productionTime != ''">production_time,</if>
            <if test="dcBuildingLevel != null and dcBuildingLevel != ''">dc_building_level,</if>
            <if test="dcAllArea != null">dc_all_area,</if>
            <if test="dcItArea != null">dc_it_area,</if>
            <if test="buildingType != null and buildingType != ''">building_type,</if>
            <if test="cityElectricityType != null and cityElectricityType != ''">city_electricity_type,</if>
            <if test="cityElectricityTypeOther != null and cityElectricityTypeOther != ''">city_electricity_type_other,</if>
            <if test="powerDistribution != null">power_distribution,</if>
            <if test="electricityType != null and electricityType != ''">electricity_type,</if>
            <if test="electricityTypeOther != null and electricityTypeOther != ''">electricity_type_other,</if>
            <if test="pueDesign != null">pue_design,</if>
            <if test="waterDesign != null and waterDesign != ''">water_design,</if>
            <if test="netLevel != null and netLevel != ''">net_level,</if>
            <if test="netOperator != null and netOperator != ''">net_operator,</if>
            <if test="netOperatorOther != null and netOperatorOther != ''">net_operator_other,</if>
            <if test="airRefrigerationType != null and airRefrigerationType != ''">air_refrigeration_type,</if>
            <if test="airRefrigerationTypeOther != null and airRefrigerationTypeOther != ''">air_refrigeration_type_other,</if>
            <if test="sort != null">sort_,</if>
            <if test="message != null">message,</if>
            <if test="state != null">state,</if>
            <if test="isEnable != null">is_enable,</if>
            <if test="createUser != null">create_user,</if>
            <if test="createTime != null">create_time,</if>
            <if test="updateUser != null">update_user,</if>
            <if test="updateTime != null">update_time,</if>
            <if test="remark != null">remark,</if>
         </trim>
        <trim prefix="values (" suffix=")" suffixOverrides=",">
            <if test="buildId != null">#{buildId},</if>
            <if test="idcNo != null">#{idcNo},</if>
            <if test="type != null">#{type},</if>
            <if test="businessType != null">#{businessType},</if>
            <if test="frameNum != null">#{frameNum},</if>
            <if test="framePower != null">#{framePower},</if>
            <if test="name != null and name != ''">#{name},</if>
            <if test="province != null and province != ''">#{province},</if>
            <if test="city != null and city != ''">#{city},</if>
            <if test="area != null and area != ''">#{area},</if>
            <if test="address != null and address != ''">#{address},</if>
            <if test="addressExt != null and addressExt != ''">#{addressExt},</if>
            <if test="building != null and building != ''">#{building},</if>
            <if test="creditCode != null and creditCode != ''">#{creditCode},</if>
            <if test="mainbody != null and mainbody != ''">#{mainbody},</if>
            <if test="mainbodyHeader != null and mainbodyHeader != ''">#{mainbodyHeader},</if>
            <if test="mainbodyType != null and mainbodyType != ''">#{mainbodyType},</if>
            <if test="investment != null">#{investment},</if>
            <if test="productionTime != null and productionTime != ''">#{productionTime},</if>
            <if test="dcBuildingLevel != null and dcBuildingLevel != ''">#{dcBuildingLevel},</if>
            <if test="dcAllArea != null">#{dcAllArea},</if>
            <if test="dcItArea != null">#{dcItArea},</if>
            <if test="buildingType != null and buildingType != ''">#{buildingType},</if>
            <if test="cityElectricityType != null and cityElectricityType != ''">#{cityElectricityType},</if>
            <if test="cityElectricityTypeOther != null and cityElectricityTypeOther != ''">#{cityElectricityTypeOther},</if>
            <if test="powerDistribution != null">#{powerDistribution},</if>
            <if test="electricityType != null and electricityType != ''">#{electricityType},</if>
            <if test="electricityTypeOther != null and electricityTypeOther != ''">#{electricityTypeOther},</if>
            <if test="pueDesign != null">#{pueDesign},</if>
            <if test="waterDesign != null and waterDesign != ''">#{waterDesign},</if>
            <if test="netLevel != null and netLevel != ''">#{netLevel},</if>
            <if test="netOperator != null and netOperator != ''">#{netOperator},</if>
            <if test="netOperatorOther != null and netOperatorOther != ''">#{netOperatorOther},</if>
            <if test="airRefrigerationType != null and airRefrigerationType != ''">#{airRefrigerationType},</if>
            <if test="airRefrigerationTypeOther != null and airRefrigerationTypeOther != ''">#{airRefrigerationTypeOther},</if>
            <if test="sort != null">#{sort},</if>
            <if test="message != null">#{message},</if>
            <if test="state != null">#{state},</if>
            <if test="isEnable != null">#{isEnable},</if>
            <if test="createUser != null">#{createUser},</if>
            <if test="createTime != null">#{createTime},</if>
            <if test="updateUser != null">#{updateUser},</if>
            <if test="updateTime != null">#{updateTime},</if>
            <if test="remark != null">#{remark},</if>
         </trim>
    </insert>
    <update id="updateIdcUseBase" parameterType="IdcUseBase">
        update idc_use_base
        <trim prefix="SET" suffixOverrides=",">
            <if test="buildId != null">build_id = #{buildId},</if>
            <if test="idcNo != null">idc_no = #{idcNo},</if>
            <if test="type != null">type = #{type},</if>
            <if test="businessType != null">business_type = #{businessType},</if>
            <if test="frameNum != null">frame_num = #{frameNum},</if>
            <if test="framePower != null">frame_power = #{framePower},</if>
            <if test="name != null and name != ''">name = #{name},</if>
            <if test="province != null and province != ''">province = #{province},</if>
            <if test="city != null and city != ''">city = #{city},</if>
            <if test="area != null and area != ''">area = #{area},</if>
            <if test="address != null and address != ''">address = #{address},</if>
            <if test="addressExt != null and addressExt != ''">address_ext = #{addressExt},</if>
            <if test="building != null and building != ''">building = #{building},</if>
            <if test="creditCode != null and creditCode != ''">credit_code = #{creditCode},</if>
            <if test="mainbody != null and mainbody != ''">mainbody = #{mainbody},</if>
            <if test="mainbodyHeader != null and mainbodyHeader != ''">mainbody_header = #{mainbodyHeader},</if>
            <if test="mainbodyType != null and mainbodyType != ''">mainbody_type = #{mainbodyType},</if>
            <if test="investment != null">investment = #{investment},</if>
            <if test="productionTime != null and productionTime != ''">production_time = #{productionTime},</if>
            <if test="dcBuildingLevel != null and dcBuildingLevel != ''">dc_building_level = #{dcBuildingLevel},</if>
            <if test="dcAllArea != null">dc_all_area = #{dcAllArea},</if>
            <if test="dcItArea != null">dc_it_area = #{dcItArea},</if>
            <if test="buildingType != null and buildingType != ''">building_type = #{buildingType},</if>
            <if test="cityElectricityType != null and cityElectricityType != ''">city_electricity_type = #{cityElectricityType},</if>
            <if test="cityElectricityTypeOther != null and cityElectricityTypeOther != ''">city_electricity_type_other = #{cityElectricityTypeOther},</if>
            <if test="powerDistribution != null">power_distribution = #{powerDistribution},</if>
            <if test="electricityType != null and electricityType != ''">electricity_type = #{electricityType},</if>
            <if test="electricityTypeOther != null and electricityTypeOther != ''">electricity_type_other = #{electricityTypeOther},</if>
            <if test="pueDesign != null">pue_design = #{pueDesign},</if>
            <if test="waterDesign != null and waterDesign != ''">water_design = #{waterDesign},</if>
            <if test="netLevel != null and netLevel != ''">net_level = #{netLevel},</if>
            <if test="netOperator != null and netOperator != ''">net_operator = #{netOperator},</if>
            <if test="netOperatorOther != null and netOperatorOther != ''">net_operator_other = #{netOperatorOther},</if>
            <if test="airRefrigerationType != null and airRefrigerationType != ''">air_refrigeration_type = #{airRefrigerationType},</if>
            <if test="airRefrigerationTypeOther != null and airRefrigerationTypeOther != ''">air_refrigeration_type_other = #{airRefrigerationTypeOther},</if>
            <if test="sort != null">sort_ = #{sort},</if>
            <if test="message != null">message = #{message},</if>
            <if test="state != null">state = #{state},</if>
            <if test="isEnable != null">is_enable = #{isEnable},</if>
            <if test="createUser != null">create_user = #{createUser},</if>
            <if test="createTime != null">create_time = #{createTime},</if>
            <if test="updateUser != null">update_user = #{updateUser},</if>
            <if test="updateTime != null">update_time = #{updateTime},</if>
            <if test="remark != null">remark = #{remark},</if>
        </trim>
        where id = #{id}
    </update>
    <delete id="deleteIdcUseBaseById" parameterType="Long">
        delete from idc_use_base where id = #{id}
    </delete>
    <delete id="deleteIdcUseBaseByIds" parameterType="String">
        delete from idc_use_base where id in
        <foreach item="id" collection="array" open="(" separator="," close=")">
            #{id}
        </foreach>
    </delete>
</mapper>
cpzidc-bis/src/main/resources/mapper/bis/IdcUseComputilityMapper.xml
New file
@@ -0,0 +1,128 @@
<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE mapper
PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="com.odcc.cpzidc.bis.mapper.IdcUseComputilityMapper">
    <resultMap type="IdcUseComputility" id="IdcUseComputilityResult">
        <result property="id"    column="id"    />
        <result property="baseId"    column="base_id"    />
        <result property="dateNode"    column="date_node"    />
        <result property="serviceAll"    column="service_all"    />
        <result property="haveManagerPlatform"    column="have_manager_platform"    />
        <result property="computingGeneral"    column="computing_general"    />
        <result property="computingIntelligence16"    column="computing_intelligence16"    />
        <result property="computingIntelligence32"    column="computing_intelligence32"    />
        <result property="computingGeneralText"    column="computing_general_text"    />
        <result property="computingIntelligence16Text"    column="computing_intelligence16_text"    />
        <result property="computingIntelligence32Text"    column="computing_intelligence32_text"    />
        <result property="sort"    column="sort_"    />
        <result property="createTime"    column="create_time"    />
        <result property="updateTime"    column="update_time"    />
        <result property="updateUser"    column="update_user"    />
        <result property="createUser"    column="create_user"    />
        <result property="remark"    column="remark"    />
    </resultMap>
    <sql id="selectIdcUseComputilityVo">
        select id, base_id, date_node, service_all, have_manager_platform, computing_general, computing_intelligence16, computing_intelligence32, computing_general_text, computing_intelligence16_text, computing_intelligence32_text, sort_, create_time, update_time, update_user, create_user, remark from idc_use_computility
    </sql>
    <select id="selectIdcUseComputilityList" parameterType="IdcUseComputility" resultMap="IdcUseComputilityResult">
        <include refid="selectIdcUseComputilityVo"/>
        <where>
            <if test="baseId != null "> and base_id = #{baseId}</if>
            <if test="dateNode != null  and dateNode != ''"> and date_node = #{dateNode}</if>
            <if test="serviceAll != null "> and service_all = #{serviceAll}</if>
            <if test="haveManagerPlatform != null "> and have_manager_platform = #{haveManagerPlatform}</if>
            <if test="computingGeneral != null "> and computing_general = #{computingGeneral}</if>
            <if test="computingIntelligence16 != null "> and computing_intelligence16 = #{computingIntelligence16}</if>
            <if test="computingIntelligence32 != null "> and computing_intelligence32 = #{computingIntelligence32}</if>
            <if test="computingGeneralText != null  and computingGeneralText != ''"> and computing_general_text = #{computingGeneralText}</if>
            <if test="computingIntelligence16Text != null  and computingIntelligence16Text != ''"> and computing_intelligence16_text = #{computingIntelligence16Text}</if>
            <if test="computingIntelligence32Text != null  and computingIntelligence32Text != ''"> and computing_intelligence32_text = #{computingIntelligence32Text}</if>
            <if test="sort != null "> and sort_ = #{sort}</if>
            <if test="updateUser != null "> and update_user = #{updateUser}</if>
            <if test="createUser != null "> and create_user = #{createUser}</if>
        </where>
    </select>
    <select id="selectIdcUseComputilityById" parameterType="Long" resultMap="IdcUseComputilityResult">
        <include refid="selectIdcUseComputilityVo"/>
        where id = #{id}
    </select>
    <insert id="insertIdcUseComputility" parameterType="IdcUseComputility" useGeneratedKeys="true" keyProperty="id">
        insert into idc_use_computility
        <trim prefix="(" suffix=")" suffixOverrides=",">
            <if test="baseId != null">base_id,</if>
            <if test="dateNode != null and dateNode != ''">date_node,</if>
            <if test="serviceAll != null">service_all,</if>
            <if test="haveManagerPlatform != null">have_manager_platform,</if>
            <if test="computingGeneral != null">computing_general,</if>
            <if test="computingIntelligence16 != null">computing_intelligence16,</if>
            <if test="computingIntelligence32 != null">computing_intelligence32,</if>
            <if test="computingGeneralText != null">computing_general_text,</if>
            <if test="computingIntelligence16Text != null">computing_intelligence16_text,</if>
            <if test="computingIntelligence32Text != null">computing_intelligence32_text,</if>
            <if test="sort != null">sort_,</if>
            <if test="createTime != null">create_time,</if>
            <if test="updateTime != null">update_time,</if>
            <if test="updateUser != null">update_user,</if>
            <if test="createUser != null">create_user,</if>
            <if test="remark != null">remark,</if>
         </trim>
        <trim prefix="values (" suffix=")" suffixOverrides=",">
            <if test="baseId != null">#{baseId},</if>
            <if test="dateNode != null and dateNode != ''">#{dateNode},</if>
            <if test="serviceAll != null">#{serviceAll},</if>
            <if test="haveManagerPlatform != null">#{haveManagerPlatform},</if>
            <if test="computingGeneral != null">#{computingGeneral},</if>
            <if test="computingIntelligence16 != null">#{computingIntelligence16},</if>
            <if test="computingIntelligence32 != null">#{computingIntelligence32},</if>
            <if test="computingGeneralText != null">#{computingGeneralText},</if>
            <if test="computingIntelligence16Text != null">#{computingIntelligence16Text},</if>
            <if test="computingIntelligence32Text != null">#{computingIntelligence32Text},</if>
            <if test="sort != null">#{sort},</if>
            <if test="createTime != null">#{createTime},</if>
            <if test="updateTime != null">#{updateTime},</if>
            <if test="updateUser != null">#{updateUser},</if>
            <if test="createUser != null">#{createUser},</if>
            <if test="remark != null">#{remark},</if>
         </trim>
    </insert>
    <update id="updateIdcUseComputility" parameterType="IdcUseComputility">
        update idc_use_computility
        <trim prefix="SET" suffixOverrides=",">
            <if test="baseId != null">base_id = #{baseId},</if>
            <if test="dateNode != null and dateNode != ''">date_node = #{dateNode},</if>
            <if test="serviceAll != null">service_all = #{serviceAll},</if>
            <if test="haveManagerPlatform != null">have_manager_platform = #{haveManagerPlatform},</if>
            <if test="computingGeneral != null">computing_general = #{computingGeneral},</if>
            <if test="computingIntelligence16 != null">computing_intelligence16 = #{computingIntelligence16},</if>
            <if test="computingIntelligence32 != null">computing_intelligence32 = #{computingIntelligence32},</if>
            <if test="computingGeneralText != null">computing_general_text = #{computingGeneralText},</if>
            <if test="computingIntelligence16Text != null">computing_intelligence16_text = #{computingIntelligence16Text},</if>
            <if test="computingIntelligence32Text != null">computing_intelligence32_text = #{computingIntelligence32Text},</if>
            <if test="sort != null">sort_ = #{sort},</if>
            <if test="createTime != null">create_time = #{createTime},</if>
            <if test="updateTime != null">update_time = #{updateTime},</if>
            <if test="updateUser != null">update_user = #{updateUser},</if>
            <if test="createUser != null">create_user = #{createUser},</if>
            <if test="remark != null">remark = #{remark},</if>
        </trim>
        where id = #{id}
    </update>
    <delete id="deleteIdcUseComputilityById" parameterType="Long">
        delete from idc_use_computility where id = #{id}
    </delete>
    <delete id="deleteIdcUseComputilityByIds" parameterType="String">
        delete from idc_use_computility where id in
        <foreach item="id" collection="array" open="(" separator="," close=")">
            #{id}
        </foreach>
    </delete>
</mapper>
cpzidc-bis/src/main/resources/mapper/bis/IdcUseGreenMapper.xml
New file
@@ -0,0 +1,148 @@
<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE mapper
PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="com.odcc.cpzidc.bis.mapper.IdcUseGreenMapper">
    <resultMap type="IdcUseGreen" id="IdcUseGreenResult">
        <result property="id"    column="id"    />
        <result property="baseId"    column="base_id"    />
        <result property="dateNode"    column="date_node"    />
        <result property="reform"    column="reform"    />
        <result property="investYear"    column="invest_year"    />
        <result property="energySavingStatus"    column="energy_saving_status"    />
        <result property="wueReality"    column="wue_reality"    />
        <result property="pueReality"    column="pue_reality"    />
        <result property="waterYearActual"    column="water_year_actual"    />
        <result property="electricityYearActual"    column="electricity_year_actual"    />
        <result property="electricityItYearActual"    column="electricity_it_year_actual"    />
        <result property="cleanEnergyDosage"    column="clean_energy_dosage"    />
        <result property="cleanEnergyRate"    column="clean_energy_rate"    />
        <result property="cleanEnergyType"    column="clean_energy_type"    />
        <result property="cleanEnergyFrom"    column="clean_energy_from"    />
        <result property="sort"    column="sort_"    />
        <result property="createTime"    column="create_time"    />
        <result property="updateTime"    column="update_time"    />
        <result property="updateUser"    column="update_user"    />
        <result property="createUser"    column="create_user"    />
        <result property="remark"    column="remark"    />
    </resultMap>
    <sql id="selectIdcUseGreenVo">
        select id, base_id, date_node, reform, invest_year, energy_saving_status, wue_reality, pue_reality, water_year_actual, electricity_year_actual, electricity_it_year_actual, clean_energy_dosage, clean_energy_rate, clean_energy_type, clean_energy_from, sort_, create_time, update_time, update_user, create_user, remark from idc_use_green
    </sql>
    <select id="selectIdcUseGreenList" parameterType="IdcUseGreen" resultMap="IdcUseGreenResult">
        <include refid="selectIdcUseGreenVo"/>
        <where>
            <if test="baseId != null "> and base_id = #{baseId}</if>
            <if test="dateNode != null  and dateNode != ''"> and date_node = #{dateNode}</if>
            <if test="reform != null "> and reform = #{reform}</if>
            <if test="investYear != null  and investYear != ''"> and invest_year = #{investYear}</if>
            <if test="energySavingStatus != null  and energySavingStatus != ''"> and energy_saving_status = #{energySavingStatus}</if>
            <if test="wueReality != null  and wueReality != ''"> and wue_reality = #{wueReality}</if>
            <if test="pueReality != null "> and pue_reality = #{pueReality}</if>
            <if test="waterYearActual != null "> and water_year_actual = #{waterYearActual}</if>
            <if test="electricityYearActual != null "> and electricity_year_actual = #{electricityYearActual}</if>
            <if test="electricityItYearActual != null "> and electricity_it_year_actual = #{electricityItYearActual}</if>
            <if test="cleanEnergyDosage != null "> and clean_energy_dosage = #{cleanEnergyDosage}</if>
            <if test="cleanEnergyRate != null  and cleanEnergyRate != ''"> and clean_energy_rate = #{cleanEnergyRate}</if>
            <if test="cleanEnergyType != null  and cleanEnergyType != ''"> and clean_energy_type = #{cleanEnergyType}</if>
            <if test="cleanEnergyFrom != null "> and clean_energy_from = #{cleanEnergyFrom}</if>
            <if test="sort != null "> and sort_ = #{sort}</if>
            <if test="updateUser != null "> and update_user = #{updateUser}</if>
            <if test="createUser != null "> and create_user = #{createUser}</if>
        </where>
    </select>
    <select id="selectIdcUseGreenById" parameterType="Long" resultMap="IdcUseGreenResult">
        <include refid="selectIdcUseGreenVo"/>
        where id = #{id}
    </select>
    <insert id="insertIdcUseGreen" parameterType="IdcUseGreen" useGeneratedKeys="true" keyProperty="id">
        insert into idc_use_green
        <trim prefix="(" suffix=")" suffixOverrides=",">
            <if test="baseId != null">base_id,</if>
            <if test="dateNode != null">date_node,</if>
            <if test="reform != null">reform,</if>
            <if test="investYear != null">invest_year,</if>
            <if test="energySavingStatus != null">energy_saving_status,</if>
            <if test="wueReality != null">wue_reality,</if>
            <if test="pueReality != null">pue_reality,</if>
            <if test="waterYearActual != null">water_year_actual,</if>
            <if test="electricityYearActual != null">electricity_year_actual,</if>
            <if test="electricityItYearActual != null">electricity_it_year_actual,</if>
            <if test="cleanEnergyDosage != null">clean_energy_dosage,</if>
            <if test="cleanEnergyRate != null">clean_energy_rate,</if>
            <if test="cleanEnergyType != null">clean_energy_type,</if>
            <if test="cleanEnergyFrom != null">clean_energy_from,</if>
            <if test="sort != null">sort_,</if>
            <if test="createTime != null">create_time,</if>
            <if test="updateTime != null">update_time,</if>
            <if test="updateUser != null">update_user,</if>
            <if test="createUser != null">create_user,</if>
            <if test="remark != null">remark,</if>
         </trim>
        <trim prefix="values (" suffix=")" suffixOverrides=",">
            <if test="baseId != null">#{baseId},</if>
            <if test="dateNode != null">#{dateNode},</if>
            <if test="reform != null">#{reform},</if>
            <if test="investYear != null">#{investYear},</if>
            <if test="energySavingStatus != null">#{energySavingStatus},</if>
            <if test="wueReality != null">#{wueReality},</if>
            <if test="pueReality != null">#{pueReality},</if>
            <if test="waterYearActual != null">#{waterYearActual},</if>
            <if test="electricityYearActual != null">#{electricityYearActual},</if>
            <if test="electricityItYearActual != null">#{electricityItYearActual},</if>
            <if test="cleanEnergyDosage != null">#{cleanEnergyDosage},</if>
            <if test="cleanEnergyRate != null">#{cleanEnergyRate},</if>
            <if test="cleanEnergyType != null">#{cleanEnergyType},</if>
            <if test="cleanEnergyFrom != null">#{cleanEnergyFrom},</if>
            <if test="sort != null">#{sort},</if>
            <if test="createTime != null">#{createTime},</if>
            <if test="updateTime != null">#{updateTime},</if>
            <if test="updateUser != null">#{updateUser},</if>
            <if test="createUser != null">#{createUser},</if>
            <if test="remark != null">#{remark},</if>
         </trim>
    </insert>
    <update id="updateIdcUseGreen" parameterType="IdcUseGreen">
        update idc_use_green
        <trim prefix="SET" suffixOverrides=",">
            <if test="baseId != null">base_id = #{baseId},</if>
            <if test="dateNode != null">date_node = #{dateNode},</if>
            <if test="reform != null">reform = #{reform},</if>
            <if test="investYear != null">invest_year = #{investYear},</if>
            <if test="energySavingStatus != null">energy_saving_status = #{energySavingStatus},</if>
            <if test="wueReality != null">wue_reality = #{wueReality},</if>
            <if test="pueReality != null">pue_reality = #{pueReality},</if>
            <if test="waterYearActual != null">water_year_actual = #{waterYearActual},</if>
            <if test="electricityYearActual != null">electricity_year_actual = #{electricityYearActual},</if>
            <if test="electricityItYearActual != null">electricity_it_year_actual = #{electricityItYearActual},</if>
            <if test="cleanEnergyDosage != null">clean_energy_dosage = #{cleanEnergyDosage},</if>
            <if test="cleanEnergyRate != null">clean_energy_rate = #{cleanEnergyRate},</if>
            <if test="cleanEnergyType != null">clean_energy_type = #{cleanEnergyType},</if>
            <if test="cleanEnergyFrom != null">clean_energy_from = #{cleanEnergyFrom},</if>
            <if test="sort != null">sort_ = #{sort},</if>
            <if test="createTime != null">create_time = #{createTime},</if>
            <if test="updateTime != null">update_time = #{updateTime},</if>
            <if test="updateUser != null">update_user = #{updateUser},</if>
            <if test="createUser != null">create_user = #{createUser},</if>
            <if test="remark != null">remark = #{remark},</if>
        </trim>
        where id = #{id}
    </update>
    <delete id="deleteIdcUseGreenById" parameterType="Long">
        delete from idc_use_green where id = #{id}
    </delete>
    <delete id="deleteIdcUseGreenByIds" parameterType="String">
        delete from idc_use_green where id in
        <foreach item="id" collection="array" open="(" separator="," close=")">
            #{id}
        </foreach>
    </delete>
</mapper>
cpzidc-bis/src/main/resources/mapper/bis/IdcUseInfrastructureMapper.xml
New file
@@ -0,0 +1,203 @@
<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE mapper
PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="com.odcc.cpzidc.bis.mapper.IdcUseInfrastructureMapper">
    <resultMap type="IdcUseInfrastructure" id="IdcUseInfrastructureResult">
        <result property="id"    column="id"    />
        <result property="baseId"    column="base_id"    />
        <result property="dateNode"    column="date_node"    />
        <result property="formName"    column="form_name"    />
        <result property="formTel"    column="form_tel"    />
        <result property="frameCompBase"    column="frame_comp_base"    />
        <result property="frameCompEnd"    column="frame_comp_end"    />
        <result property="frameElectricity"    column="frame_electricity"    />
        <result property="percentageCloud"    column="percentage_cloud"    />
        <result property="electricityPrice"    column="electricity_price"    />
        <result property="annual"    column="annual"    />
        <result property="cost"    column="cost"    />
        <result property="bisPercentZhengwu"    column="bis_percent_zhengwu"    />
        <result property="bisPercentQiye"    column="bis_percent_qiye"    />
        <result property="bisPercentJinrong"    column="bis_percent_jinrong"    />
        <result property="bisPercentInternetGongyouyun"    column="bis_percent_internet_gongyouyun"    />
        <result property="bisPercentInternetWangzhan"    column="bis_percent_internet_wangzhan"    />
        <result property="bisPercentInternetShiping"    column="bis_percent_internet_shiping"    />
        <result property="bisPercentInternetAi"    column="bis_percent_internet_ai"    />
        <result property="bisPercentInternetDianshang"    column="bis_percent_internet_dianshang"    />
        <result property="bisPercentInternetYouxi"    column="bis_percent_internet_youxi"    />
        <result property="bisPercentInternetZhifu"    column="bis_percent_internet_zhifu"    />
        <result property="bisPercentInternetOther"    column="bis_percent_internet_other"    />
        <result property="bisPercentOther"    column="bis_percent_other"    />
        <result property="sumChanquan"    column="sum_chanquan"    />
        <result property="itOperation"    column="it_operation"    />
        <result property="sort"    column="sort_"    />
        <result property="createTime"    column="create_time"    />
        <result property="updateTime"    column="update_time"    />
        <result property="createUser"    column="create_user"    />
        <result property="updateUser"    column="update_user"    />
        <result property="remark"    column="remark"    />
    </resultMap>
    <sql id="selectIdcUseInfrastructureVo">
        select id, base_id, date_node, form_name, form_tel, frame_comp_base, frame_comp_end, frame_electricity, percentage_cloud, electricity_price, annual, cost, bis_percent_zhengwu, bis_percent_qiye, bis_percent_jinrong, bis_percent_internet_gongyouyun, bis_percent_internet_wangzhan, bis_percent_internet_shiping, bis_percent_internet_ai, bis_percent_internet_dianshang, bis_percent_internet_youxi, bis_percent_internet_zhifu, bis_percent_internet_other, bis_percent_other, sum_chanquan, it_operation, sort_, create_time, update_time, create_user, update_user, remark from idc_use_infrastructure
    </sql>
    <select id="selectIdcUseInfrastructureList" parameterType="IdcUseInfrastructure" resultMap="IdcUseInfrastructureResult">
        <include refid="selectIdcUseInfrastructureVo"/>
        <where>
            <if test="baseId != null "> and base_id = #{baseId}</if>
            <if test="dateNode != null  and dateNode != ''"> and date_node = #{dateNode}</if>
            <if test="formName != null  and formName != ''"> and form_name like concat('%', #{formName}, '%')</if>
            <if test="formTel != null  and formTel != ''"> and form_tel = #{formTel}</if>
            <if test="frameCompBase != null "> and frame_comp_base = #{frameCompBase}</if>
            <if test="frameCompEnd != null "> and frame_comp_end = #{frameCompEnd}</if>
            <if test="frameElectricity != null  and frameElectricity != ''"> and frame_electricity = #{frameElectricity}</if>
            <if test="percentageCloud != null  and percentageCloud != ''"> and percentage_cloud = #{percentageCloud}</if>
            <if test="electricityPrice != null "> and electricity_price = #{electricityPrice}</if>
            <if test="annual != null  and annual != ''"> and annual = #{annual}</if>
            <if test="cost != null  and cost != ''"> and cost = #{cost}</if>
            <if test="bisPercentZhengwu != null  and bisPercentZhengwu != ''"> and bis_percent_zhengwu = #{bisPercentZhengwu}</if>
            <if test="bisPercentQiye != null  and bisPercentQiye != ''"> and bis_percent_qiye = #{bisPercentQiye}</if>
            <if test="bisPercentJinrong != null  and bisPercentJinrong != ''"> and bis_percent_jinrong = #{bisPercentJinrong}</if>
            <if test="bisPercentInternetGongyouyun != null  and bisPercentInternetGongyouyun != ''"> and bis_percent_internet_gongyouyun = #{bisPercentInternetGongyouyun}</if>
            <if test="bisPercentInternetWangzhan != null  and bisPercentInternetWangzhan != ''"> and bis_percent_internet_wangzhan = #{bisPercentInternetWangzhan}</if>
            <if test="bisPercentInternetShiping != null  and bisPercentInternetShiping != ''"> and bis_percent_internet_shiping = #{bisPercentInternetShiping}</if>
            <if test="bisPercentInternetAi != null  and bisPercentInternetAi != ''"> and bis_percent_internet_ai = #{bisPercentInternetAi}</if>
            <if test="bisPercentInternetDianshang != null  and bisPercentInternetDianshang != ''"> and bis_percent_internet_dianshang = #{bisPercentInternetDianshang}</if>
            <if test="bisPercentInternetYouxi != null  and bisPercentInternetYouxi != ''"> and bis_percent_internet_youxi = #{bisPercentInternetYouxi}</if>
            <if test="bisPercentInternetZhifu != null  and bisPercentInternetZhifu != ''"> and bis_percent_internet_zhifu = #{bisPercentInternetZhifu}</if>
            <if test="bisPercentInternetOther != null  and bisPercentInternetOther != ''"> and bis_percent_internet_other = #{bisPercentInternetOther}</if>
            <if test="bisPercentOther != null  and bisPercentOther != ''"> and bis_percent_other = #{bisPercentOther}</if>
            <if test="sumChanquan != null  and sumChanquan != ''"> and sum_chanquan = #{sumChanquan}</if>
            <if test="itOperation != null  and itOperation != ''"> and it_operation = #{itOperation}</if>
            <if test="sort != null "> and sort_ = #{sort}</if>
            <if test="createUser != null "> and create_user = #{createUser}</if>
            <if test="updateUser != null "> and update_user = #{updateUser}</if>
        </where>
    </select>
    <select id="selectIdcUseInfrastructureById" parameterType="Long" resultMap="IdcUseInfrastructureResult">
        <include refid="selectIdcUseInfrastructureVo"/>
        where id = #{id}
    </select>
    <insert id="insertIdcUseInfrastructure" parameterType="IdcUseInfrastructure" useGeneratedKeys="true" keyProperty="id">
        insert into idc_use_infrastructure
        <trim prefix="(" suffix=")" suffixOverrides=",">
            <if test="baseId != null">base_id,</if>
            <if test="dateNode != null">date_node,</if>
            <if test="formName != null">form_name,</if>
            <if test="formTel != null">form_tel,</if>
            <if test="frameCompBase != null">frame_comp_base,</if>
            <if test="frameCompEnd != null">frame_comp_end,</if>
            <if test="frameElectricity != null">frame_electricity,</if>
            <if test="percentageCloud != null">percentage_cloud,</if>
            <if test="electricityPrice != null">electricity_price,</if>
            <if test="annual != null">annual,</if>
            <if test="cost != null">cost,</if>
            <if test="bisPercentZhengwu != null">bis_percent_zhengwu,</if>
            <if test="bisPercentQiye != null">bis_percent_qiye,</if>
            <if test="bisPercentJinrong != null">bis_percent_jinrong,</if>
            <if test="bisPercentInternetGongyouyun != null">bis_percent_internet_gongyouyun,</if>
            <if test="bisPercentInternetWangzhan != null">bis_percent_internet_wangzhan,</if>
            <if test="bisPercentInternetShiping != null">bis_percent_internet_shiping,</if>
            <if test="bisPercentInternetAi != null">bis_percent_internet_ai,</if>
            <if test="bisPercentInternetDianshang != null">bis_percent_internet_dianshang,</if>
            <if test="bisPercentInternetYouxi != null">bis_percent_internet_youxi,</if>
            <if test="bisPercentInternetZhifu != null">bis_percent_internet_zhifu,</if>
            <if test="bisPercentInternetOther != null">bis_percent_internet_other,</if>
            <if test="bisPercentOther != null">bis_percent_other,</if>
            <if test="sumChanquan != null">sum_chanquan,</if>
            <if test="itOperation != null">it_operation,</if>
            <if test="sort != null">sort_,</if>
            <if test="createTime != null">create_time,</if>
            <if test="updateTime != null">update_time,</if>
            <if test="createUser != null">create_user,</if>
            <if test="updateUser != null">update_user,</if>
            <if test="remark != null">remark,</if>
         </trim>
        <trim prefix="values (" suffix=")" suffixOverrides=",">
            <if test="baseId != null">#{baseId},</if>
            <if test="dateNode != null">#{dateNode},</if>
            <if test="formName != null">#{formName},</if>
            <if test="formTel != null">#{formTel},</if>
            <if test="frameCompBase != null">#{frameCompBase},</if>
            <if test="frameCompEnd != null">#{frameCompEnd},</if>
            <if test="frameElectricity != null">#{frameElectricity},</if>
            <if test="percentageCloud != null">#{percentageCloud},</if>
            <if test="electricityPrice != null">#{electricityPrice},</if>
            <if test="annual != null">#{annual},</if>
            <if test="cost != null">#{cost},</if>
            <if test="bisPercentZhengwu != null">#{bisPercentZhengwu},</if>
            <if test="bisPercentQiye != null">#{bisPercentQiye},</if>
            <if test="bisPercentJinrong != null">#{bisPercentJinrong},</if>
            <if test="bisPercentInternetGongyouyun != null">#{bisPercentInternetGongyouyun},</if>
            <if test="bisPercentInternetWangzhan != null">#{bisPercentInternetWangzhan},</if>
            <if test="bisPercentInternetShiping != null">#{bisPercentInternetShiping},</if>
            <if test="bisPercentInternetAi != null">#{bisPercentInternetAi},</if>
            <if test="bisPercentInternetDianshang != null">#{bisPercentInternetDianshang},</if>
            <if test="bisPercentInternetYouxi != null">#{bisPercentInternetYouxi},</if>
            <if test="bisPercentInternetZhifu != null">#{bisPercentInternetZhifu},</if>
            <if test="bisPercentInternetOther != null">#{bisPercentInternetOther},</if>
            <if test="bisPercentOther != null">#{bisPercentOther},</if>
            <if test="sumChanquan != null">#{sumChanquan},</if>
            <if test="itOperation != null">#{itOperation},</if>
            <if test="sort != null">#{sort},</if>
            <if test="createTime != null">#{createTime},</if>
            <if test="updateTime != null">#{updateTime},</if>
            <if test="createUser != null">#{createUser},</if>
            <if test="updateUser != null">#{updateUser},</if>
            <if test="remark != null">#{remark},</if>
         </trim>
    </insert>
    <update id="updateIdcUseInfrastructure" parameterType="IdcUseInfrastructure">
        update idc_use_infrastructure
        <trim prefix="SET" suffixOverrides=",">
            <if test="baseId != null">base_id = #{baseId},</if>
            <if test="dateNode != null">date_node = #{dateNode},</if>
            <if test="formName != null">form_name = #{formName},</if>
            <if test="formTel != null">form_tel = #{formTel},</if>
            <if test="frameCompBase != null">frame_comp_base = #{frameCompBase},</if>
            <if test="frameCompEnd != null">frame_comp_end = #{frameCompEnd},</if>
            <if test="frameElectricity != null">frame_electricity = #{frameElectricity},</if>
            <if test="percentageCloud != null">percentage_cloud = #{percentageCloud},</if>
            <if test="electricityPrice != null">electricity_price = #{electricityPrice},</if>
            <if test="annual != null">annual = #{annual},</if>
            <if test="cost != null">cost = #{cost},</if>
            <if test="bisPercentZhengwu != null">bis_percent_zhengwu = #{bisPercentZhengwu},</if>
            <if test="bisPercentQiye != null">bis_percent_qiye = #{bisPercentQiye},</if>
            <if test="bisPercentJinrong != null">bis_percent_jinrong = #{bisPercentJinrong},</if>
            <if test="bisPercentInternetGongyouyun != null">bis_percent_internet_gongyouyun = #{bisPercentInternetGongyouyun},</if>
            <if test="bisPercentInternetWangzhan != null">bis_percent_internet_wangzhan = #{bisPercentInternetWangzhan},</if>
            <if test="bisPercentInternetShiping != null">bis_percent_internet_shiping = #{bisPercentInternetShiping},</if>
            <if test="bisPercentInternetAi != null">bis_percent_internet_ai = #{bisPercentInternetAi},</if>
            <if test="bisPercentInternetDianshang != null">bis_percent_internet_dianshang = #{bisPercentInternetDianshang},</if>
            <if test="bisPercentInternetYouxi != null">bis_percent_internet_youxi = #{bisPercentInternetYouxi},</if>
            <if test="bisPercentInternetZhifu != null">bis_percent_internet_zhifu = #{bisPercentInternetZhifu},</if>
            <if test="bisPercentInternetOther != null">bis_percent_internet_other = #{bisPercentInternetOther},</if>
            <if test="bisPercentOther != null">bis_percent_other = #{bisPercentOther},</if>
            <if test="sumChanquan != null">sum_chanquan = #{sumChanquan},</if>
            <if test="itOperation != null">it_operation = #{itOperation},</if>
            <if test="sort != null">sort_ = #{sort},</if>
            <if test="createTime != null">create_time = #{createTime},</if>
            <if test="updateTime != null">update_time = #{updateTime},</if>
            <if test="createUser != null">create_user = #{createUser},</if>
            <if test="updateUser != null">update_user = #{updateUser},</if>
            <if test="remark != null">remark = #{remark},</if>
        </trim>
        where id = #{id}
    </update>
    <delete id="deleteIdcUseInfrastructureById" parameterType="Long">
        delete from idc_use_infrastructure where id = #{id}
    </delete>
    <delete id="deleteIdcUseInfrastructureByIds" parameterType="String">
        delete from idc_use_infrastructure where id in
        <foreach item="id" collection="array" open="(" separator="," close=")">
            #{id}
        </foreach>
    </delete>
</mapper>
cpzidc-bis/src/main/resources/mapper/bis/IdcUseStorageMapper.xml
New file
@@ -0,0 +1,188 @@
<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE mapper
PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="com.odcc.cpzidc.bis.mapper.IdcUseStorageMapper">
    <resultMap type="IdcUseStorage" id="IdcUseStorageResult">
        <result property="id"    column="id"    />
        <result property="baseId"    column="base_id"    />
        <result property="dateNode"    column="date_node"    />
        <result property="haveStoragePlatform"    column="have_storage_platform"    />
        <result property="storageCapacityAll"    column="storage_capacity_all"    />
        <result property="storageCapacitySsd"    column="storage_capacity_ssd"    />
        <result property="storageCapacityRate"    column="storage_capacity_rate"    />
        <result property="serverStorageNum"    column="server_storage_num"    />
        <result property="serverStorageCapacity"    column="server_storage_capacity"    />
        <result property="serverStorageSsd"    column="server_storage_ssd"    />
        <result property="serverStorageSsdCapacity"    column="server_storage_ssd_capacity"    />
        <result property="serverCalculationNum"    column="server_calculation_num"    />
        <result property="serverCalculationCapacity"    column="server_calculation_capacity"    />
        <result property="serverCalculationSsd"    column="server_calculation_ssd"    />
        <result property="serverCalculationSsdCapacity"    column="server_calculation_ssd_capacity"    />
        <result property="serverDiskNum"    column="server_disk_num"    />
        <result property="serverDiskCapacity"    column="server_disk_capacity"    />
        <result property="serverSsdNum"    column="server_ssd_num"    />
        <result property="serverSsdCapacity"    column="server_ssd_capacity"    />
        <result property="serverExternalNumber"    column="server_external_number"    />
        <result property="serverExternalCapacity"    column="server_external_capacity"    />
        <result property="serverExternalSsdNumber"    column="server_external_ssd_number"    />
        <result property="serverExternalSsdCapacity"    column="server_external_ssd_capacity"    />
        <result property="Sort"    column="_sort"    />
        <result property="createTime"    column="create_time"    />
        <result property="updateTime"    column="update_time"    />
        <result property="updateUser"    column="update_user"    />
        <result property="createUser"    column="create_user"    />
        <result property="remark"    column="remark"    />
    </resultMap>
    <sql id="selectIdcUseStorageVo">
        select id, base_id, date_node, have_storage_platform, storage_capacity_all, storage_capacity_ssd, storage_capacity_rate, server_storage_num, server_storage_capacity, server_storage_ssd, server_storage_ssd_capacity, server_calculation_num, server_calculation_capacity, server_calculation_ssd, server_calculation_ssd_capacity, server_disk_num, server_disk_capacity, server_ssd_num, server_ssd_capacity, server_external_number, server_external_capacity, server_external_ssd_number, server_external_ssd_capacity, _sort, create_time, update_time, update_user, create_user, remark from idc_use_storage
    </sql>
    <select id="selectIdcUseStorageList" parameterType="IdcUseStorage" resultMap="IdcUseStorageResult">
        <include refid="selectIdcUseStorageVo"/>
        <where>
            <if test="baseId != null "> and base_id = #{baseId}</if>
            <if test="dateNode != null  and dateNode != ''"> and date_node = #{dateNode}</if>
            <if test="haveStoragePlatform != null "> and have_storage_platform = #{haveStoragePlatform}</if>
            <if test="storageCapacityAll != null  and storageCapacityAll != ''"> and storage_capacity_all = #{storageCapacityAll}</if>
            <if test="storageCapacitySsd != null  and storageCapacitySsd != ''"> and storage_capacity_ssd = #{storageCapacitySsd}</if>
            <if test="storageCapacityRate != null  and storageCapacityRate != ''"> and storage_capacity_rate = #{storageCapacityRate}</if>
            <if test="serverStorageNum != null  and serverStorageNum != ''"> and server_storage_num = #{serverStorageNum}</if>
            <if test="serverStorageCapacity != null  and serverStorageCapacity != ''"> and server_storage_capacity = #{serverStorageCapacity}</if>
            <if test="serverStorageSsd != null  and serverStorageSsd != ''"> and server_storage_ssd = #{serverStorageSsd}</if>
            <if test="serverStorageSsdCapacity != null  and serverStorageSsdCapacity != ''"> and server_storage_ssd_capacity = #{serverStorageSsdCapacity}</if>
            <if test="serverCalculationNum != null  and serverCalculationNum != ''"> and server_calculation_num = #{serverCalculationNum}</if>
            <if test="serverCalculationCapacity != null  and serverCalculationCapacity != ''"> and server_calculation_capacity = #{serverCalculationCapacity}</if>
            <if test="serverCalculationSsd != null  and serverCalculationSsd != ''"> and server_calculation_ssd = #{serverCalculationSsd}</if>
            <if test="serverCalculationSsdCapacity != null  and serverCalculationSsdCapacity != ''"> and server_calculation_ssd_capacity = #{serverCalculationSsdCapacity}</if>
            <if test="serverDiskNum != null  and serverDiskNum != ''"> and server_disk_num = #{serverDiskNum}</if>
            <if test="serverDiskCapacity != null  and serverDiskCapacity != ''"> and server_disk_capacity = #{serverDiskCapacity}</if>
            <if test="serverSsdNum != null  and serverSsdNum != ''"> and server_ssd_num = #{serverSsdNum}</if>
            <if test="serverSsdCapacity != null  and serverSsdCapacity != ''"> and server_ssd_capacity = #{serverSsdCapacity}</if>
            <if test="serverExternalNumber != null  and serverExternalNumber != ''"> and server_external_number = #{serverExternalNumber}</if>
            <if test="serverExternalCapacity != null  and serverExternalCapacity != ''"> and server_external_capacity = #{serverExternalCapacity}</if>
            <if test="serverExternalSsdNumber != null  and serverExternalSsdNumber != ''"> and server_external_ssd_number = #{serverExternalSsdNumber}</if>
            <if test="serverExternalSsdCapacity != null  and serverExternalSsdCapacity != ''"> and server_external_ssd_capacity = #{serverExternalSsdCapacity}</if>
            <if test="Sort != null "> and _sort = #{Sort}</if>
            <if test="updateUser != null "> and update_user = #{updateUser}</if>
            <if test="createUser != null "> and create_user = #{createUser}</if>
        </where>
    </select>
    <select id="selectIdcUseStorageById" parameterType="Long" resultMap="IdcUseStorageResult">
        <include refid="selectIdcUseStorageVo"/>
        where id = #{id}
    </select>
    <insert id="insertIdcUseStorage" parameterType="IdcUseStorage" useGeneratedKeys="true" keyProperty="id">
        insert into idc_use_storage
        <trim prefix="(" suffix=")" suffixOverrides=",">
            <if test="baseId != null">base_id,</if>
            <if test="dateNode != null and dateNode != ''">date_node,</if>
            <if test="haveStoragePlatform != null">have_storage_platform,</if>
            <if test="storageCapacityAll != null">storage_capacity_all,</if>
            <if test="storageCapacitySsd != null">storage_capacity_ssd,</if>
            <if test="storageCapacityRate != null">storage_capacity_rate,</if>
            <if test="serverStorageNum != null">server_storage_num,</if>
            <if test="serverStorageCapacity != null">server_storage_capacity,</if>
            <if test="serverStorageSsd != null">server_storage_ssd,</if>
            <if test="serverStorageSsdCapacity != null">server_storage_ssd_capacity,</if>
            <if test="serverCalculationNum != null">server_calculation_num,</if>
            <if test="serverCalculationCapacity != null">server_calculation_capacity,</if>
            <if test="serverCalculationSsd != null">server_calculation_ssd,</if>
            <if test="serverCalculationSsdCapacity != null">server_calculation_ssd_capacity,</if>
            <if test="serverDiskNum != null">server_disk_num,</if>
            <if test="serverDiskCapacity != null">server_disk_capacity,</if>
            <if test="serverSsdNum != null">server_ssd_num,</if>
            <if test="serverSsdCapacity != null">server_ssd_capacity,</if>
            <if test="serverExternalNumber != null">server_external_number,</if>
            <if test="serverExternalCapacity != null">server_external_capacity,</if>
            <if test="serverExternalSsdNumber != null">server_external_ssd_number,</if>
            <if test="serverExternalSsdCapacity != null">server_external_ssd_capacity,</if>
            <if test="Sort != null">_sort,</if>
            <if test="createTime != null">create_time,</if>
            <if test="updateTime != null">update_time,</if>
            <if test="updateUser != null">update_user,</if>
            <if test="createUser != null">create_user,</if>
            <if test="remark != null">remark,</if>
         </trim>
        <trim prefix="values (" suffix=")" suffixOverrides=",">
            <if test="baseId != null">#{baseId},</if>
            <if test="dateNode != null and dateNode != ''">#{dateNode},</if>
            <if test="haveStoragePlatform != null">#{haveStoragePlatform},</if>
            <if test="storageCapacityAll != null">#{storageCapacityAll},</if>
            <if test="storageCapacitySsd != null">#{storageCapacitySsd},</if>
            <if test="storageCapacityRate != null">#{storageCapacityRate},</if>
            <if test="serverStorageNum != null">#{serverStorageNum},</if>
            <if test="serverStorageCapacity != null">#{serverStorageCapacity},</if>
            <if test="serverStorageSsd != null">#{serverStorageSsd},</if>
            <if test="serverStorageSsdCapacity != null">#{serverStorageSsdCapacity},</if>
            <if test="serverCalculationNum != null">#{serverCalculationNum},</if>
            <if test="serverCalculationCapacity != null">#{serverCalculationCapacity},</if>
            <if test="serverCalculationSsd != null">#{serverCalculationSsd},</if>
            <if test="serverCalculationSsdCapacity != null">#{serverCalculationSsdCapacity},</if>
            <if test="serverDiskNum != null">#{serverDiskNum},</if>
            <if test="serverDiskCapacity != null">#{serverDiskCapacity},</if>
            <if test="serverSsdNum != null">#{serverSsdNum},</if>
            <if test="serverSsdCapacity != null">#{serverSsdCapacity},</if>
            <if test="serverExternalNumber != null">#{serverExternalNumber},</if>
            <if test="serverExternalCapacity != null">#{serverExternalCapacity},</if>
            <if test="serverExternalSsdNumber != null">#{serverExternalSsdNumber},</if>
            <if test="serverExternalSsdCapacity != null">#{serverExternalSsdCapacity},</if>
            <if test="Sort != null">#{Sort},</if>
            <if test="createTime != null">#{createTime},</if>
            <if test="updateTime != null">#{updateTime},</if>
            <if test="updateUser != null">#{updateUser},</if>
            <if test="createUser != null">#{createUser},</if>
            <if test="remark != null">#{remark},</if>
         </trim>
    </insert>
    <update id="updateIdcUseStorage" parameterType="IdcUseStorage">
        update idc_use_storage
        <trim prefix="SET" suffixOverrides=",">
            <if test="baseId != null">base_id = #{baseId},</if>
            <if test="dateNode != null and dateNode != ''">date_node = #{dateNode},</if>
            <if test="haveStoragePlatform != null">have_storage_platform = #{haveStoragePlatform},</if>
            <if test="storageCapacityAll != null">storage_capacity_all = #{storageCapacityAll},</if>
            <if test="storageCapacitySsd != null">storage_capacity_ssd = #{storageCapacitySsd},</if>
            <if test="storageCapacityRate != null">storage_capacity_rate = #{storageCapacityRate},</if>
            <if test="serverStorageNum != null">server_storage_num = #{serverStorageNum},</if>
            <if test="serverStorageCapacity != null">server_storage_capacity = #{serverStorageCapacity},</if>
            <if test="serverStorageSsd != null">server_storage_ssd = #{serverStorageSsd},</if>
            <if test="serverStorageSsdCapacity != null">server_storage_ssd_capacity = #{serverStorageSsdCapacity},</if>
            <if test="serverCalculationNum != null">server_calculation_num = #{serverCalculationNum},</if>
            <if test="serverCalculationCapacity != null">server_calculation_capacity = #{serverCalculationCapacity},</if>
            <if test="serverCalculationSsd != null">server_calculation_ssd = #{serverCalculationSsd},</if>
            <if test="serverCalculationSsdCapacity != null">server_calculation_ssd_capacity = #{serverCalculationSsdCapacity},</if>
            <if test="serverDiskNum != null">server_disk_num = #{serverDiskNum},</if>
            <if test="serverDiskCapacity != null">server_disk_capacity = #{serverDiskCapacity},</if>
            <if test="serverSsdNum != null">server_ssd_num = #{serverSsdNum},</if>
            <if test="serverSsdCapacity != null">server_ssd_capacity = #{serverSsdCapacity},</if>
            <if test="serverExternalNumber != null">server_external_number = #{serverExternalNumber},</if>
            <if test="serverExternalCapacity != null">server_external_capacity = #{serverExternalCapacity},</if>
            <if test="serverExternalSsdNumber != null">server_external_ssd_number = #{serverExternalSsdNumber},</if>
            <if test="serverExternalSsdCapacity != null">server_external_ssd_capacity = #{serverExternalSsdCapacity},</if>
            <if test="Sort != null">_sort = #{Sort},</if>
            <if test="createTime != null">create_time = #{createTime},</if>
            <if test="updateTime != null">update_time = #{updateTime},</if>
            <if test="updateUser != null">update_user = #{updateUser},</if>
            <if test="createUser != null">create_user = #{createUser},</if>
            <if test="remark != null">remark = #{remark},</if>
        </trim>
        where id = #{id}
    </update>
    <delete id="deleteIdcUseStorageById" parameterType="Long">
        delete from idc_use_storage where id = #{id}
    </delete>
    <delete id="deleteIdcUseStorageByIds" parameterType="String">
        delete from idc_use_storage where id in
        <foreach item="id" collection="array" open="(" separator="," close=")">
            #{id}
        </foreach>
    </delete>
</mapper>
cpzidc-bis/src/main/resources/mapper/bis/IdcUseTransportMapper.xml
New file
@@ -0,0 +1,108 @@
<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE mapper
PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="com.odcc.cpzidc.bis.mapper.IdcUseTransportMapper">
    <resultMap type="IdcUseTransport" id="IdcUseTransportResult">
        <result property="id"    column="id"    />
        <result property="baseId"    column="base_id"    />
        <result property="dateNode"    column="date_node"    />
        <result property="idcBandwidthExport"    column="idc_bandwidth_export"    />
        <result property="idcIbRate"    column="idc_ib_rate"    />
        <result property="idcRoceRate"    column="idc_roce_rate"    />
        <result property="idcOpticalRate"    column="idc_optical_rate"    />
        <result property="Sort"    column="_sort"    />
        <result property="createTime"    column="create_time"    />
        <result property="updateTime"    column="update_time"    />
        <result property="updateUser"    column="update_user"    />
        <result property="createUser"    column="create_user"    />
        <result property="remark"    column="remark"    />
    </resultMap>
    <sql id="selectIdcUseTransportVo">
        select id, base_id, date_node, idc_bandwidth_export, idc_ib_rate, idc_roce_rate, idc_optical_rate, _sort, create_time, update_time, update_user, create_user, remark from idc_use_transport
    </sql>
    <select id="selectIdcUseTransportList" parameterType="IdcUseTransport" resultMap="IdcUseTransportResult">
        <include refid="selectIdcUseTransportVo"/>
        <where>
            <if test="baseId != null "> and base_id = #{baseId}</if>
            <if test="dateNode != null  and dateNode != ''"> and date_node = #{dateNode}</if>
            <if test="idcBandwidthExport != null  and idcBandwidthExport != ''"> and idc_bandwidth_export = #{idcBandwidthExport}</if>
            <if test="idcIbRate != null  and idcIbRate != ''"> and idc_ib_rate = #{idcIbRate}</if>
            <if test="idcRoceRate != null  and idcRoceRate != ''"> and idc_roce_rate = #{idcRoceRate}</if>
            <if test="idcOpticalRate != null  and idcOpticalRate != ''"> and idc_optical_rate = #{idcOpticalRate}</if>
            <if test="Sort != null "> and _sort = #{Sort}</if>
            <if test="updateUser != null "> and update_user = #{updateUser}</if>
            <if test="createUser != null "> and create_user = #{createUser}</if>
        </where>
    </select>
    <select id="selectIdcUseTransportById" parameterType="Long" resultMap="IdcUseTransportResult">
        <include refid="selectIdcUseTransportVo"/>
        where id = #{id}
    </select>
    <insert id="insertIdcUseTransport" parameterType="IdcUseTransport" useGeneratedKeys="true" keyProperty="id">
        insert into idc_use_transport
        <trim prefix="(" suffix=")" suffixOverrides=",">
            <if test="baseId != null">base_id,</if>
            <if test="dateNode != null and dateNode != ''">date_node,</if>
            <if test="idcBandwidthExport != null">idc_bandwidth_export,</if>
            <if test="idcIbRate != null">idc_ib_rate,</if>
            <if test="idcRoceRate != null">idc_roce_rate,</if>
            <if test="idcOpticalRate != null">idc_optical_rate,</if>
            <if test="Sort != null">_sort,</if>
            <if test="createTime != null">create_time,</if>
            <if test="updateTime != null">update_time,</if>
            <if test="updateUser != null">update_user,</if>
            <if test="createUser != null">create_user,</if>
            <if test="remark != null">remark,</if>
         </trim>
        <trim prefix="values (" suffix=")" suffixOverrides=",">
            <if test="baseId != null">#{baseId},</if>
            <if test="dateNode != null and dateNode != ''">#{dateNode},</if>
            <if test="idcBandwidthExport != null">#{idcBandwidthExport},</if>
            <if test="idcIbRate != null">#{idcIbRate},</if>
            <if test="idcRoceRate != null">#{idcRoceRate},</if>
            <if test="idcOpticalRate != null">#{idcOpticalRate},</if>
            <if test="Sort != null">#{Sort},</if>
            <if test="createTime != null">#{createTime},</if>
            <if test="updateTime != null">#{updateTime},</if>
            <if test="updateUser != null">#{updateUser},</if>
            <if test="createUser != null">#{createUser},</if>
            <if test="remark != null">#{remark},</if>
         </trim>
    </insert>
    <update id="updateIdcUseTransport" parameterType="IdcUseTransport">
        update idc_use_transport
        <trim prefix="SET" suffixOverrides=",">
            <if test="baseId != null">base_id = #{baseId},</if>
            <if test="dateNode != null and dateNode != ''">date_node = #{dateNode},</if>
            <if test="idcBandwidthExport != null">idc_bandwidth_export = #{idcBandwidthExport},</if>
            <if test="idcIbRate != null">idc_ib_rate = #{idcIbRate},</if>
            <if test="idcRoceRate != null">idc_roce_rate = #{idcRoceRate},</if>
            <if test="idcOpticalRate != null">idc_optical_rate = #{idcOpticalRate},</if>
            <if test="Sort != null">_sort = #{Sort},</if>
            <if test="createTime != null">create_time = #{createTime},</if>
            <if test="updateTime != null">update_time = #{updateTime},</if>
            <if test="updateUser != null">update_user = #{updateUser},</if>
            <if test="createUser != null">create_user = #{createUser},</if>
            <if test="remark != null">remark = #{remark},</if>
        </trim>
        where id = #{id}
    </update>
    <delete id="deleteIdcUseTransportById" parameterType="Long">
        delete from idc_use_transport where id = #{id}
    </delete>
    <delete id="deleteIdcUseTransportByIds" parameterType="String">
        delete from idc_use_transport where id in
        <foreach item="id" collection="array" open="(" separator="," close=")">
            #{id}
        </foreach>
    </delete>
</mapper>
cpzidc-ui/src/api/bis/buildBase.js
New file
@@ -0,0 +1,44 @@
import request from '@/utils/request'
// 查询在建数据中心列表
export function listBuildBase(query) {
  return request({
    url: '/bis/buildBase/list',
    method: 'get',
    params: query
  })
}
// 查询在建数据中心详细
export function getBuildBase(id) {
  return request({
    url: '/bis/buildBase/' + id,
    method: 'get'
  })
}
// 新增在建数据中心
export function addBuildBase(data) {
  return request({
    url: '/bis/buildBase',
    method: 'post',
    data: data
  })
}
// 修改在建数据中心
export function updateBuildBase(data) {
  return request({
    url: '/bis/buildBase',
    method: 'put',
    data: data
  })
}
// 删除在建数据中心
export function delBuildBase(id) {
  return request({
    url: '/bis/buildBase/' + id,
    method: 'delete'
  })
}
cpzidc-ui/src/api/bis/buildExtend.js
New file
@@ -0,0 +1,44 @@
import request from '@/utils/request'
// 查询IDC在建扩展信息列表
export function listBuildExtend(query) {
  return request({
    url: '/bis/buildExtend/list',
    method: 'get',
    params: query
  })
}
// 查询IDC在建扩展信息详细
export function getBuildExtend(id) {
  return request({
    url: '/bis/buildExtend/' + id,
    method: 'get'
  })
}
// 新增IDC在建扩展信息
export function addBuildExtend(data) {
  return request({
    url: '/bis/buildExtend',
    method: 'post',
    data: data
  })
}
// 修改IDC在建扩展信息
export function updateBuildExtend(data) {
  return request({
    url: '/bis/buildExtend',
    method: 'put',
    data: data
  })
}
// 删除IDC在建扩展信息
export function delBuildExtend(id) {
  return request({
    url: '/bis/buildExtend/' + id,
    method: 'delete'
  })
}
cpzidc-ui/src/api/bis/useBase.js
New file
@@ -0,0 +1,44 @@
import request from '@/utils/request'
// 查询在用数据中心列表
export function listUseBase(query) {
  return request({
    url: '/bis/useBase/list',
    method: 'get',
    params: query
  })
}
// 查询在用数据中心详细
export function getUseBase(id) {
  return request({
    url: '/bis/useBase/' + id,
    method: 'get'
  })
}
// 新增在用数据中心
export function addUseBase(data) {
  return request({
    url: '/bis/useBase',
    method: 'post',
    data: data
  })
}
// 修改在用数据中心
export function updateUseBase(data) {
  return request({
    url: '/bis/useBase',
    method: 'put',
    data: data
  })
}
// 删除在用数据中心
export function delUseBase(id) {
  return request({
    url: '/bis/useBase/' + id,
    method: 'delete'
  })
}
cpzidc-ui/src/api/bis/useComputility.js
New file
@@ -0,0 +1,44 @@
import request from '@/utils/request'
// 查询算力指标信息列表
export function listUseComputility(query) {
  return request({
    url: '/bis/useComputility/list',
    method: 'get',
    params: query
  })
}
// 查询算力指标信息详细
export function getUseComputility(id) {
  return request({
    url: '/bis/useComputility/' + id,
    method: 'get'
  })
}
// 新增算力指标信息
export function addUseComputility(data) {
  return request({
    url: '/bis/useComputility',
    method: 'post',
    data: data
  })
}
// 修改算力指标信息
export function updateUseComputility(data) {
  return request({
    url: '/bis/useComputility',
    method: 'put',
    data: data
  })
}
// 删除算力指标信息
export function delUseComputility(id) {
  return request({
    url: '/bis/useComputility/' + id,
    method: 'delete'
  })
}
cpzidc-ui/src/api/bis/useGreen.js
New file
@@ -0,0 +1,44 @@
import request from '@/utils/request'
// 查询绿色运行指标信息列表
export function listUseGreen(query) {
  return request({
    url: '/bis/useGreen/list',
    method: 'get',
    params: query
  })
}
// 查询绿色运行指标信息详细
export function getUseGreen(id) {
  return request({
    url: '/bis/useGreen/' + id,
    method: 'get'
  })
}
// 新增绿色运行指标信息
export function addUseGreen(data) {
  return request({
    url: '/bis/useGreen',
    method: 'post',
    data: data
  })
}
// 修改绿色运行指标信息
export function updateUseGreen(data) {
  return request({
    url: '/bis/useGreen',
    method: 'put',
    data: data
  })
}
// 删除绿色运行指标信息
export function delUseGreen(id) {
  return request({
    url: '/bis/useGreen/' + id,
    method: 'delete'
  })
}
cpzidc-ui/src/api/bis/useInfrastructure.js
New file
@@ -0,0 +1,44 @@
import request from '@/utils/request'
// 查询基础设施信息列表
export function listUseInfrastructure(query) {
  return request({
    url: '/bis/useInfrastructure/list',
    method: 'get',
    params: query
  })
}
// 查询基础设施信息详细
export function getUseInfrastructure(id) {
  return request({
    url: '/bis/useInfrastructure/' + id,
    method: 'get'
  })
}
// 新增基础设施信息
export function addUseInfrastructure(data) {
  return request({
    url: '/bis/useInfrastructure',
    method: 'post',
    data: data
  })
}
// 修改基础设施信息
export function updateUseInfrastructure(data) {
  return request({
    url: '/bis/useInfrastructure',
    method: 'put',
    data: data
  })
}
// 删除基础设施信息
export function delUseInfrastructure(id) {
  return request({
    url: '/bis/useInfrastructure/' + id,
    method: 'delete'
  })
}
cpzidc-ui/src/api/bis/useStorage.js
New file
@@ -0,0 +1,44 @@
import request from '@/utils/request'
// 查询存力指标信息列表
export function listUseStorage(query) {
  return request({
    url: '/bis/useStorage/list',
    method: 'get',
    params: query
  })
}
// 查询存力指标信息详细
export function getUseStorage(id) {
  return request({
    url: '/bis/useStorage/' + id,
    method: 'get'
  })
}
// 新增存力指标信息
export function addUseStorage(data) {
  return request({
    url: '/bis/useStorage',
    method: 'post',
    data: data
  })
}
// 修改存力指标信息
export function updateUseStorage(data) {
  return request({
    url: '/bis/useStorage',
    method: 'put',
    data: data
  })
}
// 删除存力指标信息
export function delUseStorage(id) {
  return request({
    url: '/bis/useStorage/' + id,
    method: 'delete'
  })
}
cpzidc-ui/src/api/bis/useTransport.js
New file
@@ -0,0 +1,44 @@
import request from '@/utils/request'
// 查询运力指标信息列表
export function listUseTransport(query) {
  return request({
    url: '/bis/useTransport/list',
    method: 'get',
    params: query
  })
}
// 查询运力指标信息详细
export function getUseTransport(id) {
  return request({
    url: '/bis/useTransport/' + id,
    method: 'get'
  })
}
// 新增运力指标信息
export function addUseTransport(data) {
  return request({
    url: '/bis/useTransport',
    method: 'post',
    data: data
  })
}
// 修改运力指标信息
export function updateUseTransport(data) {
  return request({
    url: '/bis/useTransport',
    method: 'put',
    data: data
  })
}
// 删除运力指标信息
export function delUseTransport(id) {
  return request({
    url: '/bis/useTransport/' + id,
    method: 'delete'
  })
}
cpzidc-ui/src/assets/images/login-background.jpg
Binary files differ
cpzidc-ui/src/assets/images/login-background.png
cpzidc-ui/src/assets/images/pay.png
Binary files differ
cpzidc-ui/src/views/bis/buildBase/index.vue
New file
@@ -0,0 +1,732 @@
<template>
  <div class="app-container">
    <el-form :model="queryParams" ref="queryForm" size="small" :inline="true" v-show="showSearch" label-width="120px">
      <el-form-item label="规模类型" prop="type">
        <el-select v-model="queryParams.type" placeholder="请选择规模类型" clearable>
          <el-option
            v-for="dict in dict.type.idc_scale_type"
            :key="dict.value"
            :label="dict.label"
            :value="dict.value"
          />
        </el-select>
      </el-form-item>
      <el-form-item label="业务类型" prop="businessType">
        <el-select v-model="queryParams.businessType" placeholder="请选择业务类型" clearable>
          <el-option
            v-for="dict in dict.type.idc_business_type"
            :key="dict.value"
            :label="dict.label"
            :value="dict.value"
          />
        </el-select>
      </el-form-item>
      <el-form-item label="名称" prop="name">
        <el-input
          v-model="queryParams.name"
          placeholder="请输入名称"
          clearable
          @keyup.enter.native="handleQuery"
        />
      </el-form-item>
      <el-form-item label="省" prop="province">
        <el-input
          v-model="queryParams.province"
          placeholder="请输入省"
          clearable
          @keyup.enter.native="handleQuery"
        />
      </el-form-item>
      <el-form-item label="市" prop="city">
        <el-input
          v-model="queryParams.city"
          placeholder="请输入市"
          clearable
          @keyup.enter.native="handleQuery"
        />
      </el-form-item>
      <el-form-item label="运营主体统一社会信用代码" prop="creditCode">
        <el-input
          v-model="queryParams.creditCode"
          placeholder="请输入运营主体统一社会信用代码"
          clearable
          @keyup.enter.native="handleQuery"
        />
      </el-form-item>
      <el-form-item label="运营主体" prop="mainbody">
        <el-input
          v-model="queryParams.mainbody"
          placeholder="请输入运营主体"
          clearable
          @keyup.enter.native="handleQuery"
        />
      </el-form-item>
      <el-form-item label="运营公司总公司" prop="mainbodyHeader">
        <el-select v-model="queryParams.mainbodyHeader" placeholder="请选择运营公司总公司" clearable>
          <el-option
            v-for="dict in dict.type.idc_base_mainbody_header"
            :key="dict.value"
            :label="dict.label"
            :value="dict.value"
          />
        </el-select>
      </el-form-item>
      <el-form-item label="运营主体类型" prop="mainbodyType">
        <el-select v-model="queryParams.mainbodyType" placeholder="请选择运营主体类型" clearable>
          <el-option
            v-for="dict in dict.type.idc_base_mainbody_type"
            :key="dict.value"
            :label="dict.label"
            :value="dict.value"
          />
        </el-select>
      </el-form-item>
      <el-form-item label="投产时间" prop="productionTime">
        <el-date-picker clearable
          v-model="queryParams.productionTime"
          type="date"
          value-format="yyyy-MM-dd"
          placeholder="请选择投产时间">
        </el-date-picker>
      </el-form-item>
      <el-form-item label="状态" prop="state">
        <el-input
          v-model="queryParams.state"
          placeholder="请输入状态0: 1   2"
          clearable
          @keyup.enter.native="handleQuery"
        />
      </el-form-item>
      <el-form-item label="是否可用" prop="isEnable">
        <el-input
          v-model="queryParams.isEnable"
          placeholder="请输入是否可用"
          clearable
          @keyup.enter.native="handleQuery"
        />
      </el-form-item>
      <el-form-item label="创建者" prop="createUser">
        <el-input
          v-model="queryParams.createUser"
          placeholder="请输入创建者"
          clearable
          @keyup.enter.native="handleQuery"
        />
      </el-form-item>
      <el-form-item>
        <el-button type="primary" icon="el-icon-search" size="mini" @click="handleQuery">搜索</el-button>
        <el-button icon="el-icon-refresh" size="mini" @click="resetQuery">重置</el-button>
      </el-form-item>
    </el-form>
    <el-row :gutter="10" class="mb8">
      <el-col :span="1.5">
        <el-button
          type="primary"
          plain
          icon="el-icon-plus"
          size="mini"
          @click="handleAdd"
          v-hasPermi="['bis:buildBase:add']"
        >新增</el-button>
      </el-col>
      <el-col :span="1.5">
        <el-button
          type="success"
          plain
          icon="el-icon-edit"
          size="mini"
          :disabled="single"
          @click="handleUpdate"
          v-hasPermi="['bis:buildBase:edit']"
        >修改</el-button>
      </el-col>
      <el-col :span="1.5">
        <el-button
          type="danger"
          plain
          icon="el-icon-delete"
          size="mini"
          :disabled="multiple"
          @click="handleDelete"
          v-hasPermi="['bis:buildBase:remove']"
        >删除</el-button>
      </el-col>
      <el-col :span="1.5">
        <el-button
          type="warning"
          plain
          icon="el-icon-download"
          size="mini"
          @click="handleExport"
          v-hasPermi="['bis:buildBase:export']"
        >导出</el-button>
      </el-col>
      <right-toolbar :showSearch.sync="showSearch" @queryTable="getList"></right-toolbar>
    </el-row>
    <el-table v-loading="loading" :data="buildBaseList" @selection-change="handleSelectionChange">
      <el-table-column type="selection" width="55" align="center" />
      <el-table-column label="序号" align="center" prop="id" />
      <el-table-column label="规模类型" align="center" prop="type">
        <template slot-scope="scope">
          <dict-tag :options="dict.type.idc_scale_type" :value="scope.row.type"/>
        </template>
      </el-table-column>
      <el-table-column label="业务类型" align="center" prop="businessType">
        <template slot-scope="scope">
          <dict-tag :options="dict.type.idc_business_type" :value="scope.row.businessType"/>
        </template>
      </el-table-column>
      <el-table-column label="设计机架数" align="center" prop="frameNum" />
      <el-table-column label="设计机架功率" align="center" prop="framePower" />
      <el-table-column label="名称" align="center" prop="name" />
      <el-table-column label="省" align="center" prop="province" />
      <el-table-column label="市" align="center" prop="city" />
      <el-table-column label="区、县" align="center" prop="area" />
      <el-table-column label="地址" align="center" prop="address" />
      <el-table-column label="补充地址" align="center" prop="addressExt" />
      <el-table-column label="机楼" align="center" prop="building" />
      <el-table-column label="运营主体统一社会信用代码" align="center" prop="creditCode" />
      <el-table-column label="运营主体" align="center" prop="mainbody" />
      <el-table-column label="运营公司总公司" align="center" prop="mainbodyHeader">
        <template slot-scope="scope">
          <dict-tag :options="dict.type.idc_base_mainbody_header" :value="scope.row.mainbodyHeader"/>
        </template>
      </el-table-column>
      <el-table-column label="运营主体类型" align="center" prop="mainbodyType">
        <template slot-scope="scope">
          <dict-tag :options="dict.type.idc_base_mainbody_type" :value="scope.row.mainbodyType"/>
        </template>
      </el-table-column>
      <el-table-column label="建设初始投资" align="center" prop="investment" />
      <el-table-column label="建设进度" align="center" prop="progress" />
      <el-table-column label="投产时间" align="center" prop="productionTime" width="180">
        <template slot-scope="scope">
          <span>{{ parseTime(scope.row.productionTime, '{y}-{m}-{d}') }}</span>
        </template>
      </el-table-column>
      <el-table-column label="数据中心建设等级或标准" align="center" prop="dcBuildingLevel" />
      <el-table-column label="数据中心总设计面积" align="center" prop="dcAllArea" />
      <el-table-column label="IT机房面积" align="center" prop="dcItArea" />
      <el-table-column label="建筑形式" align="center" prop="buildingType">
        <template slot-scope="scope">
          <dict-tag :options="dict.type.idc_base_building_type" :value="scope.row.buildingType"/>
        </template>
      </el-table-column>
      <el-table-column label="抗震级别" align="center" prop="seismicLevel" />
      <el-table-column label="应用类别" align="center" prop="useType">
        <template slot-scope="scope">
          <dict-tag :options="dict.type.idc_use_type" :value="scope.row.useType"/>
        </template>
      </el-table-column>
      <el-table-column label="设计PUE" align="center" prop="pueDesign" />
      <el-table-column label="设计耗水量(年)" align="center" prop="waterDesign" />
      <el-table-column label="链接的运营商" align="center" prop="netOperator">
        <template slot-scope="scope">
          <dict-tag :options="dict.type.idc_net_operator" :value="scope.row.netOperator"/>
        </template>
      </el-table-column>
      <el-table-column label="链接的运营商_其它" align="center" prop="netOperatorOther" />
      <el-table-column label="接入网络级别" align="center" prop="netLevel">
        <template slot-scope="scope">
          <dict-tag :options="dict.type.idc_net_level" :value="scope.row.netLevel"/>
        </template>
      </el-table-column>
      <el-table-column label="管理员备注及信息反馈" align="center" prop="remark" />
      <el-table-column label="排序" align="center" prop="sort" />
      <el-table-column label="管理员反馈信息" align="center" prop="message" />
      <el-table-column label="状态0: 1   2" align="center" prop="state">
        <template slot-scope="scope">
          <dict-tag :options="dict.type.idc_process_status" :value="scope.row.state"/>
        </template>
      </el-table-column>
      <el-table-column label="是否可用" align="center" prop="isEnable">
        <template slot-scope="scope">
          <dict-tag :options="dict.type.idc_yes_no" :value="scope.row.isEnable"/>
        </template>
      </el-table-column>
      <el-table-column label="创建者" align="center" prop="createUser" />
      <el-table-column label="操作" align="center" class-name="small-padding fixed-width">
        <template slot-scope="scope">
          <el-button
            size="mini"
            type="text"
            icon="el-icon-edit"
            @click="handleUpdate(scope.row)"
            v-hasPermi="['bis:buildBase:edit']"
          >修改</el-button>
          <el-button
            size="mini"
            type="text"
            icon="el-icon-delete"
            @click="handleDelete(scope.row)"
            v-hasPermi="['bis:buildBase:remove']"
          >删除</el-button>
        </template>
      </el-table-column>
    </el-table>
    <pagination
      v-show="total>0"
      :total="total"
      :page.sync="queryParams.pageNum"
      :limit.sync="queryParams.pageSize"
      @pagination="getList"
    />
    <!-- 添加或修改在建数据中心对话框 -->
    <el-dialog :title="title" :visible.sync="open" width="500px" append-to-body>
      <el-form ref="form" :model="form" :rules="rules" label-width="80px">
        <el-form-item label="规模类型" prop="type">
          <el-radio-group v-model="form.type">
            <el-radio
              v-for="dict in dict.type.idc_scale_type"
              :key="dict.value"
              :label="parseInt(dict.value)"
            >{{dict.label}}</el-radio>
          </el-radio-group>
        </el-form-item>
        <el-form-item label="业务类型" prop="businessType">
          <el-radio-group v-model="form.businessType">
            <el-radio
              v-for="dict in dict.type.idc_business_type"
              :key="dict.value"
              :label="parseInt(dict.value)"
            >{{dict.label}}</el-radio>
          </el-radio-group>
        </el-form-item>
        <el-form-item label="设计机架数" prop="frameNum">
          <el-input v-model="form.frameNum" placeholder="请输入设计机架数" />
        </el-form-item>
        <el-form-item label="设计机架功率" prop="framePower">
          <el-input v-model="form.framePower" placeholder="请输入设计机架功率" />
        </el-form-item>
        <el-form-item label="名称" prop="name">
          <el-input v-model="form.name" placeholder="请输入名称" />
        </el-form-item>
        <el-form-item label="省" prop="province">
          <el-input v-model="form.province" placeholder="请输入省" />
        </el-form-item>
        <el-form-item label="市" prop="city">
          <el-input v-model="form.city" placeholder="请输入市" />
        </el-form-item>
        <el-form-item label="区、县" prop="area">
          <el-input v-model="form.area" placeholder="请输入区、县" />
        </el-form-item>
        <el-form-item label="地址" prop="address">
          <el-input v-model="form.address" placeholder="请输入地址" />
        </el-form-item>
        <el-form-item label="补充地址" prop="addressExt">
          <el-input v-model="form.addressExt" placeholder="请输入补充地址" />
        </el-form-item>
        <el-form-item label="机楼" prop="building">
          <el-input v-model="form.building" placeholder="请输入机楼" />
        </el-form-item>
        <el-form-item label="运营主体统一社会信用代码" prop="creditCode">
          <el-input v-model="form.creditCode" placeholder="请输入运营主体统一社会信用代码" />
        </el-form-item>
        <el-form-item label="运营主体" prop="mainbody">
          <el-input v-model="form.mainbody" placeholder="请输入运营主体" />
        </el-form-item>
        <el-form-item label="运营公司总公司" prop="mainbodyHeader">
          <el-select v-model="form.mainbodyHeader" placeholder="请选择运营公司总公司">
            <el-option
              v-for="dict in dict.type.idc_base_mainbody_header"
              :key="dict.value"
              :label="dict.label"
              :value="dict.value"
            ></el-option>
          </el-select>
        </el-form-item>
        <el-form-item label="运营主体类型" prop="mainbodyType">
          <el-select v-model="form.mainbodyType" placeholder="请选择运营主体类型">
            <el-option
              v-for="dict in dict.type.idc_base_mainbody_type"
              :key="dict.value"
              :label="dict.label"
              :value="dict.value"
            ></el-option>
          </el-select>
        </el-form-item>
        <el-form-item label="建设初始投资" prop="investment">
          <el-input v-model="form.investment" placeholder="请输入建设初始投资" />
        </el-form-item>
        <el-form-item label="建设进度" prop="progress">
          <el-input v-model="form.progress" placeholder="请输入建设进度" />
        </el-form-item>
        <el-form-item label="投产时间" prop="productionTime">
          <el-date-picker clearable
            v-model="form.productionTime"
            type="date"
            value-format="yyyy-MM-dd"
            placeholder="请选择投产时间">
          </el-date-picker>
        </el-form-item>
        <el-form-item label="数据中心建设等级或标准" prop="dcBuildingLevel">
          <el-input v-model="form.dcBuildingLevel" placeholder="请输入数据中心建设等级或标准" />
        </el-form-item>
        <el-form-item label="数据中心总设计面积" prop="dcAllArea">
          <el-input v-model="form.dcAllArea" placeholder="请输入数据中心总设计面积" />
        </el-form-item>
        <el-form-item label="IT机房面积" prop="dcItArea">
          <el-input v-model="form.dcItArea" placeholder="请输入IT机房面积" />
        </el-form-item>
        <el-form-item label="建筑形式" prop="buildingType">
          <el-select v-model="form.buildingType" placeholder="请选择建筑形式">
            <el-option
              v-for="dict in dict.type.idc_base_building_type"
              :key="dict.value"
              :label="dict.label"
              :value="dict.value"
            ></el-option>
          </el-select>
        </el-form-item>
        <el-form-item label="抗震级别" prop="seismicLevel">
          <el-input v-model="form.seismicLevel" placeholder="请输入抗震级别" />
        </el-form-item>
        <el-form-item label="应用类别" prop="useType">
          <el-select v-model="form.useType" placeholder="请选择应用类别">
            <el-option
              v-for="dict in dict.type.idc_use_type"
              :key="dict.value"
              :label="dict.label"
              :value="dict.value"
            ></el-option>
          </el-select>
        </el-form-item>
        <el-form-item label="设计PUE" prop="pueDesign">
          <el-input v-model="form.pueDesign" placeholder="请输入设计PUE" />
        </el-form-item>
        <el-form-item label="设计耗水量(年)" prop="waterDesign">
          <el-input v-model="form.waterDesign" placeholder="请输入设计耗水量(年)" />
        </el-form-item>
        <el-form-item label="链接的运营商" prop="netOperator">
          <el-select v-model="form.netOperator" placeholder="请选择链接的运营商">
            <el-option
              v-for="dict in dict.type.idc_net_operator"
              :key="dict.value"
              :label="dict.label"
              :value="dict.value"
            ></el-option>
          </el-select>
        </el-form-item>
        <el-form-item label="链接的运营商_其它" prop="netOperatorOther">
          <el-input v-model="form.netOperatorOther" placeholder="请输入链接的运营商_其它" />
        </el-form-item>
        <el-form-item label="接入网络级别" prop="netLevel">
          <el-input v-model="form.netLevel" placeholder="请输入接入网络级别" />
        </el-form-item>
        <el-form-item label="管理员备注及信息反馈" prop="remark">
          <el-input v-model="form.remark" placeholder="请输入管理员备注及信息反馈" />
        </el-form-item>
        <el-form-item label="排序" prop="sort">
          <el-input v-model="form.sort" placeholder="请输入排序" />
        </el-form-item>
        <el-form-item label="管理员反馈信息" prop="message">
          <el-input v-model="form.message" type="textarea" placeholder="请输入内容" />
        </el-form-item>
        <el-form-item label="状态0: 1   2" prop="state">
          <el-input v-model="form.state" placeholder="请输入状态0: 1   2" />
        </el-form-item>
        <el-form-item label="是否可用" prop="isEnable">
          <el-input v-model="form.isEnable" placeholder="请输入是否可用" />
        </el-form-item>
        <el-form-item label="创建者" prop="createUser">
          <el-input v-model="form.createUser" placeholder="请输入创建者" />
        </el-form-item>
      </el-form>
      <div slot="footer" class="dialog-footer">
        <el-button type="primary" @click="submitForm">确 定</el-button>
        <el-button @click="cancel">取 消</el-button>
      </div>
    </el-dialog>
  </div>
</template>
<script>
import { listBuildBase, getBuildBase, delBuildBase, addBuildBase, updateBuildBase } from "@/api/bis/buildBase";
export default {
  name: "BuildBase",
  dicts: ['idc_base_mainbody_header', 'idc_business_type', 'idc_base_mainbody_type', 'idc_scale_type', 'idc_net_operator', 'idc_base_building_type', 'idc_use_type'],
  data() {
    return {
      // 遮罩层
      loading: true,
      // 选中数组
      ids: [],
      // 非单个禁用
      single: true,
      // 非多个禁用
      multiple: true,
      // 显示搜索条件
      showSearch: true,
      // 总条数
      total: 0,
      // 在建数据中心表格数据
      buildBaseList: [],
      // 弹出层标题
      title: "",
      // 是否显示弹出层
      open: false,
      // 查询参数
      queryParams: {
        pageNum: 1,
        pageSize: 10,
        type: null,
        businessType: null,
        frameNum: null,
        framePower: null,
        name: null,
        province: null,
        city: null,
        area: null,
        address: null,
        addressExt: null,
        building: null,
        creditCode: null,
        mainbody: null,
        mainbodyHeader: null,
        mainbodyType: null,
        investment: null,
        progress: null,
        productionTime: null,
        dcBuildingLevel: null,
        dcAllArea: null,
        dcItArea: null,
        buildingType: null,
        seismicLevel: null,
        useType: null,
        pueDesign: null,
        waterDesign: null,
        netOperator: null,
        netOperatorOther: null,
        netLevel: null,
        sort: null,
        message: null,
        state: null,
        isEnable: null,
        createUser: null
      },
      // 表单参数
      form: {},
      // 表单校验
      rules: {
        type: [
          { required: true, message: "规模类型不能为空", trigger: "change" }
        ],
        businessType: [
          { required: true, message: "业务类型不能为空", trigger: "change" }
        ],
        frameNum: [
          { required: true, message: "设计机架数不能为空", trigger: "blur" }
        ],
        framePower: [
          { required: true, message: "设计机架功率不能为空", trigger: "blur" }
        ],
        name: [
          { required: true, message: "名称不能为空", trigger: "blur" }
        ],
        province: [
          { required: true, message: "省不能为空", trigger: "blur" }
        ],
        city: [
          { required: true, message: "市不能为空", trigger: "blur" }
        ],
        area: [
          { required: true, message: "区、县不能为空", trigger: "blur" }
        ],
        address: [
          { required: true, message: "地址不能为空", trigger: "blur" }
        ],
        building: [
          { required: true, message: "机楼不能为空", trigger: "blur" }
        ],
        creditCode: [
          { required: true, message: "运营主体统一社会信用代码不能为空", trigger: "blur" }
        ],
        mainbody: [
          { required: true, message: "运营主体不能为空", trigger: "blur" }
        ],
        mainbodyHeader: [
          { required: true, message: "运营公司总公司不能为空", trigger: "change" }
        ],
        mainbodyType: [
          { required: true, message: "运营主体类型不能为空", trigger: "change" }
        ],
        progress: [
          { required: true, message: "建设进度不能为空", trigger: "blur" }
        ],
        productionTime: [
          { required: true, message: "投产时间不能为空", trigger: "blur" }
        ],
        dcBuildingLevel: [
          { required: true, message: "数据中心建设等级或标准不能为空", trigger: "blur" }
        ],
        dcAllArea: [
          { required: true, message: "数据中心总设计面积不能为空", trigger: "blur" }
        ],
        dcItArea: [
          { required: true, message: "IT机房面积不能为空", trigger: "blur" }
        ],
        buildingType: [
          { required: true, message: "建筑形式不能为空", trigger: "change" }
        ],
        seismicLevel: [
          { required: true, message: "抗震级别不能为空", trigger: "blur" }
        ],
        useType: [
          { required: true, message: "应用类别不能为空", trigger: "change" }
        ],
        pueDesign: [
          { required: true, message: "设计PUE不能为空", trigger: "blur" }
        ],
        waterDesign: [
          { required: true, message: "设计耗水量(年)不能为空", trigger: "blur" }
        ],
        netOperator: [
          { required: true, message: "链接的运营商不能为空", trigger: "change" }
        ],
        netLevel: [
          { required: true, message: "接入网络级别不能为空", trigger: "blur" }
        ],
        createUser: [
          { required: true, message: "创建者不能为空", trigger: "blur" }
        ]
      }
    };
  },
  created() {
    this.getList();
  },
  methods: {
    /** 查询在建数据中心列表 */
    getList() {
      this.loading = true;
      listBuildBase(this.queryParams).then(response => {
        this.buildBaseList = response.rows;
        this.total = response.total;
        this.loading = false;
      });
    },
    // 取消按钮
    cancel() {
      this.open = false;
      this.reset();
    },
    // 表单重置
    reset() {
      this.form = {
        id: null,
        type: null,
        businessType: null,
        frameNum: null,
        framePower: null,
        name: null,
        province: null,
        city: null,
        area: null,
        address: null,
        addressExt: null,
        building: null,
        creditCode: null,
        mainbody: null,
        mainbodyHeader: null,
        mainbodyType: null,
        investment: null,
        progress: null,
        productionTime: null,
        dcBuildingLevel: null,
        dcAllArea: null,
        dcItArea: null,
        buildingType: null,
        seismicLevel: null,
        useType: null,
        pueDesign: null,
        waterDesign: null,
        netOperator: null,
        netOperatorOther: null,
        netLevel: null,
        remark: null,
        sort: null,
        message: null,
        state: null,
        isEnable: null,
        createTime: null,
        updateTime: null,
        createUser: null
      };
      this.resetForm("form");
    },
    /** 搜索按钮操作 */
    handleQuery() {
      this.queryParams.pageNum = 1;
      this.getList();
    },
    /** 重置按钮操作 */
    resetQuery() {
      this.resetForm("queryForm");
      this.handleQuery();
    },
    // 多选框选中数据
    handleSelectionChange(selection) {
      this.ids = selection.map(item => item.id)
      this.single = selection.length!==1
      this.multiple = !selection.length
    },
    /** 新增按钮操作 */
    handleAdd() {
      this.reset();
      this.open = true;
      this.title = "添加在建数据中心";
    },
    /** 修改按钮操作 */
    handleUpdate(row) {
      this.reset();
      const id = row.id || this.ids
      getBuildBase(id).then(response => {
        this.form = response.data;
        this.open = true;
        this.title = "修改在建数据中心";
      });
    },
    /** 提交按钮 */
    submitForm() {
      this.$refs["form"].validate(valid => {
        if (valid) {
          if (this.form.id != null) {
            updateBuildBase(this.form).then(response => {
              this.$modal.msgSuccess("修改成功");
              this.open = false;
              this.getList();
            });
          } else {
            addBuildBase(this.form).then(response => {
              this.$modal.msgSuccess("新增成功");
              this.open = false;
              this.getList();
            });
          }
        }
      });
    },
    /** 删除按钮操作 */
    handleDelete(row) {
      const ids = row.id || this.ids;
      this.$modal.confirm('是否确认删除在建数据中心编号为"' + ids + '"的数据项?').then(function() {
        return delBuildBase(ids);
      }).then(() => {
        this.getList();
        this.$modal.msgSuccess("删除成功");
      }).catch(() => {});
    },
    /** 导出按钮操作 */
    handleExport() {
      this.download('bis/buildBase/export', {
        ...this.queryParams
      }, `buildBase_${new Date().getTime()}.xlsx`)
    }
  }
};
</script>
cpzidc-ui/src/views/bis/buildExtend/index.vue
New file
@@ -0,0 +1,411 @@
<template>
  <div class="app-container">
    <el-form :model="queryParams" ref="queryForm" size="small" :inline="true" v-show="showSearch" label-width="120px">
      <el-form-item label="数据中心 ID" prop="baseId">
        <el-input
          v-model="queryParams.baseId"
          placeholder="请输入数据中心 ID"
          clearable
          @keyup.enter.native="handleQuery"
        />
      </el-form-item>
      <el-form-item label="日期节点" prop="dateNode">
        <el-input
          v-model="queryParams.dateNode"
          placeholder="请输入日期节点"
          clearable
          @keyup.enter.native="handleQuery"
        />
      </el-form-item>
      <el-form-item label="填报联系人" prop="formName">
        <el-input
          v-model="queryParams.formName"
          placeholder="请输入填报联系人"
          clearable
          @keyup.enter.native="handleQuery"
        />
      </el-form-item>
      <el-form-item label="填报联系电话" prop="formTel">
        <el-input
          v-model="queryParams.formTel"
          placeholder="请输入填报联系电话"
          clearable
          @keyup.enter.native="handleQuery"
        />
      </el-form-item>
      <el-form-item label="数据提交状态" prop="state">
        <el-input
          v-model="queryParams.state"
          placeholder="请输入数据提交状态"
          clearable
          @keyup.enter.native="handleQuery"
        />
      </el-form-item>
      <el-form-item label="提交者" prop="createUser">
        <el-input
          v-model="queryParams.createUser"
          placeholder="请输入提交者"
          clearable
          @keyup.enter.native="handleQuery"
        />
      </el-form-item>
      <el-form-item>
        <el-button type="primary" icon="el-icon-search" size="mini" @click="handleQuery">搜索</el-button>
        <el-button icon="el-icon-refresh" size="mini" @click="resetQuery">重置</el-button>
      </el-form-item>
    </el-form>
    <el-row :gutter="10" class="mb8">
      <el-col :span="1.5">
        <el-button
          type="primary"
          plain
          icon="el-icon-plus"
          size="mini"
          @click="handleAdd"
          v-hasPermi="['bis:buildExtend:add']"
        >新增</el-button>
      </el-col>
      <el-col :span="1.5">
        <el-button
          type="success"
          plain
          icon="el-icon-edit"
          size="mini"
          :disabled="single"
          @click="handleUpdate"
          v-hasPermi="['bis:buildExtend:edit']"
        >修改</el-button>
      </el-col>
      <el-col :span="1.5">
        <el-button
          type="danger"
          plain
          icon="el-icon-delete"
          size="mini"
          :disabled="multiple"
          @click="handleDelete"
          v-hasPermi="['bis:buildExtend:remove']"
        >删除</el-button>
      </el-col>
      <el-col :span="1.5">
        <el-button
          type="warning"
          plain
          icon="el-icon-download"
          size="mini"
          @click="handleExport"
          v-hasPermi="['bis:buildExtend:export']"
        >导出</el-button>
      </el-col>
      <right-toolbar :showSearch.sync="showSearch" @queryTable="getList"></right-toolbar>
    </el-row>
    <el-table v-loading="loading" :data="buildExtendList" @selection-change="handleSelectionChange">
      <el-table-column type="selection" width="55" align="center" />
      <el-table-column label="序号" align="center" prop="id" />
      <el-table-column label="数据中心 ID" align="center" prop="baseId" />
      <el-table-column label="日期节点" align="center" prop="dateNode" />
      <el-table-column label="交付机架数(个)" align="center" prop="deliveryScale" />
      <el-table-column label="下一年交付机架数" align="center" prop="deliveryNext" />
      <el-table-column label="下两年交付机架数" align="center" prop="deliverySecond" />
      <el-table-column label="电价(元/wkh)" align="center" prop="electricityPrice" />
      <el-table-column label="网络出口带宽(Gbps)" align="center" prop="netBandwidth" />
      <el-table-column label="算力规模" align="center" prop="computationalScale" />
      <el-table-column label="清洁能源利用率  【需要填写%】" align="center" prop="cleanEnergy" />
      <el-table-column label="采用清洁能源类型" align="center" prop="cleanEnergyType">
        <template slot-scope="scope">
          <dict-tag :options="dict.type.idc_green_clean_energy_type" :value="scope.row.cleanEnergyType ? scope.row.cleanEnergyType.split(',') : []"/>
        </template>
      </el-table-column>
      <el-table-column label="填报联系人" align="center" prop="formName" />
      <el-table-column label="填报联系电话" align="center" prop="formTel" />
      <el-table-column label="设计耗水量(年)(万吨)" align="center" prop="waterYearDesign" />
      <el-table-column label="装机服务器总数单位U" align="center" prop="sumU" />
      <el-table-column label="排序" align="center" prop="sort" />
      <el-table-column label="数据提交状态" align="center" prop="state" />
      <el-table-column label="创建者" align="center" prop="createUser" />
      <el-table-column label="更新者" align="center" prop="updateUser" />
      <el-table-column label="管理员备注" align="center" prop="remark" />
      <el-table-column label="操作" align="center" class-name="small-padding fixed-width">
        <template slot-scope="scope">
          <el-button
            size="mini"
            type="text"
            icon="el-icon-edit"
            @click="handleUpdate(scope.row)"
            v-hasPermi="['bis:buildExtend:edit']"
          >修改</el-button>
          <el-button
            size="mini"
            type="text"
            icon="el-icon-delete"
            @click="handleDelete(scope.row)"
            v-hasPermi="['bis:buildExtend:remove']"
          >删除</el-button>
        </template>
      </el-table-column>
    </el-table>
    <pagination
      v-show="total>0"
      :total="total"
      :page.sync="queryParams.pageNum"
      :limit.sync="queryParams.pageSize"
      @pagination="getList"
    />
    <!-- 添加或修改IDC在建扩展信息对话框 -->
    <el-dialog :title="title" :visible.sync="open" width="500px" append-to-body>
      <el-form ref="form" :model="form" :rules="rules" label-width="80px">
        <el-form-item label="数据中心 ID" prop="baseId">
          <el-input v-model="form.baseId" placeholder="请输入数据中心 ID" />
        </el-form-item>
        <el-form-item label="日期节点" prop="dateNode">
          <el-input v-model="form.dateNode" placeholder="请输入日期节点" />
        </el-form-item>
        <el-form-item label="交付机架数(个)" prop="deliveryScale">
          <el-input v-model="form.deliveryScale" placeholder="请输入交付机架数(个)" />
        </el-form-item>
        <el-form-item label="下一年交付机架数" prop="deliveryNext">
          <el-input v-model="form.deliveryNext" placeholder="请输入下一年交付机架数" />
        </el-form-item>
        <el-form-item label="下两年交付机架数" prop="deliverySecond">
          <el-input v-model="form.deliverySecond" placeholder="请输入下两年交付机架数" />
        </el-form-item>
        <el-form-item label="电价(元/wkh)" prop="electricityPrice">
          <el-input v-model="form.electricityPrice" placeholder="请输入电价(元/wkh)" />
        </el-form-item>
        <el-form-item label="网络出口带宽(Gbps)" prop="netBandwidth">
          <el-input v-model="form.netBandwidth" placeholder="请输入网络出口带宽(Gbps)" />
        </el-form-item>
        <el-form-item label="算力规模" prop="computationalScale">
          <el-input v-model="form.computationalScale" placeholder="请输入算力规模" />
        </el-form-item>
        <el-form-item label="清洁能源利用率  【需要填写%】" prop="cleanEnergy">
          <el-input v-model="form.cleanEnergy" placeholder="请输入清洁能源利用率  【需要填写%】" />
        </el-form-item>
        <el-form-item label="采用清洁能源类型" prop="cleanEnergyType">
          <el-checkbox-group v-model="form.cleanEnergyType">
            <el-checkbox
              v-for="dict in dict.type.idc_green_clean_energy_type"
              :key="dict.value"
              :label="dict.value">
              {{dict.label}}
            </el-checkbox>
          </el-checkbox-group>
        </el-form-item>
        <el-form-item label="填报联系人" prop="formName">
          <el-input v-model="form.formName" placeholder="请输入填报联系人" />
        </el-form-item>
        <el-form-item label="填报联系电话" prop="formTel">
          <el-input v-model="form.formTel" placeholder="请输入填报联系电话" />
        </el-form-item>
        <el-form-item label="设计耗水量(年)(万吨)" prop="waterYearDesign">
          <el-input v-model="form.waterYearDesign" placeholder="请输入设计耗水量(年)(万吨)" />
        </el-form-item>
        <el-form-item label="装机服务器总数单位U" prop="sumU">
          <el-input v-model="form.sumU" placeholder="请输入装机服务器总数单位U" />
        </el-form-item>
        <el-form-item label="排序" prop="sort">
          <el-input v-model="form.sort" placeholder="请输入排序" />
        </el-form-item>
        <el-form-item label="数据提交状态" prop="state">
          <el-input v-model="form.state" placeholder="请输入数据提交状态" />
        </el-form-item>
        <el-form-item label="创建者" prop="createUser">
          <el-input v-model="form.createUser" placeholder="请输入创建者" />
        </el-form-item>
        <el-form-item label="更新者" prop="updateUser">
          <el-input v-model="form.updateUser" placeholder="请输入更新者" />
        </el-form-item>
        <el-form-item label="管理员备注" prop="remark">
          <el-input v-model="form.remark" placeholder="请输入管理员备注" />
        </el-form-item>
      </el-form>
      <div slot="footer" class="dialog-footer">
        <el-button type="primary" @click="submitForm">确 定</el-button>
        <el-button @click="cancel">取 消</el-button>
      </div>
    </el-dialog>
  </div>
</template>
<script>
import { listBuildExtend, getBuildExtend, delBuildExtend, addBuildExtend, updateBuildExtend } from "@/api/bis/buildExtend";
export default {
  name: "BuildExtend",
  dicts: ['idc_green_clean_energy_type'],
  data() {
    return {
      // 遮罩层
      loading: true,
      // 选中数组
      ids: [],
      // 非单个禁用
      single: true,
      // 非多个禁用
      multiple: true,
      // 显示搜索条件
      showSearch: true,
      // 总条数
      total: 0,
      // IDC在建扩展信息表格数据
      buildExtendList: [],
      // 弹出层标题
      title: "",
      // 是否显示弹出层
      open: false,
      // 查询参数
      queryParams: {
        pageNum: 1,
        pageSize: 10,
        baseId: null,
        dateNode: null,
        deliveryScale: null,
        deliveryNext: null,
        deliverySecond: null,
        electricityPrice: null,
        netBandwidth: null,
        computationalScale: null,
        cleanEnergy: null,
        cleanEnergyType: null,
        formName: null,
        formTel: null,
        waterYearDesign: null,
        sumU: null,
        sort: null,
        state: null,
        createUser: null,
        updateUser: null,
      },
      // 表单参数
      form: {},
      // 表单校验
      rules: {
        createUser: [
          { required: true, message: "创建者不能为空", trigger: "blur" }
        ],
      }
    };
  },
  created() {
    this.getList();
  },
  methods: {
    /** 查询IDC在建扩展信息列表 */
    getList() {
      this.loading = true;
      listBuildExtend(this.queryParams).then(response => {
        this.buildExtendList = response.rows;
        this.total = response.total;
        this.loading = false;
      });
    },
    // 取消按钮
    cancel() {
      this.open = false;
      this.reset();
    },
    // 表单重置
    reset() {
      this.form = {
        id: null,
        baseId: null,
        dateNode: null,
        deliveryScale: null,
        deliveryNext: null,
        deliverySecond: null,
        electricityPrice: null,
        netBandwidth: null,
        computationalScale: null,
        cleanEnergy: null,
        cleanEnergyType: [],
        formName: null,
        formTel: null,
        waterYearDesign: null,
        sumU: null,
        sort: null,
        state: null,
        createTime: null,
        createUser: null,
        updateTime: null,
        updateUser: null,
        remark: null
      };
      this.resetForm("form");
    },
    /** 搜索按钮操作 */
    handleQuery() {
      this.queryParams.pageNum = 1;
      this.getList();
    },
    /** 重置按钮操作 */
    resetQuery() {
      this.resetForm("queryForm");
      this.handleQuery();
    },
    // 多选框选中数据
    handleSelectionChange(selection) {
      this.ids = selection.map(item => item.id)
      this.single = selection.length!==1
      this.multiple = !selection.length
    },
    /** 新增按钮操作 */
    handleAdd() {
      this.reset();
      this.open = true;
      this.title = "添加IDC在建扩展信息";
    },
    /** 修改按钮操作 */
    handleUpdate(row) {
      this.reset();
      const id = row.id || this.ids
      getBuildExtend(id).then(response => {
        this.form = response.data;
        this.form.cleanEnergyType = this.form.cleanEnergyType.split(",");
        this.open = true;
        this.title = "修改IDC在建扩展信息";
      });
    },
    /** 提交按钮 */
    submitForm() {
      this.$refs["form"].validate(valid => {
        if (valid) {
          this.form.cleanEnergyType = this.form.cleanEnergyType.join(",");
          if (this.form.id != null) {
            updateBuildExtend(this.form).then(response => {
              this.$modal.msgSuccess("修改成功");
              this.open = false;
              this.getList();
            });
          } else {
            addBuildExtend(this.form).then(response => {
              this.$modal.msgSuccess("新增成功");
              this.open = false;
              this.getList();
            });
          }
        }
      });
    },
    /** 删除按钮操作 */
    handleDelete(row) {
      const ids = row.id || this.ids;
      this.$modal.confirm('是否确认删除IDC在建扩展信息编号为"' + ids + '"的数据项?').then(function() {
        return delBuildExtend(ids);
      }).then(() => {
        this.getList();
        this.$modal.msgSuccess("删除成功");
      }).catch(() => {});
    },
    /** 导出按钮操作 */
    handleExport() {
      this.download('bis/buildExtend/export', {
        ...this.queryParams
      }, `buildExtend_${new Date().getTime()}.xlsx`)
    }
  }
};
</script>
cpzidc-ui/src/views/bis/useBase/index.vue
New file
@@ -0,0 +1,875 @@
<template>
  <div class="app-container">
    <el-form :model="queryParams" ref="queryForm" size="small" :inline="true" v-show="showSearch" label-width="100px">
      <el-form-item label="编号" prop="idcNo">
        <el-input
          v-model="queryParams.idcNo"
          placeholder="请输入编号"
          clearable
          @keyup.enter.native="handleQuery"
        />
      </el-form-item>
      <el-form-item label="规模类型" prop="type">
        <el-select v-model="queryParams.type" placeholder="请选择规模类型" clearable>
          <el-option
            v-for="dict in dict.type.idc_scale_type"
            :key="dict.value"
            :label="dict.label"
            :value="dict.value"
          />
        </el-select>
      </el-form-item>
      <el-form-item label="业务类型" prop="businessType">
        <el-select v-model="queryParams.businessType" placeholder="请选择业务类型" clearable>
          <el-option
            v-for="dict in dict.type.idc_business_type"
            :key="dict.value"
            :label="dict.label"
            :value="dict.value"
          />
        </el-select>
      </el-form-item>
      <el-form-item label="名称" prop="name">
        <el-input
          v-model="queryParams.name"
          placeholder="请输入名称"
          clearable
          @keyup.enter.native="handleQuery"
        />
      </el-form-item>
      <el-form-item label="省" prop="province">
        <el-input
          v-model="queryParams.province"
          placeholder="请输入省"
          clearable
          @keyup.enter.native="handleQuery"
        />
      </el-form-item>
      <el-form-item label="市" prop="city">
        <el-input
          v-model="queryParams.city"
          placeholder="请输入市"
          clearable
          @keyup.enter.native="handleQuery"
        />
      </el-form-item>
      <el-form-item label="区、县" prop="area">
        <el-input
          v-model="queryParams.area"
          placeholder="请输入区、县"
          clearable
          @keyup.enter.native="handleQuery"
        />
      </el-form-item>
      <el-form-item label="运营主体统一社会信用代码" prop="creditCode">
        <el-input
          v-model="queryParams.creditCode"
          placeholder="请输入运营主体统一社会信用代码"
          clearable
          @keyup.enter.native="handleQuery"
        />
      </el-form-item>
      <el-form-item label="运营主体" prop="mainbody">
        <el-input
          v-model="queryParams.mainbody"
          placeholder="请输入运营主体"
          clearable
          @keyup.enter.native="handleQuery"
        />
      </el-form-item>
      <el-form-item label="运营公司总公司" prop="mainbodyHeader">
        <el-select v-model="queryParams.mainbodyHeader" placeholder="请选择运营公司总公司" clearable>
          <el-option
            v-for="dict in dict.type.idc_base_mainbody_header"
            :key="dict.value"
            :label="dict.label"
            :value="dict.value"
          />
        </el-select>
      </el-form-item>
      <el-form-item label="运营主体类型" prop="mainbodyType">
        <el-select v-model="queryParams.mainbodyType" placeholder="请选择运营主体类型" clearable>
          <el-option
            v-for="dict in dict.type.idc_base_mainbody_type"
            :key="dict.value"
            :label="dict.label"
            :value="dict.value"
          />
        </el-select>
      </el-form-item>
      <el-form-item label="投产时间" prop="productionTime">
        <el-date-picker clearable
          v-model="queryParams.productionTime"
          type="date"
          value-format="yyyy-MM-dd"
          placeholder="请选择投产时间">
        </el-date-picker>
      </el-form-item>
      <el-form-item label="接入网络级别" prop="netLevel">
        <el-select v-model="queryParams.netLevel" placeholder="请选择接入网络级别" clearable>
          <el-option
            v-for="dict in dict.type.idc_net_level"
            :key="dict.value"
            :label="dict.label"
            :value="dict.value"
          />
        </el-select>
      </el-form-item>
      <el-form-item label="链接的运营商" prop="netOperator">
        <el-select v-model="queryParams.netOperator" placeholder="请选择链接的运营商" clearable>
          <el-option
            v-for="dict in dict.type.idc_net_operator"
            :key="dict.value"
            :label="dict.label"
            :value="dict.value"
          />
        </el-select>
      </el-form-item>
      <el-form-item label="制冷方式" prop="airRefrigerationType">
        <el-select v-model="queryParams.airRefrigerationType" placeholder="请选择制冷方式" clearable>
          <el-option
            v-for="dict in dict.type.idc_air_refrigeration_type"
            :key="dict.value"
            :label="dict.label"
            :value="dict.value"
          />
        </el-select>
      </el-form-item>
      <el-form-item label="状态" prop="state">
        <el-select v-model="queryParams.state" placeholder="请选择状态" clearable>
          <el-option
            v-for="dict in dict.type.idc_process_status"
            :key="dict.value"
            :label="dict.label"
            :value="dict.value"
          />
        </el-select>
      </el-form-item>
      <el-form-item label="是否可用" prop="isEnable">
        <el-input
          v-model="queryParams.isEnable"
          placeholder="请输入是否可用"
          clearable
          @keyup.enter.native="handleQuery"
        />
      </el-form-item>
      <el-form-item label="创建者" prop="createUser">
        <el-input
          v-model="queryParams.createUser"
          placeholder="请输入创建者"
          clearable
          @keyup.enter.native="handleQuery"
        />
      </el-form-item>
      <el-form-item>
        <el-button type="primary" icon="el-icon-search" size="mini" @click="handleQuery">搜索</el-button>
        <el-button icon="el-icon-refresh" size="mini" @click="resetQuery">重置</el-button>
      </el-form-item>
    </el-form>
    <el-row :gutter="10" class="mb8">
      <el-col :span="1.5">
        <el-button
          type="primary"
          plain
          icon="el-icon-plus"
          size="mini"
          @click="handleAdd"
          v-hasPermi="['bis:useBase:add']"
        >新增</el-button>
      </el-col>
      <el-col :span="1.5">
        <el-button
          type="success"
          plain
          icon="el-icon-edit"
          size="mini"
          :disabled="single"
          @click="handleUpdate"
          v-hasPermi="['bis:useBase:edit']"
        >修改</el-button>
      </el-col>
      <el-col :span="1.5">
        <el-button
          type="danger"
          plain
          icon="el-icon-delete"
          size="mini"
          :disabled="multiple"
          @click="handleDelete"
          v-hasPermi="['bis:useBase:remove']"
        >删除</el-button>
      </el-col>
      <el-col :span="1.5">
        <el-button
          type="warning"
          plain
          icon="el-icon-download"
          size="mini"
          @click="handleExport"
          v-hasPermi="['bis:useBase:export']"
        >导出</el-button>
      </el-col>
      <right-toolbar :showSearch.sync="showSearch" @queryTable="getList"></right-toolbar>
    </el-row>
    <el-table v-loading="loading" :data="useBaseList" @selection-change="handleSelectionChange">
      <el-table-column type="selection" width="55" align="center" />
      <el-table-column label="序号" align="center" prop="id" />
      <el-table-column label="在建转过来的表ID" align="center" prop="buildId" />
      <el-table-column label="编号" align="center" prop="idcNo" />
      <el-table-column label="规模类型" align="center" prop="type">
        <template slot-scope="scope">
          <dict-tag :options="dict.type.idc_scale_type" :value="scope.row.type"/>
        </template>
      </el-table-column>
      <el-table-column label="业务类型" align="center" prop="businessType">
        <template slot-scope="scope">
          <dict-tag :options="dict.type.idc_business_type" :value="scope.row.businessType"/>
        </template>
      </el-table-column>
      <el-table-column label="设计机架数" align="center" prop="frameNum" />
      <el-table-column label="设计机架功率" align="center" prop="framePower" />
      <el-table-column label="名称" align="center" prop="name" />
      <el-table-column label="省" align="center" prop="province" />
      <el-table-column label="市" align="center" prop="city" />
      <el-table-column label="区、县" align="center" prop="area" />
      <el-table-column label="地址" align="center" prop="address" />
      <el-table-column label="补充地址" align="center" prop="addressExt" />
      <el-table-column label="机楼" align="center" prop="building" />
      <el-table-column label="运营主体统一社会信用代码" align="center" prop="creditCode" />
      <el-table-column label="运营主体" align="center" prop="mainbody" />
      <el-table-column label="运营公司总公司" align="center" prop="mainbodyHeader">
        <template slot-scope="scope">
          <dict-tag :options="dict.type.idc_base_mainbody_header" :value="scope.row.mainbodyHeader"/>
        </template>
      </el-table-column>
      <el-table-column label="运营主体类型" align="center" prop="mainbodyType">
        <template slot-scope="scope">
          <dict-tag :options="dict.type.idc_base_mainbody_type" :value="scope.row.mainbodyType"/>
        </template>
      </el-table-column>
      <el-table-column label="建设初始投资" align="center" prop="investment" />
      <el-table-column label="投产时间" align="center" prop="productionTime" width="180">
        <template slot-scope="scope">
          <span>{{ parseTime(scope.row.productionTime, '{y}-{m}-{d}') }}</span>
        </template>
      </el-table-column>
      <el-table-column label="建设等级/标准" align="center" prop="dcBuildingLevel" />
      <el-table-column label="数据中心总设计面积" align="center" prop="dcAllArea" />
      <el-table-column label="IT机房面积" align="center" prop="dcItArea" />
      <el-table-column label="建筑形式" align="center" prop="buildingType">
        <template slot-scope="scope">
          <dict-tag :options="dict.type.idc_base_building_type" :value="scope.row.buildingType"/>
        </template>
      </el-table-column>
      <el-table-column label="市电引入方式" align="center" prop="cityElectricityType">
        <template slot-scope="scope">
          <dict-tag :options="dict.type.idc_city_electricity_type" :value="scope.row.cityElectricityType"/>
        </template>
      </el-table-column>
      <el-table-column label="市电引入方式,其它" align="center" prop="cityElectricityTypeOther" />
      <el-table-column label="总配电量(KWA)" align="center" prop="powerDistribution" />
      <el-table-column label="用电类型" align="center" prop="electricityType">
        <template slot-scope="scope">
          <dict-tag :options="dict.type.idc_electricity_type" :value="scope.row.electricityType"/>
        </template>
      </el-table-column>
      <el-table-column label="用电类型_其它" align="center" prop="electricityTypeOther" />
      <el-table-column label="设计PUE" align="center" prop="pueDesign" />
      <el-table-column label="设计全年用水量" align="center" prop="waterDesign" />
      <el-table-column label="接入网络级别" align="center" prop="netLevel">
        <template slot-scope="scope">
          <dict-tag :options="dict.type.idc_net_level" :value="scope.row.netLevel"/>
        </template>
      </el-table-column>
      <el-table-column label="链接的运营商" align="center" prop="netOperator">
        <template slot-scope="scope">
          <dict-tag :options="dict.type.idc_net_operator" :value="scope.row.netOperator"/>
        </template>
      </el-table-column>
      <el-table-column label="链接的运营商_其它" align="center" prop="netOperatorOther" />
      <el-table-column label="制冷方式" align="center" prop="airRefrigerationType">
        <template slot-scope="scope">
          <dict-tag :options="dict.type.idc_air_refrigeration_type" :value="scope.row.airRefrigerationType"/>
        </template>
      </el-table-column>
      <el-table-column label="制冷方式_其它" align="center" prop="airRefrigerationTypeOther" />
      <el-table-column label="排序" align="center" prop="sort" />
      <el-table-column label="反馈信息" align="center" prop="message" />
      <el-table-column label="状态" align="center" prop="state">
        <template slot-scope="scope">
          <dict-tag :options="dict.type.idc_process_status" :value="scope.row.state"/>
        </template>
      </el-table-column>
      <el-table-column label="是否可用" align="center" prop="isEnable">
        <template slot-scope="scope">
          <dict-tag :options="dict.type.idc_yes_no" :value="scope.row.isEnable"/>
        </template>
      </el-table-column>
      <el-table-column label="创建者" align="center" prop="createUser" />
      <el-table-column label="更新者" align="center" prop="updateUser" />
      <el-table-column label="管理员备注及信息反馈" align="center" prop="remark" />
      <el-table-column label="操作" align="center" class-name="small-padding fixed-width">
        <template slot-scope="scope">
          <el-button
            size="mini"
            type="text"
            icon="el-icon-edit"
            @click="handleUpdate(scope.row)"
            v-hasPermi="['bis:useBase:edit']"
          >修改</el-button>
          <el-button
            size="mini"
            type="text"
            icon="el-icon-delete"
            @click="handleDelete(scope.row)"
            v-hasPermi="['bis:useBase:remove']"
          >删除</el-button>
        </template>
      </el-table-column>
    </el-table>
    <pagination
      v-show="total>0"
      :total="total"
      :page.sync="queryParams.pageNum"
      :limit.sync="queryParams.pageSize"
      @pagination="getList"
    />
    <!-- 添加或修改在用数据中心对话框 -->
    <el-dialog :title="title" :visible.sync="open" width="500px" append-to-body>
      <el-form ref="form" :model="form" :rules="rules" label-width="80px">
        <el-form-item label="在建转过来的表ID" prop="buildId">
          <el-input v-model="form.buildId" placeholder="请输入在建转过来的表ID" />
        </el-form-item>
        <el-form-item label="编号" prop="idcNo">
          <el-input v-model="form.idcNo" placeholder="请输入编号" />
        </el-form-item>
        <el-form-item label="规模类型" prop="type">
          <el-radio-group v-model="form.type">
            <el-radio
              v-for="dict in dict.type.idc_scale_type"
              :key="dict.value"
              :label="parseInt(dict.value)"
            >{{dict.label}}</el-radio>
          </el-radio-group>
        </el-form-item>
        <el-form-item label="业务类型" prop="businessType">
          <el-radio-group v-model="form.businessType">
            <el-radio
              v-for="dict in dict.type.idc_business_type"
              :key="dict.value"
              :label="parseInt(dict.value)"
            >{{dict.label}}</el-radio>
          </el-radio-group>
        </el-form-item>
        <el-form-item label="设计机架数" prop="frameNum">
          <el-input v-model="form.frameNum" placeholder="请输入设计机架数" />
        </el-form-item>
        <el-form-item label="设计机架功率" prop="framePower">
          <el-input v-model="form.framePower" placeholder="请输入设计机架功率" />
        </el-form-item>
        <el-form-item label="名称" prop="name">
          <el-input v-model="form.name" placeholder="请输入名称" />
        </el-form-item>
        <el-form-item label="省" prop="province">
          <el-input v-model="form.province" placeholder="请输入省" />
        </el-form-item>
        <el-form-item label="市" prop="city">
          <el-input v-model="form.city" placeholder="请输入市" />
        </el-form-item>
        <el-form-item label="区、县" prop="area">
          <el-input v-model="form.area" placeholder="请输入区、县" />
        </el-form-item>
        <el-form-item label="地址" prop="address">
          <el-input v-model="form.address" placeholder="请输入地址" />
        </el-form-item>
        <el-form-item label="补充地址" prop="addressExt">
          <el-input v-model="form.addressExt" placeholder="请输入补充地址" />
        </el-form-item>
        <el-form-item label="机楼" prop="building">
          <el-input v-model="form.building" placeholder="请输入机楼" />
        </el-form-item>
        <el-form-item label="运营主体统一社会信用代码" prop="creditCode">
          <el-input v-model="form.creditCode" placeholder="请输入运营主体统一社会信用代码" />
        </el-form-item>
        <el-form-item label="运营主体" prop="mainbody">
          <el-input v-model="form.mainbody" placeholder="请输入运营主体" />
        </el-form-item>
        <el-form-item label="运营公司总公司" prop="mainbodyHeader">
          <el-select v-model="form.mainbodyHeader" placeholder="请选择运营公司总公司">
            <el-option
              v-for="dict in dict.type.idc_base_mainbody_header"
              :key="dict.value"
              :label="dict.label"
              :value="dict.value"
            ></el-option>
          </el-select>
        </el-form-item>
        <el-form-item label="运营主体类型" prop="mainbodyType">
          <el-select v-model="form.mainbodyType" placeholder="请选择运营主体类型">
            <el-option
              v-for="dict in dict.type.idc_base_mainbody_type"
              :key="dict.value"
              :label="dict.label"
              :value="dict.value"
            ></el-option>
          </el-select>
        </el-form-item>
        <el-form-item label="建设初始投资" prop="investment">
          <el-input v-model="form.investment" placeholder="请输入建设初始投资" />
        </el-form-item>
        <el-form-item label="投产时间" prop="productionTime">
          <el-date-picker clearable
            v-model="form.productionTime"
            type="date"
            value-format="yyyy-MM-dd"
            placeholder="请选择投产时间">
          </el-date-picker>
        </el-form-item>
        <el-form-item label="建设等级/标准" prop="dcBuildingLevel">
          <el-input v-model="form.dcBuildingLevel" placeholder="请输入建设等级/标准" />
        </el-form-item>
        <el-form-item label="数据中心总设计面积" prop="dcAllArea">
          <el-input v-model="form.dcAllArea" placeholder="请输入数据中心总设计面积" />
        </el-form-item>
        <el-form-item label="IT机房面积" prop="dcItArea">
          <el-input v-model="form.dcItArea" placeholder="请输入IT机房面积" />
        </el-form-item>
        <el-form-item label="建筑形式" prop="buildingType">
          <el-select v-model="form.buildingType" placeholder="请选择建筑形式">
            <el-option
              v-for="dict in dict.type.idc_base_building_type"
              :key="dict.value"
              :label="dict.label"
              :value="dict.value"
            ></el-option>
          </el-select>
        </el-form-item>
        <el-form-item label="市电引入方式" prop="cityElectricityType">
          <el-select v-model="form.cityElectricityType" placeholder="请选择市电引入方式">
            <el-option
              v-for="dict in dict.type.idc_city_electricity_type"
              :key="dict.value"
              :label="dict.label"
              :value="dict.value"
            ></el-option>
          </el-select>
        </el-form-item>
        <el-form-item label="市电引入方式,其它" prop="cityElectricityTypeOther">
          <el-input v-model="form.cityElectricityTypeOther" placeholder="请输入市电引入方式,其它" />
        </el-form-item>
        <el-form-item label="总配电量(KWA)" prop="powerDistribution">
          <el-input v-model="form.powerDistribution" placeholder="请输入总配电量(KWA)" />
        </el-form-item>
        <el-form-item label="用电类型" prop="electricityType">
          <el-select v-model="form.electricityType" placeholder="请选择用电类型">
            <el-option
              v-for="dict in dict.type.idc_electricity_type"
              :key="dict.value"
              :label="dict.label"
              :value="dict.value"
            ></el-option>
          </el-select>
        </el-form-item>
        <el-form-item label="用电类型_其它" prop="electricityTypeOther">
          <el-input v-model="form.electricityTypeOther" placeholder="请输入用电类型_其它" />
        </el-form-item>
        <el-form-item label="设计PUE" prop="pueDesign">
          <el-input v-model="form.pueDesign" placeholder="请输入设计PUE" />
        </el-form-item>
        <el-form-item label="设计全年用水量" prop="waterDesign">
          <el-input v-model="form.waterDesign" placeholder="请输入设计全年用水量" />
        </el-form-item>
        <el-form-item label="接入网络级别" prop="netLevel">
          <el-radio-group v-model="form.netLevel">
            <el-radio
              v-for="dict in dict.type.idc_net_level"
              :key="dict.value"
              :label="dict.value"
            >{{dict.label}}</el-radio>
          </el-radio-group>
        </el-form-item>
        <el-form-item label="链接的运营商" prop="netOperator">
          <el-select v-model="form.netOperator" placeholder="请选择链接的运营商">
            <el-option
              v-for="dict in dict.type.idc_net_operator"
              :key="dict.value"
              :label="dict.label"
              :value="dict.value"
            ></el-option>
          </el-select>
        </el-form-item>
        <el-form-item label="链接的运营商_其它" prop="netOperatorOther">
          <el-input v-model="form.netOperatorOther" placeholder="请输入链接的运营商_其它" />
        </el-form-item>
        <el-form-item label="制冷方式" prop="airRefrigerationType">
          <el-select v-model="form.airRefrigerationType" placeholder="请选择制冷方式">
            <el-option
              v-for="dict in dict.type.idc_air_refrigeration_type"
              :key="dict.value"
              :label="dict.label"
              :value="dict.value"
            ></el-option>
          </el-select>
        </el-form-item>
        <el-form-item label="制冷方式_其它" prop="airRefrigerationTypeOther">
          <el-input v-model="form.airRefrigerationTypeOther" placeholder="请输入制冷方式_其它" />
        </el-form-item>
        <el-form-item label="排序" prop="sort">
          <el-input v-model="form.sort" placeholder="请输入排序" />
        </el-form-item>
        <el-form-item label="反馈信息" prop="message">
          <el-input v-model="form.message" type="textarea" placeholder="请输入内容" />
        </el-form-item>
        <el-form-item label="状态" prop="state">
          <el-radio-group v-model="form.state">
            <el-radio
              v-for="dict in dict.type.idc_process_status"
              :key="dict.value"
              :label="parseInt(dict.value)"
            >{{dict.label}}</el-radio>
          </el-radio-group>
        </el-form-item>
        <el-form-item label="是否可用" prop="isEnable">
          <el-input v-model="form.isEnable" placeholder="请输入是否可用" />
        </el-form-item>
        <el-form-item label="创建者" prop="createUser">
          <el-input v-model="form.createUser" placeholder="请输入创建者" />
        </el-form-item>
        <el-form-item label="更新者" prop="updateUser">
          <el-input v-model="form.updateUser" placeholder="请输入更新者" />
        </el-form-item>
        <el-form-item label="管理员备注及信息反馈" prop="remark">
          <el-input v-model="form.remark" placeholder="请输入管理员备注及信息反馈" />
        </el-form-item>
      </el-form>
      <div slot="footer" class="dialog-footer">
        <el-button type="primary" @click="submitForm">确 定</el-button>
        <el-button @click="cancel">取 消</el-button>
      </div>
    </el-dialog>
  </div>
</template>
<script>
import { listUseBase, getUseBase, delUseBase, addUseBase, updateUseBase } from "@/api/bis/useBase";
export default {
  name: "UseBase",
  dicts: ['idc_electricity_type', 'idc_base_mainbody_header', 'idc_business_type', 'idc_base_mainbody_type', 'idc_scale_type', 'idc_process_status', 'idc_air_refrigeration_type', 'idc_net_operator', 'idc_base_building_type', 'idc_city_electricity_type', 'idc_net_level'],
  data() {
    return {
      // 遮罩层
      loading: true,
      // 选中数组
      ids: [],
      // 非单个禁用
      single: true,
      // 非多个禁用
      multiple: true,
      // 显示搜索条件
      showSearch: true,
      // 总条数
      total: 0,
      // 在用数据中心表格数据
      useBaseList: [],
      // 弹出层标题
      title: "",
      // 是否显示弹出层
      open: false,
      // 查询参数
      queryParams: {
        pageNum: 1,
        pageSize: 10,
        buildId: null,
        idcNo: null,
        type: null,
        businessType: null,
        frameNum: null,
        framePower: null,
        name: null,
        province: null,
        city: null,
        area: null,
        address: null,
        addressExt: null,
        building: null,
        creditCode: null,
        mainbody: null,
        mainbodyHeader: null,
        mainbodyType: null,
        investment: null,
        productionTime: null,
        dcBuildingLevel: null,
        dcAllArea: null,
        dcItArea: null,
        buildingType: null,
        cityElectricityType: null,
        cityElectricityTypeOther: null,
        powerDistribution: null,
        electricityType: null,
        electricityTypeOther: null,
        pueDesign: null,
        waterDesign: null,
        netLevel: null,
        netOperator: null,
        netOperatorOther: null,
        airRefrigerationType: null,
        airRefrigerationTypeOther: null,
        sort: null,
        message: null,
        state: null,
        isEnable: null,
        createUser: null,
        updateUser: null,
      },
      // 表单参数
      form: {},
      // 表单校验
      rules: {
        type: [
          { required: true, message: "规模类型不能为空", trigger: "change" }
        ],
        businessType: [
          { required: true, message: "业务类型不能为空", trigger: "change" }
        ],
        frameNum: [
          { required: true, message: "设计机架数不能为空", trigger: "blur" }
        ],
        framePower: [
          { required: true, message: "设计机架功率不能为空", trigger: "blur" }
        ],
        name: [
          { required: true, message: "名称不能为空", trigger: "blur" }
        ],
        province: [
          { required: true, message: "省不能为空", trigger: "blur" }
        ],
        city: [
          { required: true, message: "市不能为空", trigger: "blur" }
        ],
        area: [
          { required: true, message: "区、县不能为空", trigger: "blur" }
        ],
        address: [
          { required: true, message: "地址不能为空", trigger: "blur" }
        ],
        addressExt: [
          { required: true, message: "补充地址不能为空", trigger: "blur" }
        ],
        building: [
          { required: true, message: "机楼不能为空", trigger: "blur" }
        ],
        creditCode: [
          { required: true, message: "运营主体统一社会信用代码不能为空", trigger: "blur" }
        ],
        mainbody: [
          { required: true, message: "运营主体不能为空", trigger: "blur" }
        ],
        mainbodyHeader: [
          { required: true, message: "运营公司总公司不能为空", trigger: "change" }
        ],
        mainbodyType: [
          { required: true, message: "运营主体类型不能为空", trigger: "change" }
        ],
        productionTime: [
          { required: true, message: "投产时间不能为空", trigger: "blur" }
        ],
        dcBuildingLevel: [
          { required: true, message: "建设等级/标准不能为空", trigger: "blur" }
        ],
        dcAllArea: [
          { required: true, message: "数据中心总设计面积不能为空", trigger: "blur" }
        ],
        dcItArea: [
          { required: true, message: "IT机房面积不能为空", trigger: "blur" }
        ],
        buildingType: [
          { required: true, message: "建筑形式不能为空", trigger: "change" }
        ],
        cityElectricityType: [
          { required: true, message: "市电引入方式不能为空", trigger: "change" }
        ],
        cityElectricityTypeOther: [
          { required: true, message: "市电引入方式,其它不能为空", trigger: "blur" }
        ],
        powerDistribution: [
          { required: true, message: "总配电量(KWA)不能为空", trigger: "blur" }
        ],
        electricityType: [
          { required: true, message: "用电类型不能为空", trigger: "change" }
        ],
        electricityTypeOther: [
          { required: true, message: "用电类型_其它不能为空", trigger: "blur" }
        ],
        pueDesign: [
          { required: true, message: "设计PUE不能为空", trigger: "blur" }
        ],
        waterDesign: [
          { required: true, message: "设计全年用水量不能为空", trigger: "blur" }
        ],
        netLevel: [
          { required: true, message: "接入网络级别不能为空", trigger: "change" }
        ],
        netOperator: [
          { required: true, message: "链接的运营商不能为空", trigger: "change" }
        ],
        netOperatorOther: [
          { required: true, message: "链接的运营商_其它不能为空", trigger: "blur" }
        ],
        airRefrigerationType: [
          { required: true, message: "制冷方式不能为空", trigger: "change" }
        ],
        airRefrigerationTypeOther: [
          { required: true, message: "制冷方式_其它不能为空", trigger: "blur" }
        ],
        createUser: [
          { required: true, message: "创建者不能为空", trigger: "blur" }
        ],
      }
    };
  },
  created() {
    this.getList();
  },
  methods: {
    /** 查询在用数据中心列表 */
    getList() {
      this.loading = true;
      listUseBase(this.queryParams).then(response => {
        this.useBaseList = response.rows;
        this.total = response.total;
        this.loading = false;
      });
    },
    // 取消按钮
    cancel() {
      this.open = false;
      this.reset();
    },
    // 表单重置
    reset() {
      this.form = {
        id: null,
        buildId: null,
        idcNo: null,
        type: null,
        businessType: null,
        frameNum: null,
        framePower: null,
        name: null,
        province: null,
        city: null,
        area: null,
        address: null,
        addressExt: null,
        building: null,
        creditCode: null,
        mainbody: null,
        mainbodyHeader: null,
        mainbodyType: null,
        investment: null,
        productionTime: null,
        dcBuildingLevel: null,
        dcAllArea: null,
        dcItArea: null,
        buildingType: null,
        cityElectricityType: null,
        cityElectricityTypeOther: null,
        powerDistribution: null,
        electricityType: null,
        electricityTypeOther: null,
        pueDesign: null,
        waterDesign: null,
        netLevel: null,
        netOperator: null,
        netOperatorOther: null,
        airRefrigerationType: null,
        airRefrigerationTypeOther: null,
        sort: null,
        message: null,
        state: null,
        isEnable: null,
        createUser: null,
        createTime: null,
        updateUser: null,
        updateTime: null,
        remark: null
      };
      this.resetForm("form");
    },
    /** 搜索按钮操作 */
    handleQuery() {
      this.queryParams.pageNum = 1;
      this.getList();
    },
    /** 重置按钮操作 */
    resetQuery() {
      this.resetForm("queryForm");
      this.handleQuery();
    },
    // 多选框选中数据
    handleSelectionChange(selection) {
      this.ids = selection.map(item => item.id)
      this.single = selection.length!==1
      this.multiple = !selection.length
    },
    /** 新增按钮操作 */
    handleAdd() {
      this.reset();
      this.open = true;
      this.title = "添加在用数据中心";
    },
    /** 修改按钮操作 */
    handleUpdate(row) {
      this.reset();
      const id = row.id || this.ids
      getUseBase(id).then(response => {
        this.form = response.data;
        this.open = true;
        this.title = "修改在用数据中心";
      });
    },
    /** 提交按钮 */
    submitForm() {
      this.$refs["form"].validate(valid => {
        if (valid) {
          if (this.form.id != null) {
            updateUseBase(this.form).then(response => {
              this.$modal.msgSuccess("修改成功");
              this.open = false;
              this.getList();
            });
          } else {
            addUseBase(this.form).then(response => {
              this.$modal.msgSuccess("新增成功");
              this.open = false;
              this.getList();
            });
          }
        }
      });
    },
    /** 删除按钮操作 */
    handleDelete(row) {
      const ids = row.id || this.ids;
      this.$modal.confirm('是否确认删除在用数据中心编号为"' + ids + '"的数据项?').then(function() {
        return delUseBase(ids);
      }).then(() => {
        this.getList();
        this.$modal.msgSuccess("删除成功");
      }).catch(() => {});
    },
    /** 导出按钮操作 */
    handleExport() {
      this.download('bis/useBase/export', {
        ...this.queryParams
      }, `useBase_${new Date().getTime()}.xlsx`)
    }
  }
};
</script>
cpzidc-ui/src/views/bis/useComputility/index.vue
New file
@@ -0,0 +1,373 @@
<template>
  <div class="app-container">
    <el-form :model="queryParams" ref="queryForm" size="small" :inline="true" v-show="showSearch" label-width="120px">
      <el-form-item label="数据中心ID" prop="baseId">
        <el-input
          v-model="queryParams.baseId"
          placeholder="请输入数据中心ID"
          clearable
          @keyup.enter.native="handleQuery"
        />
      </el-form-item>
      <el-form-item label="日期节点" prop="dateNode">
        <el-input
          v-model="queryParams.dateNode"
          placeholder="请输入日期节点"
          clearable
          @keyup.enter.native="handleQuery"
        />
      </el-form-item>
      <el-form-item label="统管平台" prop="haveManagerPlatform">
        <el-select v-model="queryParams.haveManagerPlatform" placeholder="请选择否有统一的算力管理平台或算力统计数据" clearable>
          <el-option
            v-for="dict in dict.type.idc_have_no"
            :key="dict.value"
            :label="dict.label"
            :value="dict.value"
          />
        </el-select>
      </el-form-item>
      <el-form-item label="提交者" prop="createUser">
        <el-input
          v-model="queryParams.createUser"
          placeholder="请输入提交者"
          clearable
          @keyup.enter.native="handleQuery"
        />
      </el-form-item>
      <el-form-item>
        <el-button type="primary" icon="el-icon-search" size="mini" @click="handleQuery">搜索</el-button>
        <el-button icon="el-icon-refresh" size="mini" @click="resetQuery">重置</el-button>
      </el-form-item>
    </el-form>
    <el-row :gutter="10" class="mb8">
      <el-col :span="1.5">
        <el-button
          type="primary"
          plain
          icon="el-icon-plus"
          size="mini"
          @click="handleAdd"
          v-hasPermi="['bis:useComputility:add']"
        >新增</el-button>
      </el-col>
      <el-col :span="1.5">
        <el-button
          type="success"
          plain
          icon="el-icon-edit"
          size="mini"
          :disabled="single"
          @click="handleUpdate"
          v-hasPermi="['bis:useComputility:edit']"
        >修改</el-button>
      </el-col>
      <el-col :span="1.5">
        <el-button
          type="danger"
          plain
          icon="el-icon-delete"
          size="mini"
          :disabled="multiple"
          @click="handleDelete"
          v-hasPermi="['bis:useComputility:remove']"
        >删除</el-button>
      </el-col>
      <el-col :span="1.5">
        <el-button
          type="warning"
          plain
          icon="el-icon-download"
          size="mini"
          @click="handleExport"
          v-hasPermi="['bis:useComputility:export']"
        >导出</el-button>
      </el-col>
      <right-toolbar :showSearch.sync="showSearch" @queryTable="getList"></right-toolbar>
    </el-row>
    <el-table v-loading="loading" :data="useComputilityList" @selection-change="handleSelectionChange">
      <el-table-column type="selection" width="55" align="center" />
      <el-table-column label="序号" align="center" prop="id" />
      <el-table-column label="数据中心ID" align="center" prop="baseId" />
      <el-table-column label="日期节点" align="center" prop="dateNode" />
      <el-table-column label="服务器总台数" align="center" prop="serviceAll" />
      <el-table-column label="否有统一的算力管理平台或算力统计数据" align="center" prop="haveManagerPlatform">
        <template slot-scope="scope">
          <dict-tag :options="dict.type.idc_have_no" :value="scope.row.haveManagerPlatform"/>
        </template>
      </el-table-column>
      <el-table-column label="通用算力规模(PFLOPS,单精度,FP32)" align="center" prop="computingGeneral" />
      <el-table-column label="智能算力规模(PFLOPS,半精度,FP16)" align="center" prop="computingIntelligence16" />
      <el-table-column label="智能算力规模(PFLOPS,单精度,FP32)" align="center" prop="computingIntelligence32" />
      <el-table-column label="通用" align="center" prop="computingGeneralText" />
      <el-table-column label="智能 FP16" align="center" prop="computingIntelligence16Text" />
      <el-table-column label="智能 FP32" align="center" prop="computingIntelligence32Text" />
      <el-table-column label="排序" align="center" prop="sort" />
      <el-table-column label="更新者" align="center" prop="updateUser" />
      <el-table-column label="创建者" align="center" prop="createUser" />
      <el-table-column label="管理员备注" align="center" prop="remark" />
      <el-table-column label="操作" align="center" class-name="small-padding fixed-width">
        <template slot-scope="scope">
          <el-button
            size="mini"
            type="text"
            icon="el-icon-edit"
            @click="handleUpdate(scope.row)"
            v-hasPermi="['bis:useComputility:edit']"
          >修改</el-button>
          <el-button
            size="mini"
            type="text"
            icon="el-icon-delete"
            @click="handleDelete(scope.row)"
            v-hasPermi="['bis:useComputility:remove']"
          >删除</el-button>
        </template>
      </el-table-column>
    </el-table>
    <pagination
      v-show="total>0"
      :total="total"
      :page.sync="queryParams.pageNum"
      :limit.sync="queryParams.pageSize"
      @pagination="getList"
    />
    <!-- 添加或修改算力指标信息对话框 -->
    <el-dialog :title="title" :visible.sync="open" width="500px" append-to-body>
      <el-form ref="form" :model="form" :rules="rules" label-width="80px">
        <el-form-item label="数据中心ID" prop="baseId">
          <el-input v-model="form.baseId" placeholder="请输入数据中心ID" />
        </el-form-item>
        <el-form-item label="日期节点" prop="dateNode">
          <el-input v-model="form.dateNode" placeholder="请输入日期节点" />
        </el-form-item>
        <el-form-item label="服务器总台数" prop="serviceAll">
          <el-input v-model="form.serviceAll" placeholder="请输入服务器总台数" />
        </el-form-item>
        <el-form-item label="否有统一的算力管理平台或算力统计数据" prop="haveManagerPlatform">
          <el-radio-group v-model="form.haveManagerPlatform">
            <el-radio
              v-for="dict in dict.type.idc_have_no"
              :key="dict.value"
              :label="parseInt(dict.value)"
            >{{dict.label}}</el-radio>
          </el-radio-group>
        </el-form-item>
        <el-form-item label="通用算力规模(PFLOPS,单精度,FP32)" prop="computingGeneral">
          <el-input v-model="form.computingGeneral" placeholder="请输入通用算力规模(PFLOPS,单精度,FP32)" />
        </el-form-item>
        <el-form-item label="智能算力规模(PFLOPS,半精度,FP16)" prop="computingIntelligence16">
          <el-input v-model="form.computingIntelligence16" placeholder="请输入智能算力规模(PFLOPS,半精度,FP16)" />
        </el-form-item>
        <el-form-item label="智能算力规模(PFLOPS,单精度,FP32)" prop="computingIntelligence32">
          <el-input v-model="form.computingIntelligence32" placeholder="请输入智能算力规模(PFLOPS,单精度,FP32)" />
        </el-form-item>
        <el-form-item label="通用" prop="computingGeneralText">
          <el-input v-model="form.computingGeneralText" type="textarea" placeholder="请输入内容" />
        </el-form-item>
        <el-form-item label="智能 FP16" prop="computingIntelligence16Text">
          <el-input v-model="form.computingIntelligence16Text" type="textarea" placeholder="请输入内容" />
        </el-form-item>
        <el-form-item label="智能 FP32" prop="computingIntelligence32Text">
          <el-input v-model="form.computingIntelligence32Text" type="textarea" placeholder="请输入内容" />
        </el-form-item>
        <el-form-item label="排序" prop="sort">
          <el-input v-model="form.sort" placeholder="请输入排序" />
        </el-form-item>
        <el-form-item label="更新者" prop="updateUser">
          <el-input v-model="form.updateUser" placeholder="请输入更新者" />
        </el-form-item>
        <el-form-item label="创建者" prop="createUser">
          <el-input v-model="form.createUser" placeholder="请输入创建者" />
        </el-form-item>
        <el-form-item label="管理员备注" prop="remark">
          <el-input v-model="form.remark" placeholder="请输入管理员备注" />
        </el-form-item>
      </el-form>
      <div slot="footer" class="dialog-footer">
        <el-button type="primary" @click="submitForm">确 定</el-button>
        <el-button @click="cancel">取 消</el-button>
      </div>
    </el-dialog>
  </div>
</template>
<script>
import { listUseComputility, getUseComputility, delUseComputility, addUseComputility, updateUseComputility } from "@/api/bis/useComputility";
export default {
  name: "UseComputility",
  dicts: ['idc_have_no'],
  data() {
    return {
      // 遮罩层
      loading: true,
      // 选中数组
      ids: [],
      // 非单个禁用
      single: true,
      // 非多个禁用
      multiple: true,
      // 显示搜索条件
      showSearch: true,
      // 总条数
      total: 0,
      // 算力指标信息表格数据
      useComputilityList: [],
      // 弹出层标题
      title: "",
      // 是否显示弹出层
      open: false,
      // 查询参数
      queryParams: {
        pageNum: 1,
        pageSize: 10,
        baseId: null,
        dateNode: null,
        serviceAll: null,
        haveManagerPlatform: null,
        computingGeneral: null,
        computingIntelligence16: null,
        computingIntelligence32: null,
        computingGeneralText: null,
        computingIntelligence16Text: null,
        computingIntelligence32Text: null,
        sort: null,
        updateUser: null,
        createUser: null,
      },
      // 表单参数
      form: {},
      // 表单校验
      rules: {
        baseId: [
          { required: true, message: "数据中心ID不能为空", trigger: "blur" }
        ],
        dateNode: [
          { required: true, message: "日期节点不能为空", trigger: "blur" }
        ],
        serviceAll: [
          { required: true, message: "服务器总台数不能为空", trigger: "blur" }
        ],
        createUser: [
          { required: true, message: "创建者不能为空", trigger: "blur" }
        ],
      }
    };
  },
  created() {
    this.getList();
  },
  methods: {
    /** 查询算力指标信息列表 */
    getList() {
      this.loading = true;
      listUseComputility(this.queryParams).then(response => {
        this.useComputilityList = response.rows;
        this.total = response.total;
        this.loading = false;
      });
    },
    // 取消按钮
    cancel() {
      this.open = false;
      this.reset();
    },
    // 表单重置
    reset() {
      this.form = {
        id: null,
        baseId: null,
        dateNode: null,
        serviceAll: null,
        haveManagerPlatform: null,
        computingGeneral: null,
        computingIntelligence16: null,
        computingIntelligence32: null,
        computingGeneralText: null,
        computingIntelligence16Text: null,
        computingIntelligence32Text: null,
        sort: null,
        createTime: null,
        updateTime: null,
        updateUser: null,
        createUser: null,
        remark: null
      };
      this.resetForm("form");
    },
    /** 搜索按钮操作 */
    handleQuery() {
      this.queryParams.pageNum = 1;
      this.getList();
    },
    /** 重置按钮操作 */
    resetQuery() {
      this.resetForm("queryForm");
      this.handleQuery();
    },
    // 多选框选中数据
    handleSelectionChange(selection) {
      this.ids = selection.map(item => item.id)
      this.single = selection.length!==1
      this.multiple = !selection.length
    },
    /** 新增按钮操作 */
    handleAdd() {
      this.reset();
      this.open = true;
      this.title = "添加算力指标信息";
    },
    /** 修改按钮操作 */
    handleUpdate(row) {
      this.reset();
      const id = row.id || this.ids
      getUseComputility(id).then(response => {
        this.form = response.data;
        this.open = true;
        this.title = "修改算力指标信息";
      });
    },
    /** 提交按钮 */
    submitForm() {
      this.$refs["form"].validate(valid => {
        if (valid) {
          if (this.form.id != null) {
            updateUseComputility(this.form).then(response => {
              this.$modal.msgSuccess("修改成功");
              this.open = false;
              this.getList();
            });
          } else {
            addUseComputility(this.form).then(response => {
              this.$modal.msgSuccess("新增成功");
              this.open = false;
              this.getList();
            });
          }
        }
      });
    },
    /** 删除按钮操作 */
    handleDelete(row) {
      const ids = row.id || this.ids;
      this.$modal.confirm('是否确认删除算力指标信息编号为"' + ids + '"的数据项?').then(function() {
        return delUseComputility(ids);
      }).then(() => {
        this.getList();
        this.$modal.msgSuccess("删除成功");
      }).catch(() => {});
    },
    /** 导出按钮操作 */
    handleExport() {
      this.download('bis/useComputility/export', {
        ...this.queryParams
      }, `useComputility_${new Date().getTime()}.xlsx`)
    }
  }
};
</script>
cpzidc-ui/src/views/bis/useGreen/index.vue
New file
@@ -0,0 +1,449 @@
<template>
  <div class="app-container">
    <el-form :model="queryParams" ref="queryForm" size="small" :inline="true" v-show="showSearch" label-width="120px">
      <el-form-item label="数据中心ID" prop="baseId">
        <el-input
          v-model="queryParams.baseId"
          placeholder="请输入数据中心ID"
          clearable
          @keyup.enter.native="handleQuery"
        />
      </el-form-item>
      <el-form-item label="日期节点" prop="dateNode">
        <el-input
          v-model="queryParams.dateNode"
          placeholder="请输入日期节点"
          clearable
          @keyup.enter.native="handleQuery"
        />
      </el-form-item>
      <el-form-item label="本年度是否改造" prop="reform">
        <el-select v-model="queryParams.reform" placeholder="请选择本年度是否有改造" clearable>
          <el-option
            v-for="dict in dict.type.idc_yes_no"
            :key="dict.value"
            :label="dict.label"
            :value="dict.value"
          />
        </el-select>
      </el-form-item>
      <el-form-item label="节能改造状态" prop="energySavingStatus">
        <el-select v-model="queryParams.energySavingStatus" placeholder="请选择节能改造状态" clearable>
          <el-option
            v-for="dict in dict.type.idc_green_energy_saving_status"
            :key="dict.value"
            :label="dict.label"
            :value="dict.value"
          />
        </el-select>
      </el-form-item>
      <el-form-item label="清洁能源利用率" prop="cleanEnergyRate">
        <el-input
          v-model="queryParams.cleanEnergyRate"
          placeholder="请输入清洁能源利用率"
          clearable
          @keyup.enter.native="handleQuery"
        />
      </el-form-item>
      <el-form-item label="清洁能源类型" prop="cleanEnergyType">
        <el-select v-model="queryParams.cleanEnergyType" placeholder="请选择清洁能源类型" clearable>
          <el-option
            v-for="dict in dict.type.idc_green_clean_energy_type"
            :key="dict.value"
            :label="dict.label"
            :value="dict.value"
          />
        </el-select>
      </el-form-item>
      <el-form-item label="清洁能源来源" prop="cleanEnergyFrom">
        <el-input
          v-model="queryParams.cleanEnergyFrom"
          placeholder="请输入清洁能源来源"
          clearable
          @keyup.enter.native="handleQuery"
        />
      </el-form-item>
      <el-form-item label="提交者" prop="createUser">
        <el-input
          v-model="queryParams.createUser"
          placeholder="请输入创建者"
          clearable
          @keyup.enter.native="handleQuery"
        />
      </el-form-item>
      <el-form-item>
        <el-button type="primary" icon="el-icon-search" size="mini" @click="handleQuery">搜索</el-button>
        <el-button icon="el-icon-refresh" size="mini" @click="resetQuery">重置</el-button>
      </el-form-item>
    </el-form>
    <el-row :gutter="10" class="mb8">
      <el-col :span="1.5">
        <el-button
          type="primary"
          plain
          icon="el-icon-plus"
          size="mini"
          @click="handleAdd"
          v-hasPermi="['bis:useGreen:add']"
        >新增</el-button>
      </el-col>
      <el-col :span="1.5">
        <el-button
          type="success"
          plain
          icon="el-icon-edit"
          size="mini"
          :disabled="single"
          @click="handleUpdate"
          v-hasPermi="['bis:useGreen:edit']"
        >修改</el-button>
      </el-col>
      <el-col :span="1.5">
        <el-button
          type="danger"
          plain
          icon="el-icon-delete"
          size="mini"
          :disabled="multiple"
          @click="handleDelete"
          v-hasPermi="['bis:useGreen:remove']"
        >删除</el-button>
      </el-col>
      <el-col :span="1.5">
        <el-button
          type="warning"
          plain
          icon="el-icon-download"
          size="mini"
          @click="handleExport"
          v-hasPermi="['bis:useGreen:export']"
        >导出</el-button>
      </el-col>
      <right-toolbar :showSearch.sync="showSearch" @queryTable="getList"></right-toolbar>
    </el-row>
    <el-table v-loading="loading" :data="useGreenList" @selection-change="handleSelectionChange">
      <el-table-column type="selection" width="55" align="center" />
      <el-table-column label="序号" align="center" prop="id" />
      <el-table-column label="数据中心ID" align="center" prop="baseId" />
      <el-table-column label="日期节点" align="center" prop="dateNode" />
      <el-table-column label="本年度是否有改造" align="center" prop="reform">
        <template slot-scope="scope">
          <dict-tag :options="dict.type.idc_yes_no" :value="scope.row.reform"/>
        </template>
      </el-table-column>
      <el-table-column label="本年度改造投资" align="center" prop="investYear" />
      <el-table-column label="节能改造状态" align="center" prop="energySavingStatus">
        <template slot-scope="scope">
          <dict-tag :options="dict.type.idc_green_energy_saving_status" :value="scope.row.energySavingStatus"/>
        </template>
      </el-table-column>
      <el-table-column label="实测WUE" align="center" prop="wueReality" />
      <el-table-column label="实测PUE" align="center" prop="pueReality" />
      <el-table-column label="全年用水量" align="center" prop="waterYearActual" />
      <el-table-column label="全年电力总消耗量" align="center" prop="electricityYearActual" />
      <el-table-column label="全年IT系统耗电量" align="center" prop="electricityItYearActual" />
      <el-table-column label="全年清洁能源利用量" align="center" prop="cleanEnergyDosage" />
      <el-table-column label="清洁能源利用率" align="center" prop="cleanEnergyRate" />
      <el-table-column label="清洁能源类型" align="center" prop="cleanEnergyType">
        <template slot-scope="scope">
          <dict-tag :options="dict.type.idc_green_clean_energy_type" :value="scope.row.cleanEnergyType"/>
        </template>
      </el-table-column>
      <el-table-column label="清洁能源来源" align="center" prop="cleanEnergyFrom">
        <template slot-scope="scope">
          <dict-tag :options="dict.type.idc_green_clean_energy_from" :value="scope.row.cleanEnergyFrom"/>
        </template>
      </el-table-column>
      <el-table-column label="排序" align="center" prop="sort" />
      <el-table-column label="更新者" align="center" prop="updateUser" />
      <el-table-column label="创建者" align="center" prop="createUser" />
      <el-table-column label="管理员备注" align="center" prop="remark" />
      <el-table-column label="操作" align="center" class-name="small-padding fixed-width">
        <template slot-scope="scope">
          <el-button
            size="mini"
            type="text"
            icon="el-icon-edit"
            @click="handleUpdate(scope.row)"
            v-hasPermi="['bis:useGreen:edit']"
          >修改</el-button>
          <el-button
            size="mini"
            type="text"
            icon="el-icon-delete"
            @click="handleDelete(scope.row)"
            v-hasPermi="['bis:useGreen:remove']"
          >删除</el-button>
        </template>
      </el-table-column>
    </el-table>
    <pagination
      v-show="total>0"
      :total="total"
      :page.sync="queryParams.pageNum"
      :limit.sync="queryParams.pageSize"
      @pagination="getList"
    />
    <!-- 添加或修改绿色运行指标信息对话框 -->
    <el-dialog :title="title" :visible.sync="open" width="500px" append-to-body>
      <el-form ref="form" :model="form" :rules="rules" label-width="80px">
        <el-form-item label="数据中心ID" prop="baseId">
          <el-input v-model="form.baseId" placeholder="请输入数据中心ID" />
        </el-form-item>
        <el-form-item label="日期节点" prop="dateNode">
          <el-input v-model="form.dateNode" placeholder="请输入日期节点" />
        </el-form-item>
        <el-form-item label="本年度是否有改造" prop="reform">
          <el-radio-group v-model="form.reform">
            <el-radio
              v-for="dict in dict.type.idc_yes_no"
              :key="dict.value"
              :label="parseInt(dict.value)"
            >{{dict.label}}</el-radio>
          </el-radio-group>
        </el-form-item>
        <el-form-item label="本年度改造投资" prop="investYear">
          <el-input v-model="form.investYear" placeholder="请输入本年度改造投资" />
        </el-form-item>
        <el-form-item label="节能改造状态" prop="energySavingStatus">
          <el-radio-group v-model="form.energySavingStatus">
            <el-radio
              v-for="dict in dict.type.idc_green_energy_saving_status"
              :key="dict.value"
              :label="dict.value"
            >{{dict.label}}</el-radio>
          </el-radio-group>
        </el-form-item>
        <el-form-item label="实测WUE" prop="wueReality">
          <el-input v-model="form.wueReality" placeholder="请输入实测WUE" />
        </el-form-item>
        <el-form-item label="实测PUE" prop="pueReality">
          <el-input v-model="form.pueReality" placeholder="请输入实测PUE" />
        </el-form-item>
        <el-form-item label="全年用水量" prop="waterYearActual">
          <el-input v-model="form.waterYearActual" placeholder="请输入全年用水量" />
        </el-form-item>
        <el-form-item label="全年电力总消耗量" prop="electricityYearActual">
          <el-input v-model="form.electricityYearActual" placeholder="请输入全年电力总消耗量" />
        </el-form-item>
        <el-form-item label="全年IT系统耗电量" prop="electricityItYearActual">
          <el-input v-model="form.electricityItYearActual" placeholder="请输入全年IT系统耗电量" />
        </el-form-item>
        <el-form-item label="全年清洁能源利用量" prop="cleanEnergyDosage">
          <el-input v-model="form.cleanEnergyDosage" placeholder="请输入全年清洁能源利用量" />
        </el-form-item>
        <el-form-item label="清洁能源利用率" prop="cleanEnergyRate">
          <el-input v-model="form.cleanEnergyRate" placeholder="请输入清洁能源利用率" />
        </el-form-item>
        <el-form-item label="清洁能源类型" prop="cleanEnergyType">
          <el-select v-model="form.cleanEnergyType" placeholder="请选择清洁能源类型">
            <el-option
              v-for="dict in dict.type.idc_green_clean_energy_type"
              :key="dict.value"
              :label="dict.label"
              :value="dict.value"
            ></el-option>
          </el-select>
        </el-form-item>
        <el-form-item label="清洁能源来源" prop="cleanEnergyFrom">
          <el-input v-model="form.cleanEnergyFrom" placeholder="请输入清洁能源来源" />
        </el-form-item>
        <el-form-item label="排序" prop="sort">
          <el-input v-model="form.sort" placeholder="请输入排序" />
        </el-form-item>
        <el-form-item label="更新者" prop="updateUser">
          <el-input v-model="form.updateUser" placeholder="请输入更新者" />
        </el-form-item>
        <el-form-item label="创建者" prop="createUser">
          <el-input v-model="form.createUser" placeholder="请输入创建者" />
        </el-form-item>
        <el-form-item label="管理员备注" prop="remark">
          <el-input v-model="form.remark" placeholder="请输入管理员备注" />
        </el-form-item>
      </el-form>
      <div slot="footer" class="dialog-footer">
        <el-button type="primary" @click="submitForm">确 定</el-button>
        <el-button @click="cancel">取 消</el-button>
      </div>
    </el-dialog>
  </div>
</template>
<script>
import { listUseGreen, getUseGreen, delUseGreen, addUseGreen, updateUseGreen } from "@/api/bis/useGreen";
export default {
  name: "UseGreen",
  dicts: ['idc_yes_no', 'idc_green_clean_energy_type', 'idc_green_energy_saving_status'],
  data() {
    return {
      // 遮罩层
      loading: true,
      // 选中数组
      ids: [],
      // 非单个禁用
      single: true,
      // 非多个禁用
      multiple: true,
      // 显示搜索条件
      showSearch: true,
      // 总条数
      total: 0,
      // 绿色运行指标信息表格数据
      useGreenList: [],
      // 弹出层标题
      title: "",
      // 是否显示弹出层
      open: false,
      // 查询参数
      queryParams: {
        pageNum: 1,
        pageSize: 10,
        baseId: null,
        dateNode: null,
        reform: null,
        investYear: null,
        energySavingStatus: null,
        wueReality: null,
        pueReality: null,
        waterYearActual: null,
        electricityYearActual: null,
        electricityItYearActual: null,
        cleanEnergyDosage: null,
        cleanEnergyRate: null,
        cleanEnergyType: null,
        cleanEnergyFrom: null,
        sort: null,
        updateUser: null,
        createUser: null,
      },
      // 表单参数
      form: {},
      // 表单校验
      rules: {
        createUser: [
          { required: true, message: "创建者不能为空", trigger: "blur" }
        ],
      }
    };
  },
  created() {
    this.getList();
  },
  methods: {
    /** 查询绿色运行指标信息列表 */
    getList() {
      this.loading = true;
      listUseGreen(this.queryParams).then(response => {
        this.useGreenList = response.rows;
        this.total = response.total;
        this.loading = false;
      });
    },
    // 取消按钮
    cancel() {
      this.open = false;
      this.reset();
    },
    // 表单重置
    reset() {
      this.form = {
        id: null,
        baseId: null,
        dateNode: null,
        reform: null,
        investYear: null,
        energySavingStatus: null,
        wueReality: null,
        pueReality: null,
        waterYearActual: null,
        electricityYearActual: null,
        electricityItYearActual: null,
        cleanEnergyDosage: null,
        cleanEnergyRate: null,
        cleanEnergyType: null,
        cleanEnergyFrom: null,
        sort: null,
        createTime: null,
        updateTime: null,
        updateUser: null,
        createUser: null,
        remark: null
      };
      this.resetForm("form");
    },
    /** 搜索按钮操作 */
    handleQuery() {
      this.queryParams.pageNum = 1;
      this.getList();
    },
    /** 重置按钮操作 */
    resetQuery() {
      this.resetForm("queryForm");
      this.handleQuery();
    },
    // 多选框选中数据
    handleSelectionChange(selection) {
      this.ids = selection.map(item => item.id)
      this.single = selection.length!==1
      this.multiple = !selection.length
    },
    /** 新增按钮操作 */
    handleAdd() {
      this.reset();
      this.open = true;
      this.title = "添加绿色运行指标信息";
    },
    /** 修改按钮操作 */
    handleUpdate(row) {
      this.reset();
      const id = row.id || this.ids
      getUseGreen(id).then(response => {
        this.form = response.data;
        this.open = true;
        this.title = "修改绿色运行指标信息";
      });
    },
    /** 提交按钮 */
    submitForm() {
      this.$refs["form"].validate(valid => {
        if (valid) {
          if (this.form.id != null) {
            updateUseGreen(this.form).then(response => {
              this.$modal.msgSuccess("修改成功");
              this.open = false;
              this.getList();
            });
          } else {
            addUseGreen(this.form).then(response => {
              this.$modal.msgSuccess("新增成功");
              this.open = false;
              this.getList();
            });
          }
        }
      });
    },
    /** 删除按钮操作 */
    handleDelete(row) {
      const ids = row.id || this.ids;
      this.$modal.confirm('是否确认删除绿色运行指标信息编号为"' + ids + '"的数据项?').then(function() {
        return delUseGreen(ids);
      }).then(() => {
        this.getList();
        this.$modal.msgSuccess("删除成功");
      }).catch(() => {});
    },
    /** 导出按钮操作 */
    handleExport() {
      this.download('bis/useGreen/export', {
        ...this.queryParams
      }, `useGreen_${new Date().getTime()}.xlsx`)
    }
  }
};
</script>
cpzidc-ui/src/views/bis/useInfrastructure/index.vue
New file
@@ -0,0 +1,446 @@
<template>
  <div class="app-container">
    <el-form :model="queryParams" ref="queryForm" size="small" :inline="true" v-show="showSearch" label-width="100px">
      <el-form-item label="数据中心ID" prop="baseId">
        <el-input
          v-model="queryParams.baseId"
          placeholder="请输入数据中心ID"
          clearable
          @keyup.enter.native="handleQuery"
        />
      </el-form-item>
      <el-form-item label="日期节点" prop="dateNode">
        <el-input
          v-model="queryParams.dateNode"
          placeholder="请输入日期节点"
          clearable
          @keyup.enter.native="handleQuery"
        />
      </el-form-item>
      <el-form-item label="填表联系人" prop="formName">
        <el-input
          v-model="queryParams.formName"
          placeholder="请输入填表联系人"
          clearable
          @keyup.enter.native="handleQuery"
        />
      </el-form-item>
      <el-form-item label="填表电话" prop="formTel">
        <el-input
          v-model="queryParams.formTel"
          placeholder="请输入填表电话"
          clearable
          @keyup.enter.native="handleQuery"
        />
      </el-form-item>
      <el-form-item label="提交者" prop="createUser">
        <el-input
          v-model="queryParams.createUser"
          placeholder="请输入提交者"
          clearable
          @keyup.enter.native="handleQuery"
        />
      </el-form-item>
      <el-form-item>
        <el-button type="primary" icon="el-icon-search" size="mini" @click="handleQuery">搜索</el-button>
        <el-button icon="el-icon-refresh" size="mini" @click="resetQuery">重置</el-button>
      </el-form-item>
    </el-form>
    <el-row :gutter="10" class="mb8">
      <el-col :span="1.5">
        <el-button
          type="primary"
          plain
          icon="el-icon-plus"
          size="mini"
          @click="handleAdd"
          v-hasPermi="['bis:useInfrastructure:add']"
        >新增</el-button>
      </el-col>
      <el-col :span="1.5">
        <el-button
          type="success"
          plain
          icon="el-icon-edit"
          size="mini"
          :disabled="single"
          @click="handleUpdate"
          v-hasPermi="['bis:useInfrastructure:edit']"
        >修改</el-button>
      </el-col>
      <el-col :span="1.5">
        <el-button
          type="danger"
          plain
          icon="el-icon-delete"
          size="mini"
          :disabled="multiple"
          @click="handleDelete"
          v-hasPermi="['bis:useInfrastructure:remove']"
        >删除</el-button>
      </el-col>
      <el-col :span="1.5">
        <el-button
          type="warning"
          plain
          icon="el-icon-download"
          size="mini"
          @click="handleExport"
          v-hasPermi="['bis:useInfrastructure:export']"
        >导出</el-button>
      </el-col>
      <right-toolbar :showSearch.sync="showSearch" @queryTable="getList"></right-toolbar>
    </el-row>
    <el-table v-loading="loading" :data="useInfrastructureList" @selection-change="handleSelectionChange">
      <el-table-column type="selection" width="55" align="center" />
      <el-table-column label="序号" align="center" prop="id" />
      <el-table-column label="数据中心ID" align="center" prop="baseId" />
      <el-table-column label="日期节点" align="center" prop="dateNode" />
      <el-table-column label="填表联系人" align="center" prop="formName" />
      <el-table-column label="填表电话" align="center" prop="formTel" />
      <el-table-column label="已完成基础机电配置机架数" align="center" prop="frameCompBase" />
      <el-table-column label="已完成末端机电配置机架数" align="center" prop="frameCompEnd" />
      <el-table-column label="已上电机架数" align="center" prop="frameElectricity" />
      <el-table-column label="云计算技术部署机架占比" align="center" prop="percentageCloud" />
      <el-table-column label="电价" align="center" prop="electricityPrice" />
      <el-table-column label="数据中心年度收入(万元)" align="center" prop="annual" />
      <el-table-column label="数据中心年度运营成本(万元)" align="center" prop="cost" />
      <el-table-column label="政务业务占比" align="center" prop="bisPercentZhengwu" />
      <el-table-column label="企业业务占比" align="center" prop="bisPercentQiye" />
      <el-table-column label="金融业务占比" align="center" prop="bisPercentJinrong" />
      <el-table-column label="互联网.公有云占比" align="center" prop="bisPercentInternetGongyouyun" />
      <el-table-column label="互联网.网站占比" align="center" prop="bisPercentInternetWangzhan" />
      <el-table-column label="互联网.视频占比" align="center" prop="bisPercentInternetShiping" />
      <el-table-column label="互联网.ai占比" align="center" prop="bisPercentInternetAi" />
      <el-table-column label="互联网.电商占比" align="center" prop="bisPercentInternetDianshang" />
      <el-table-column label="互联网.游戏占比" align="center" prop="bisPercentInternetYouxi" />
      <el-table-column label="互联网.支付占比" align="center" prop="bisPercentInternetZhifu" />
      <el-table-column label="互联网.其他占比" align="center" prop="bisPercentInternetOther" />
      <el-table-column label="其他占比" align="center" prop="bisPercentOther" />
      <el-table-column label="数据中心相关发明专利、软著授权总数" align="center" prop="sumChanquan" />
      <el-table-column label="运维人员数量" align="center" prop="itOperation" />
      <el-table-column label="排序" align="center" prop="sort" />
      <el-table-column label="创建者" align="center" prop="createUser" />
      <el-table-column label="更新者" align="center" prop="updateUser" />
      <el-table-column label="管理员备注" align="center" prop="remark" />
      <el-table-column label="操作" align="center" class-name="small-padding fixed-width">
        <template slot-scope="scope">
          <el-button
            size="mini"
            type="text"
            icon="el-icon-edit"
            @click="handleUpdate(scope.row)"
            v-hasPermi="['bis:useInfrastructure:edit']"
          >修改</el-button>
          <el-button
            size="mini"
            type="text"
            icon="el-icon-delete"
            @click="handleDelete(scope.row)"
            v-hasPermi="['bis:useInfrastructure:remove']"
          >删除</el-button>
        </template>
      </el-table-column>
    </el-table>
    <pagination
      v-show="total>0"
      :total="total"
      :page.sync="queryParams.pageNum"
      :limit.sync="queryParams.pageSize"
      @pagination="getList"
    />
    <!-- 添加或修改基础设施信息对话框 -->
    <el-dialog :title="title" :visible.sync="open" width="500px" append-to-body>
      <el-form ref="form" :model="form" :rules="rules" label-width="80px">
        <el-form-item label="数据中心ID" prop="baseId">
          <el-input v-model="form.baseId" placeholder="请输入数据中心ID" />
        </el-form-item>
        <el-form-item label="日期节点" prop="dateNode">
          <el-input v-model="form.dateNode" placeholder="请输入日期节点" />
        </el-form-item>
        <el-form-item label="填表联系人" prop="formName">
          <el-input v-model="form.formName" placeholder="请输入填表联系人" />
        </el-form-item>
        <el-form-item label="填表电话" prop="formTel">
          <el-input v-model="form.formTel" placeholder="请输入填表电话" />
        </el-form-item>
        <el-form-item label="已完成基础机电配置机架数" prop="frameCompBase">
          <el-input v-model="form.frameCompBase" placeholder="请输入已完成基础机电配置机架数" />
        </el-form-item>
        <el-form-item label="已完成末端机电配置机架数" prop="frameCompEnd">
          <el-input v-model="form.frameCompEnd" placeholder="请输入已完成末端机电配置机架数" />
        </el-form-item>
        <el-form-item label="云计算技术部署机架占比" prop="percentageCloud">
          <el-input v-model="form.percentageCloud" placeholder="请输入云计算技术部署机架占比" />
        </el-form-item>
        <el-form-item label="电价" prop="electricityPrice">
          <el-input v-model="form.electricityPrice" placeholder="请输入电价" />
        </el-form-item>
        <el-form-item label="数据中心年度收入(万元)" prop="annual">
          <el-input v-model="form.annual" placeholder="请输入数据中心年度收入(万元)" />
        </el-form-item>
        <el-form-item label="数据中心年度运营成本(万元)" prop="cost">
          <el-input v-model="form.cost" placeholder="请输入数据中心年度运营成本(万元)" />
        </el-form-item>
        <el-form-item label="政务业务占比" prop="bisPercentZhengwu">
          <el-input v-model="form.bisPercentZhengwu" placeholder="请输入政务业务占比" />
        </el-form-item>
        <el-form-item label="企业业务占比" prop="bisPercentQiye">
          <el-input v-model="form.bisPercentQiye" placeholder="请输入企业业务占比" />
        </el-form-item>
        <el-form-item label="金融业务占比" prop="bisPercentJinrong">
          <el-input v-model="form.bisPercentJinrong" placeholder="请输入金融业务占比" />
        </el-form-item>
        <el-form-item label="互联网.公有云占比" prop="bisPercentInternetGongyouyun">
          <el-input v-model="form.bisPercentInternetGongyouyun" placeholder="请输入互联网.公有云占比" />
        </el-form-item>
        <el-form-item label="互联网.网站占比" prop="bisPercentInternetWangzhan">
          <el-input v-model="form.bisPercentInternetWangzhan" placeholder="请输入互联网.网站占比" />
        </el-form-item>
        <el-form-item label="互联网.视频占比" prop="bisPercentInternetShiping">
          <el-input v-model="form.bisPercentInternetShiping" placeholder="请输入互联网.视频占比" />
        </el-form-item>
        <el-form-item label="互联网.ai占比" prop="bisPercentInternetAi">
          <el-input v-model="form.bisPercentInternetAi" placeholder="请输入互联网.ai占比" />
        </el-form-item>
        <el-form-item label="互联网.电商占比" prop="bisPercentInternetDianshang">
          <el-input v-model="form.bisPercentInternetDianshang" placeholder="请输入互联网.电商占比" />
        </el-form-item>
        <el-form-item label="互联网.游戏占比" prop="bisPercentInternetYouxi">
          <el-input v-model="form.bisPercentInternetYouxi" placeholder="请输入互联网.游戏占比" />
        </el-form-item>
        <el-form-item label="互联网.支付占比" prop="bisPercentInternetZhifu">
          <el-input v-model="form.bisPercentInternetZhifu" placeholder="请输入互联网.支付占比" />
        </el-form-item>
        <el-form-item label="互联网.其他占比" prop="bisPercentInternetOther">
          <el-input v-model="form.bisPercentInternetOther" placeholder="请输入互联网.其他占比" />
        </el-form-item>
        <el-form-item label="其他占比" prop="bisPercentOther">
          <el-input v-model="form.bisPercentOther" placeholder="请输入其他占比" />
        </el-form-item>
        <el-form-item label="数据中心相关发明专利、软著授权总数" prop="sumChanquan">
          <el-input v-model="form.sumChanquan" placeholder="请输入数据中心相关发明专利、软著授权总数" />
        </el-form-item>
        <el-form-item label="运维人员数量" prop="itOperation">
          <el-input v-model="form.itOperation" placeholder="请输入运维人员数量" />
        </el-form-item>
        <el-form-item label="排序" prop="sort">
          <el-input v-model="form.sort" placeholder="请输入排序" />
        </el-form-item>
        <el-form-item label="创建者" prop="createUser">
          <el-input v-model="form.createUser" placeholder="请输入创建者" />
        </el-form-item>
        <el-form-item label="更新者" prop="updateUser">
          <el-input v-model="form.updateUser" placeholder="请输入更新者" />
        </el-form-item>
        <el-form-item label="管理员备注" prop="remark">
          <el-input v-model="form.remark" placeholder="请输入管理员备注" />
        </el-form-item>
      </el-form>
      <div slot="footer" class="dialog-footer">
        <el-button type="primary" @click="submitForm">确 定</el-button>
        <el-button @click="cancel">取 消</el-button>
      </div>
    </el-dialog>
  </div>
</template>
<script>
import { listUseInfrastructure, getUseInfrastructure, delUseInfrastructure, addUseInfrastructure, updateUseInfrastructure } from "@/api/bis/useInfrastructure";
export default {
  name: "UseInfrastructure",
  data() {
    return {
      // 遮罩层
      loading: true,
      // 选中数组
      ids: [],
      // 非单个禁用
      single: true,
      // 非多个禁用
      multiple: true,
      // 显示搜索条件
      showSearch: true,
      // 总条数
      total: 0,
      // 基础设施信息表格数据
      useInfrastructureList: [],
      // 弹出层标题
      title: "",
      // 是否显示弹出层
      open: false,
      // 查询参数
      queryParams: {
        pageNum: 1,
        pageSize: 10,
        baseId: null,
        dateNode: null,
        formName: null,
        formTel: null,
        frameCompBase: null,
        frameCompEnd: null,
        frameElectricity: null,
        percentageCloud: null,
        electricityPrice: null,
        annual: null,
        cost: null,
        bisPercentZhengwu: null,
        bisPercentQiye: null,
        bisPercentJinrong: null,
        bisPercentInternetGongyouyun: null,
        bisPercentInternetWangzhan: null,
        bisPercentInternetShiping: null,
        bisPercentInternetAi: null,
        bisPercentInternetDianshang: null,
        bisPercentInternetYouxi: null,
        bisPercentInternetZhifu: null,
        bisPercentInternetOther: null,
        bisPercentOther: null,
        sumChanquan: null,
        itOperation: null,
        sort: null,
        createUser: null,
        updateUser: null,
      },
      // 表单参数
      form: {},
      // 表单校验
      rules: {
        createUser: [
          { required: true, message: "创建者不能为空", trigger: "blur" }
        ],
      }
    };
  },
  created() {
    this.getList();
  },
  methods: {
    /** 查询基础设施信息列表 */
    getList() {
      this.loading = true;
      listUseInfrastructure(this.queryParams).then(response => {
        this.useInfrastructureList = response.rows;
        this.total = response.total;
        this.loading = false;
      });
    },
    // 取消按钮
    cancel() {
      this.open = false;
      this.reset();
    },
    // 表单重置
    reset() {
      this.form = {
        id: null,
        baseId: null,
        dateNode: null,
        formName: null,
        formTel: null,
        frameCompBase: null,
        frameCompEnd: null,
        frameElectricity: null,
        percentageCloud: null,
        electricityPrice: null,
        annual: null,
        cost: null,
        bisPercentZhengwu: null,
        bisPercentQiye: null,
        bisPercentJinrong: null,
        bisPercentInternetGongyouyun: null,
        bisPercentInternetWangzhan: null,
        bisPercentInternetShiping: null,
        bisPercentInternetAi: null,
        bisPercentInternetDianshang: null,
        bisPercentInternetYouxi: null,
        bisPercentInternetZhifu: null,
        bisPercentInternetOther: null,
        bisPercentOther: null,
        sumChanquan: null,
        itOperation: null,
        sort: null,
        createTime: null,
        updateTime: null,
        createUser: null,
        updateUser: null,
        remark: null
      };
      this.resetForm("form");
    },
    /** 搜索按钮操作 */
    handleQuery() {
      this.queryParams.pageNum = 1;
      this.getList();
    },
    /** 重置按钮操作 */
    resetQuery() {
      this.resetForm("queryForm");
      this.handleQuery();
    },
    // 多选框选中数据
    handleSelectionChange(selection) {
      this.ids = selection.map(item => item.id)
      this.single = selection.length!==1
      this.multiple = !selection.length
    },
    /** 新增按钮操作 */
    handleAdd() {
      this.reset();
      this.open = true;
      this.title = "添加基础设施信息";
    },
    /** 修改按钮操作 */
    handleUpdate(row) {
      this.reset();
      const id = row.id || this.ids
      getUseInfrastructure(id).then(response => {
        this.form = response.data;
        this.open = true;
        this.title = "修改基础设施信息";
      });
    },
    /** 提交按钮 */
    submitForm() {
      this.$refs["form"].validate(valid => {
        if (valid) {
          if (this.form.id != null) {
            updateUseInfrastructure(this.form).then(response => {
              this.$modal.msgSuccess("修改成功");
              this.open = false;
              this.getList();
            });
          } else {
            addUseInfrastructure(this.form).then(response => {
              this.$modal.msgSuccess("新增成功");
              this.open = false;
              this.getList();
            });
          }
        }
      });
    },
    /** 删除按钮操作 */
    handleDelete(row) {
      const ids = row.id || this.ids;
      this.$modal.confirm('是否确认删除基础设施信息编号为"' + ids + '"的数据项?').then(function() {
        return delUseInfrastructure(ids);
      }).then(() => {
        this.getList();
        this.$modal.msgSuccess("删除成功");
      }).catch(() => {});
    },
    /** 导出按钮操作 */
    handleExport() {
      this.download('bis/useInfrastructure/export', {
        ...this.queryParams
      }, `useInfrastructure_${new Date().getTime()}.xlsx`)
    }
  }
};
</script>
cpzidc-ui/src/views/bis/useStorage/index.vue
New file
@@ -0,0 +1,425 @@
<template>
  <div class="app-container">
    <el-form :model="queryParams" ref="queryForm" size="small" :inline="true" v-show="showSearch" label-width="100px">
      <el-form-item label="数据中心ID" prop="baseId">
        <el-input
          v-model="queryParams.baseId"
          placeholder="请输入数据中心ID"
          clearable
          @keyup.enter.native="handleQuery"
        />
      </el-form-item>
      <el-form-item label="日期节点" prop="dateNode">
        <el-input
          v-model="queryParams.dateNode"
          placeholder="请输入日期节点"
          clearable
          @keyup.enter.native="handleQuery"
        />
      </el-form-item>
      <el-form-item label="提交者" prop="createUser">
        <el-input
          v-model="queryParams.createUser"
          placeholder="请输入提交者"
          clearable
          @keyup.enter.native="handleQuery"
        />
      </el-form-item>
      <el-form-item>
        <el-button type="primary" icon="el-icon-search" size="mini" @click="handleQuery">搜索</el-button>
        <el-button icon="el-icon-refresh" size="mini" @click="resetQuery">重置</el-button>
      </el-form-item>
    </el-form>
    <el-row :gutter="10" class="mb8">
      <el-col :span="1.5">
        <el-button
          type="primary"
          plain
          icon="el-icon-plus"
          size="mini"
          @click="handleAdd"
          v-hasPermi="['bis:useStorage:add']"
        >新增</el-button>
      </el-col>
      <el-col :span="1.5">
        <el-button
          type="success"
          plain
          icon="el-icon-edit"
          size="mini"
          :disabled="single"
          @click="handleUpdate"
          v-hasPermi="['bis:useStorage:edit']"
        >修改</el-button>
      </el-col>
      <el-col :span="1.5">
        <el-button
          type="danger"
          plain
          icon="el-icon-delete"
          size="mini"
          :disabled="multiple"
          @click="handleDelete"
          v-hasPermi="['bis:useStorage:remove']"
        >删除</el-button>
      </el-col>
      <el-col :span="1.5">
        <el-button
          type="warning"
          plain
          icon="el-icon-download"
          size="mini"
          @click="handleExport"
          v-hasPermi="['bis:useStorage:export']"
        >导出</el-button>
      </el-col>
      <right-toolbar :showSearch.sync="showSearch" @queryTable="getList"></right-toolbar>
    </el-row>
    <el-table v-loading="loading" :data="useStorageList" @selection-change="handleSelectionChange">
      <el-table-column type="selection" width="55" align="center" />
      <el-table-column label="序号" align="center" prop="id" />
      <el-table-column label="数据中心ID" align="center" prop="baseId" />
      <el-table-column label="日期节点" align="center" prop="dateNode" />
      <el-table-column label="存储管理平台" align="center" prop="haveStoragePlatform" />
      <el-table-column label="存储总容量(TB)" align="center" prop="storageCapacityAll" />
      <el-table-column label="SSD存储容量" align="center" prop="storageCapacitySsd" />
      <el-table-column label="存储容量利用率(%)" align="center" prop="storageCapacityRate" />
      <el-table-column label="存储型服务器台数" align="center" prop="serverStorageNum" />
      <el-table-column label="典型单台容量(TB)" align="center" prop="serverStorageCapacity" />
      <el-table-column label="使用了SSD硬盘的台数(台)" align="center" prop="serverStorageSsd" />
      <el-table-column label="典型单台存储型服务器SSD硬盘容量(TB)" align="center" prop="serverStorageSsdCapacity" />
      <el-table-column label="计算型服务器台数" align="center" prop="serverCalculationNum" />
      <el-table-column label="计算型典型单台容量(TB)" align="center" prop="serverCalculationCapacity" />
      <el-table-column label="使用了SSD硬盘的台数" align="center" prop="serverCalculationSsd" />
      <el-table-column label="典型单台计算型服务器SSD硬盘容量(TB)" align="center" prop="serverCalculationSsdCapacity" />
      <el-table-column label="磁盘阵列台数" align="center" prop="serverDiskNum" />
      <el-table-column label="典型单台容量(TB)" align="center" prop="serverDiskCapacity" />
      <el-table-column label="使用了SSD硬盘的台数" align="center" prop="serverSsdNum" />
      <el-table-column label="典型单台磁盘阵列SSD硬盘容量(TB)" align="center" prop="serverSsdCapacity" />
      <el-table-column label="台数、节点数" align="center" prop="serverExternalNumber" />
      <el-table-column label="典型单台/单节点的容量(TB)" align="center" prop="serverExternalCapacity" />
      <el-table-column label="包含固态硬盘的外置存储台数" align="center" prop="serverExternalSsdNumber" />
      <el-table-column label="包含固态硬盘的外置存储单台容量" align="center" prop="serverExternalSsdCapacity" />
      <el-table-column label="排序" align="center" prop="Sort" v-if="false"  />
      <el-table-column label="更新者" align="center" prop="updateUser" v-if="false" />
      <el-table-column label="创建者" align="center" prop="createUser" />
      <el-table-column label="管理员备注" align="center" prop="remark" v-if="false" />
      <el-table-column label="操作" align="center" class-name="small-padding fixed-width">
        <template slot-scope="scope">
          <el-button
            size="mini"
            type="text"
            icon="el-icon-edit"
            @click="handleUpdate(scope.row)"
            v-hasPermi="['bis:useStorage:edit']"
          >修改</el-button>
          <el-button
            size="mini"
            type="text"
            icon="el-icon-delete"
            @click="handleDelete(scope.row)"
            v-hasPermi="['bis:useStorage:remove']"
          >删除</el-button>
        </template>
      </el-table-column>
    </el-table>
    <pagination
      v-show="total>0"
      :total="total"
      :page.sync="queryParams.pageNum"
      :limit.sync="queryParams.pageSize"
      @pagination="getList"
    />
    <!-- 添加或修改存力指标信息对话框 -->
    <el-dialog :title="title" :visible.sync="open" width="500px" append-to-body>
      <el-form ref="form" :model="form" :rules="rules" label-width="80px">
        <el-form-item label="数据中心ID" prop="baseId">
          <el-input v-model="form.baseId" placeholder="请输入数据中心ID" />
        </el-form-item>
        <el-form-item label="日期节点" prop="dateNode">
          <el-input v-model="form.dateNode" placeholder="请输入日期节点" />
        </el-form-item>
        <el-form-item label="存储管理平台" prop="haveStoragePlatform">
          <el-input v-model="form.haveStoragePlatform" placeholder="请输入存储管理平台" />
        </el-form-item>
        <el-form-item label="存储总容量(TB)" prop="storageCapacityAll">
          <el-input v-model="form.storageCapacityAll" placeholder="请输入存储总容量(TB)" />
        </el-form-item>
        <el-form-item label="SSD存储容量" prop="storageCapacitySsd">
          <el-input v-model="form.storageCapacitySsd" placeholder="请输入SSD存储容量" />
        </el-form-item>
        <el-form-item label="存储容量利用率(%)" prop="storageCapacityRate">
          <el-input v-model="form.storageCapacityRate" placeholder="请输入存储容量利用率(%)" />
        </el-form-item>
        <el-form-item label="存储型服务器台数" prop="serverStorageNum">
          <el-input v-model="form.serverStorageNum" placeholder="请输入存储型服务器台数" />
        </el-form-item>
        <el-form-item label="典型单台容量(TB)" prop="serverStorageCapacity">
          <el-input v-model="form.serverStorageCapacity" placeholder="请输入典型单台容量(TB)" />
        </el-form-item>
        <el-form-item label="使用了SSD硬盘的台数(台)" prop="serverStorageSsd">
          <el-input v-model="form.serverStorageSsd" placeholder="请输入使用了SSD硬盘的台数(台)" />
        </el-form-item>
        <el-form-item label="典型单台存储型服务器SSD硬盘容量(TB)" prop="serverStorageSsdCapacity">
          <el-input v-model="form.serverStorageSsdCapacity" placeholder="请输入典型单台存储型服务器SSD硬盘容量(TB)" />
        </el-form-item>
        <el-form-item label="计算型服务器台数" prop="serverCalculationNum">
          <el-input v-model="form.serverCalculationNum" placeholder="请输入计算型服务器台数" />
        </el-form-item>
        <el-form-item label="计算型典型单台容量(TB)" prop="serverCalculationCapacity">
          <el-input v-model="form.serverCalculationCapacity" placeholder="请输入计算型典型单台容量(TB)" />
        </el-form-item>
        <el-form-item label="使用了SSD硬盘的台数" prop="serverCalculationSsd">
          <el-input v-model="form.serverCalculationSsd" placeholder="请输入使用了SSD硬盘的台数" />
        </el-form-item>
        <el-form-item label="典型单台计算型服务器SSD硬盘容量(TB)" prop="serverCalculationSsdCapacity">
          <el-input v-model="form.serverCalculationSsdCapacity" placeholder="请输入典型单台计算型服务器SSD硬盘容量(TB)" />
        </el-form-item>
        <el-form-item label="磁盘阵列台数" prop="serverDiskNum">
          <el-input v-model="form.serverDiskNum" placeholder="请输入磁盘阵列台数" />
        </el-form-item>
        <el-form-item label="典型单台容量(TB)" prop="serverDiskCapacity">
          <el-input v-model="form.serverDiskCapacity" placeholder="请输入典型单台容量(TB)" />
        </el-form-item>
        <el-form-item label="使用了SSD硬盘的台数" prop="serverSsdNum">
          <el-input v-model="form.serverSsdNum" placeholder="请输入使用了SSD硬盘的台数" />
        </el-form-item>
        <el-form-item label="典型单台磁盘阵列SSD硬盘容量(TB)" prop="serverSsdCapacity">
          <el-input v-model="form.serverSsdCapacity" placeholder="请输入典型单台磁盘阵列SSD硬盘容量(TB)" />
        </el-form-item>
        <el-form-item label="台数、节点数" prop="serverExternalNumber">
          <el-input v-model="form.serverExternalNumber" placeholder="请输入台数、节点数" />
        </el-form-item>
        <el-form-item label="典型单台/单节点的容量(TB)" prop="serverExternalCapacity">
          <el-input v-model="form.serverExternalCapacity" placeholder="请输入典型单台/单节点的容量(TB)" />
        </el-form-item>
        <el-form-item label="包含固态硬盘的外置存储台数" prop="serverExternalSsdNumber">
          <el-input v-model="form.serverExternalSsdNumber" placeholder="请输入包含固态硬盘的外置存储台数" />
        </el-form-item>
        <el-form-item label="包含固态硬盘的外置存储单台容量" prop="serverExternalSsdCapacity">
          <el-input v-model="form.serverExternalSsdCapacity" placeholder="请输入包含固态硬盘的外置存储单台容量" />
        </el-form-item>
        <el-form-item label="排序" prop="Sort">
          <el-input v-model="form.Sort" placeholder="请输入排序" />
        </el-form-item>
        <el-form-item label="更新者" prop="updateUser">
          <el-input v-model="form.updateUser" placeholder="请输入更新者" />
        </el-form-item>
        <el-form-item label="创建者" prop="createUser">
          <el-input v-model="form.createUser" placeholder="请输入创建者" />
        </el-form-item>
        <el-form-item label="管理员备注" prop="remark">
          <el-input v-model="form.remark" placeholder="请输入管理员备注" />
        </el-form-item>
      </el-form>
      <div slot="footer" class="dialog-footer">
        <el-button type="primary" @click="submitForm">确 定</el-button>
        <el-button @click="cancel">取 消</el-button>
      </div>
    </el-dialog>
  </div>
</template>
<script>
import { listUseStorage, getUseStorage, delUseStorage, addUseStorage, updateUseStorage } from "@/api/bis/useStorage";
export default {
  name: "UseStorage",
  data() {
    return {
      // 遮罩层
      loading: true,
      // 选中数组
      ids: [],
      // 非单个禁用
      single: true,
      // 非多个禁用
      multiple: true,
      // 显示搜索条件
      showSearch: true,
      // 总条数
      total: 0,
      // 存力指标信息表格数据
      useStorageList: [],
      // 弹出层标题
      title: "",
      // 是否显示弹出层
      open: false,
      // 查询参数
      queryParams: {
        pageNum: 1,
        pageSize: 10,
        baseId: null,
        dateNode: null,
        haveStoragePlatform: null,
        storageCapacityAll: null,
        storageCapacitySsd: null,
        storageCapacityRate: null,
        serverStorageNum: null,
        serverStorageCapacity: null,
        serverStorageSsd: null,
        serverStorageSsdCapacity: null,
        serverCalculationNum: null,
        serverCalculationCapacity: null,
        serverCalculationSsd: null,
        serverCalculationSsdCapacity: null,
        serverDiskNum: null,
        serverDiskCapacity: null,
        serverSsdNum: null,
        serverSsdCapacity: null,
        serverExternalNumber: null,
        serverExternalCapacity: null,
        serverExternalSsdNumber: null,
        serverExternalSsdCapacity: null,
        Sort: null,
        updateUser: null,
        createUser: null,
      },
      // 表单参数
      form: {},
      // 表单校验
      rules: {
        baseId: [
          { required: true, message: "数据中心ID不能为空", trigger: "blur" }
        ],
        dateNode: [
          { required: true, message: "日期节点不能为空", trigger: "blur" }
        ],
        haveStoragePlatform: [
          { required: true, message: "存储管理平台不能为空", trigger: "blur" }
        ],
        createUser: [
          { required: true, message: "创建者不能为空", trigger: "blur" }
        ],
      }
    };
  },
  created() {
    this.getList();
  },
  methods: {
    /** 查询存力指标信息列表 */
    getList() {
      this.loading = true;
      listUseStorage(this.queryParams).then(response => {
        this.useStorageList = response.rows;
        this.total = response.total;
        this.loading = false;
      });
    },
    // 取消按钮
    cancel() {
      this.open = false;
      this.reset();
    },
    // 表单重置
    reset() {
      this.form = {
        id: null,
        baseId: null,
        dateNode: null,
        haveStoragePlatform: null,
        storageCapacityAll: null,
        storageCapacitySsd: null,
        storageCapacityRate: null,
        serverStorageNum: null,
        serverStorageCapacity: null,
        serverStorageSsd: null,
        serverStorageSsdCapacity: null,
        serverCalculationNum: null,
        serverCalculationCapacity: null,
        serverCalculationSsd: null,
        serverCalculationSsdCapacity: null,
        serverDiskNum: null,
        serverDiskCapacity: null,
        serverSsdNum: null,
        serverSsdCapacity: null,
        serverExternalNumber: null,
        serverExternalCapacity: null,
        serverExternalSsdNumber: null,
        serverExternalSsdCapacity: null,
        Sort: null,
        createTime: null,
        updateTime: null,
        updateUser: null,
        createUser: null,
        remark: null
      };
      this.resetForm("form");
    },
    /** 搜索按钮操作 */
    handleQuery() {
      this.queryParams.pageNum = 1;
      this.getList();
    },
    /** 重置按钮操作 */
    resetQuery() {
      this.resetForm("queryForm");
      this.handleQuery();
    },
    // 多选框选中数据
    handleSelectionChange(selection) {
      this.ids = selection.map(item => item.id)
      this.single = selection.length!==1
      this.multiple = !selection.length
    },
    /** 新增按钮操作 */
    handleAdd() {
      this.reset();
      this.open = true;
      this.title = "添加存力指标信息";
    },
    /** 修改按钮操作 */
    handleUpdate(row) {
      this.reset();
      const id = row.id || this.ids
      getUseStorage(id).then(response => {
        this.form = response.data;
        this.open = true;
        this.title = "修改存力指标信息";
      });
    },
    /** 提交按钮 */
    submitForm() {
      this.$refs["form"].validate(valid => {
        if (valid) {
          if (this.form.id != null) {
            updateUseStorage(this.form).then(response => {
              this.$modal.msgSuccess("修改成功");
              this.open = false;
              this.getList();
            });
          } else {
            addUseStorage(this.form).then(response => {
              this.$modal.msgSuccess("新增成功");
              this.open = false;
              this.getList();
            });
          }
        }
      });
    },
    /** 删除按钮操作 */
    handleDelete(row) {
      const ids = row.id || this.ids;
      this.$modal.confirm('是否确认删除存力指标信息编号为"' + ids + '"的数据项?').then(function() {
        return delUseStorage(ids);
      }).then(() => {
        this.getList();
        this.$modal.msgSuccess("删除成功");
      }).catch(() => {});
    },
    /** 导出按钮操作 */
    handleExport() {
      this.download('bis/useStorage/export', {
        ...this.queryParams
      }, `useStorage_${new Date().getTime()}.xlsx`)
    }
  }
};
</script>
cpzidc-ui/src/views/bis/useTransport/index.vue
New file
@@ -0,0 +1,317 @@
<template>
  <div class="app-container">
    <el-form :model="queryParams" ref="queryForm" size="small" :inline="true" v-show="showSearch" label-width="100px">
      <el-form-item label="数据中心ID" prop="baseId">
        <el-input
          v-model="queryParams.baseId"
          placeholder="请输入数据中心"
          clearable
          @keyup.enter.native="handleQuery"
        />
      </el-form-item>
      <el-form-item label="用户" prop="createUser">
        <el-input
          v-model="queryParams.createUser"
          placeholder="请输入创建者"
          clearable
          @keyup.enter.native="handleQuery"
        />
      </el-form-item>
      <el-form-item>
        <el-button type="primary" icon="el-icon-search" size="mini" @click="handleQuery">搜索</el-button>
        <el-button icon="el-icon-refresh" size="mini" @click="resetQuery">重置</el-button>
      </el-form-item>
    </el-form>
    <el-row :gutter="10" class="mb8">
      <el-col :span="1.5">
        <el-button
          type="primary"
          plain
          icon="el-icon-plus"
          size="mini"
          @click="handleAdd"
          v-hasPermi="['bis:useTransport:add']"
        >新增</el-button>
      </el-col>
      <el-col :span="1.5">
        <el-button
          type="success"
          plain
          icon="el-icon-edit"
          size="mini"
          :disabled="single"
          @click="handleUpdate"
          v-hasPermi="['bis:useTransport:edit']"
        >修改</el-button>
      </el-col>
      <el-col :span="1.5">
        <el-button
          type="danger"
          plain
          icon="el-icon-delete"
          size="mini"
          :disabled="multiple"
          @click="handleDelete"
          v-hasPermi="['bis:useTransport:remove']"
        >删除</el-button>
      </el-col>
      <el-col :span="1.5">
        <el-button
          type="warning"
          plain
          icon="el-icon-download"
          size="mini"
          @click="handleExport"
          v-hasPermi="['bis:useTransport:export']"
        >导出</el-button>
      </el-col>
      <right-toolbar :showSearch.sync="showSearch" @queryTable="getList"></right-toolbar>
    </el-row>
    <el-table v-loading="loading" :data="useTransportList" @selection-change="handleSelectionChange">
      <el-table-column type="selection" width="55" align="center" />
      <el-table-column label="序号" align="center" prop="id" />
      <el-table-column label="数据中心ID" align="center" prop="baseId" />
      <el-table-column label="日期节点" align="center" prop="dateNode" />
      <el-table-column label="算力中心网络出口带宽" align="center" prop="idcBandwidthExport" />
      <el-table-column label="算力中心内IB技术部署率" align="center" prop="idcIbRate" />
      <el-table-column label="算力中心内RoCE等技术部署率" align="center" prop="idcRoceRate" />
      <el-table-column label="算力中心内全光交换技术部署率" align="center" prop="idcOpticalRate" />
      <el-table-column label="排序" align="center" prop="Sort" v-if="false"/>
      <el-table-column label="更新者" align="center" prop="updateUser" v-if="false"/>
      <el-table-column label="提交者" align="center" prop="createUser" />
      <el-table-column label="管理员备注" align="center" prop="remark" v-if="false" />
      <el-table-column label="操作" align="center" class-name="small-padding fixed-width">
        <template slot-scope="scope">
          <el-button
            size="mini"
            type="text"
            icon="el-icon-edit"
            @click="handleUpdate(scope.row)"
            v-hasPermi="['bis:useTransport:edit']"
          >修改</el-button>
          <el-button
            size="mini"
            type="text"
            icon="el-icon-delete"
            @click="handleDelete(scope.row)"
            v-hasPermi="['bis:useTransport:remove']"
          >删除</el-button>
        </template>
      </el-table-column>
    </el-table>
    <pagination
      v-show="total>0"
      :total="total"
      :page.sync="queryParams.pageNum"
      :limit.sync="queryParams.pageSize"
      @pagination="getList"
    />
    <!-- 添加或修改运力指标信息对话框 -->
    <el-dialog :title="title" :visible.sync="open" width="500px" append-to-body>
      <el-form ref="form" :model="form" :rules="rules" label-width="80px">
        <el-form-item label="数据中心ID" prop="baseId">
          <el-input v-model="form.baseId" placeholder="请输入数据中心ID" />
        </el-form-item>
        <el-form-item label="日期节点" prop="dateNode">
          <el-input v-model="form.dateNode" placeholder="请输入日期节点" />
        </el-form-item>
        <el-form-item label="算力中心网络出口带宽" prop="idcBandwidthExport">
          <el-input v-model="form.idcBandwidthExport" placeholder="请输入算力中心网络出口带宽" />
        </el-form-item>
        <el-form-item label="算力中心内IB技术部署率" prop="idcIbRate">
          <el-input v-model="form.idcIbRate" placeholder="请输入算力中心内IB技术部署率" />
        </el-form-item>
        <el-form-item label="算力中心内RoCE等技术部署率" prop="idcRoceRate">
          <el-input v-model="form.idcRoceRate" placeholder="请输入算力中心内RoCE等技术部署率" />
        </el-form-item>
        <el-form-item label="算力中心内全光交换技术部署率" prop="idcOpticalRate">
          <el-input v-model="form.idcOpticalRate" placeholder="请输入算力中心内全光交换技术部署率" />
        </el-form-item>
        <el-form-item label="排序" prop="Sort">
          <el-input v-model="form.Sort" placeholder="请输入排序" />
        </el-form-item>
        <el-form-item label="更新者" prop="updateUser">
          <el-input v-model="form.updateUser" placeholder="请输入更新者" />
        </el-form-item>
        <el-form-item label="创建者" prop="createUser">
          <el-input v-model="form.createUser" placeholder="请输入创建者" />
        </el-form-item>
        <el-form-item label="管理员备注" prop="remark">
          <el-input v-model="form.remark" placeholder="请输入管理员备注" />
        </el-form-item>
      </el-form>
      <div slot="footer" class="dialog-footer">
        <el-button type="primary" @click="submitForm">确 定</el-button>
        <el-button @click="cancel">取 消</el-button>
      </div>
    </el-dialog>
  </div>
</template>
<script>
import { listUseTransport, getUseTransport, delUseTransport, addUseTransport, updateUseTransport } from "@/api/bis/useTransport";
export default {
  name: "UseTransport",
  data() {
    return {
      // 遮罩层
      loading: true,
      // 选中数组
      ids: [],
      // 非单个禁用
      single: true,
      // 非多个禁用
      multiple: true,
      // 显示搜索条件
      showSearch: true,
      // 总条数
      total: 0,
      // 运力指标信息表格数据
      useTransportList: [],
      // 弹出层标题
      title: "",
      // 是否显示弹出层
      open: false,
      // 查询参数
      queryParams: {
        pageNum: 1,
        pageSize: 10,
        baseId: null,
        dateNode: null,
        idcBandwidthExport: null,
        idcIbRate: null,
        idcRoceRate: null,
        idcOpticalRate: null,
        Sort: null,
        updateUser: null,
        createUser: null,
      },
      // 表单参数
      form: {},
      // 表单校验
      rules: {
        baseId: [
          { required: true, message: "数据中心ID不能为空", trigger: "blur" }
        ],
        dateNode: [
          { required: true, message: "日期节点不能为空", trigger: "blur" }
        ],
        createUser: [
          { required: true, message: "创建者不能为空", trigger: "blur" }
        ],
      }
    };
  },
  created() {
    this.getList();
  },
  methods: {
    /** 查询运力指标信息列表 */
    getList() {
      this.loading = true;
      listUseTransport(this.queryParams).then(response => {
        this.useTransportList = response.rows;
        this.total = response.total;
        this.loading = false;
      });
    },
    // 取消按钮
    cancel() {
      this.open = false;
      this.reset();
    },
    // 表单重置
    reset() {
      this.form = {
        id: null,
        baseId: null,
        dateNode: null,
        idcBandwidthExport: null,
        idcIbRate: null,
        idcRoceRate: null,
        idcOpticalRate: null,
        Sort: null,
        createTime: null,
        updateTime: null,
        updateUser: null,
        createUser: null,
        remark: null
      };
      this.resetForm("form");
    },
    /** 搜索按钮操作 */
    handleQuery() {
      this.queryParams.pageNum = 1;
      this.getList();
    },
    /** 重置按钮操作 */
    resetQuery() {
      this.resetForm("queryForm");
      this.handleQuery();
    },
    // 多选框选中数据
    handleSelectionChange(selection) {
      this.ids = selection.map(item => item.id)
      this.single = selection.length!==1
      this.multiple = !selection.length
    },
    /** 新增按钮操作 */
    handleAdd() {
      this.reset();
      this.open = true;
      this.title = "添加运力指标信息";
    },
    /** 修改按钮操作 */
    handleUpdate(row) {
      this.reset();
      const id = row.id || this.ids
      getUseTransport(id).then(response => {
        this.form = response.data;
        this.open = true;
        this.title = "修改运力指标信息";
      });
    },
    /** 提交按钮 */
    submitForm() {
      this.$refs["form"].validate(valid => {
        if (valid) {
          if (this.form.id != null) {
            updateUseTransport(this.form).then(response => {
              this.$modal.msgSuccess("修改成功");
              this.open = false;
              this.getList();
            });
          } else {
            addUseTransport(this.form).then(response => {
              this.$modal.msgSuccess("新增成功");
              this.open = false;
              this.getList();
            });
          }
        }
      });
    },
    /** 删除按钮操作 */
    handleDelete(row) {
      const ids = row.id || this.ids;
      this.$modal.confirm('是否确认删除运力指标信息编号为"' + ids + '"的数据项?').then(function() {
        return delUseTransport(ids);
      }).then(() => {
        this.getList();
        this.$modal.msgSuccess("删除成功");
      }).catch(() => {});
    },
    /** 导出按钮操作 */
    handleExport() {
      this.download('bis/useTransport/export', {
        ...this.queryParams
      }, `useTransport_${new Date().getTime()}.xlsx`)
    }
  }
};
</script>
cpzidc-ui/src/views/login.vue
@@ -56,7 +56,7 @@
    </el-form>
    <!--  底部  -->
    <div class="el-login-footer">
      <span>Copyright © 2018-2024 ruoyi.vip All Rights Reserved.</span>
      <span>Copyright © 2018-2024 www.cpz.org.cn All Rights Reserved.</span>
    </div>
  </div>
</template>
@@ -161,7 +161,7 @@
  justify-content: center;
  align-items: center;
  height: 100%;
  background-image: url("../assets/images/login-background.jpg");
  background-image: url("../assets/images/login-background.png");
  background-size: cover;
}
.title {
cpzidc-ui/src/views/register.vue
@@ -152,7 +152,7 @@
  justify-content: center;
  align-items: center;
  height: 100%;
  background-image: url("../assets/images/login-background.jpg");
  background-image: url("../assets/images/login-background.png");
  background-size: cover;
}
.title {