Compare commits
2 Commits
746ed33250
...
143adbc822
| Author | SHA1 | Date | |
|---|---|---|---|
| 143adbc822 | |||
| b0ac0030b2 |
8
.idea/.gitignore
generated
vendored
Normal file
8
.idea/.gitignore
generated
vendored
Normal file
@ -0,0 +1,8 @@
|
||||
# Default ignored files
|
||||
/shelf/
|
||||
/workspace.xml
|
||||
# Editor-based HTTP Client requests
|
||||
/httpRequests/
|
||||
# Datasource local storage ignored files
|
||||
/dataSources/
|
||||
/dataSources.local.xml
|
||||
28
.idea/compiler.xml
generated
Normal file
28
.idea/compiler.xml
generated
Normal file
@ -0,0 +1,28 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project version="4">
|
||||
<component name="CompilerConfiguration">
|
||||
<annotationProcessing>
|
||||
<profile default="true" name="Default" enabled="true" />
|
||||
<profile name="Maven default annotation processors profile" enabled="true">
|
||||
<sourceOutputDir name="target/generated-sources/annotations" />
|
||||
<sourceTestOutputDir name="target/generated-test-sources/test-annotations" />
|
||||
<outputRelativeToContentRoot value="true" />
|
||||
<module name="neu-carbon-bid" />
|
||||
<module name="neu-carbon-scm" />
|
||||
<module name="neu-carbon-wms" />
|
||||
<module name="neu-admin" />
|
||||
<module name="neu-carbon-mes" />
|
||||
<module name="neu-generator" />
|
||||
<module name="neu-quartz" />
|
||||
<module name="neu-carbon-footprint" />
|
||||
<module name="neu-common-biz" />
|
||||
<module name="neu-framework" />
|
||||
<module name="neu-system" />
|
||||
<module name="neu-carbon-report" />
|
||||
<module name="neu-common" />
|
||||
<module name="neu-carbon-mapper" />
|
||||
<module name="neu-carbon-service" />
|
||||
</profile>
|
||||
</annotationProcessing>
|
||||
</component>
|
||||
</project>
|
||||
12
.idea/dataSources.xml
generated
Normal file
12
.idea/dataSources.xml
generated
Normal file
@ -0,0 +1,12 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project version="4">
|
||||
<component name="DataSourceManagerImpl" format="xml" multifile-model="true">
|
||||
<data-source source="LOCAL" name="carbon@localhost" uuid="a584d99b-5513-4f63-b629-399a6af8f85b">
|
||||
<driver-ref>mysql.8</driver-ref>
|
||||
<synchronize>true</synchronize>
|
||||
<jdbc-driver>com.mysql.cj.jdbc.Driver</jdbc-driver>
|
||||
<jdbc-url>jdbc:mysql://localhost:3306/carbon</jdbc-url>
|
||||
<working-dir>$ProjectFileDir$</working-dir>
|
||||
</data-source>
|
||||
</component>
|
||||
</project>
|
||||
37
.idea/encodings.xml
generated
Normal file
37
.idea/encodings.xml
generated
Normal file
@ -0,0 +1,37 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project version="4">
|
||||
<component name="Encoding">
|
||||
<file url="file://$PROJECT_DIR$/neu-admin/src/main/java" charset="UTF-8" />
|
||||
<file url="file://$PROJECT_DIR$/neu-admin/src/main/resources" charset="UTF-8" />
|
||||
<file url="file://$PROJECT_DIR$/neu-carbon-bid/src/main/java" charset="UTF-8" />
|
||||
<file url="file://$PROJECT_DIR$/neu-carbon-bid/src/main/resources" charset="UTF-8" />
|
||||
<file url="file://$PROJECT_DIR$/neu-carbon-footprint/src/main/java" charset="UTF-8" />
|
||||
<file url="file://$PROJECT_DIR$/neu-carbon-footprint/src/main/resources" charset="UTF-8" />
|
||||
<file url="file://$PROJECT_DIR$/neu-carbon-mapper/src/main/java" charset="UTF-8" />
|
||||
<file url="file://$PROJECT_DIR$/neu-carbon-mapper/src/main/resources" charset="UTF-8" />
|
||||
<file url="file://$PROJECT_DIR$/neu-carbon-mes/src/main/java" charset="UTF-8" />
|
||||
<file url="file://$PROJECT_DIR$/neu-carbon-mes/src/main/resources" charset="UTF-8" />
|
||||
<file url="file://$PROJECT_DIR$/neu-carbon-report/src/main/java" charset="UTF-8" />
|
||||
<file url="file://$PROJECT_DIR$/neu-carbon-report/src/main/resources" charset="UTF-8" />
|
||||
<file url="file://$PROJECT_DIR$/neu-carbon-scm/src/main/java" charset="UTF-8" />
|
||||
<file url="file://$PROJECT_DIR$/neu-carbon-scm/src/main/resources" charset="UTF-8" />
|
||||
<file url="file://$PROJECT_DIR$/neu-carbon-service/src/main/java" charset="UTF-8" />
|
||||
<file url="file://$PROJECT_DIR$/neu-carbon-service/src/main/resources" charset="UTF-8" />
|
||||
<file url="file://$PROJECT_DIR$/neu-carbon-wms/src/main/java" charset="UTF-8" />
|
||||
<file url="file://$PROJECT_DIR$/neu-carbon-wms/src/main/resources" charset="UTF-8" />
|
||||
<file url="file://$PROJECT_DIR$/neu-common-biz/src/main/java" charset="UTF-8" />
|
||||
<file url="file://$PROJECT_DIR$/neu-common-biz/src/main/resources" charset="UTF-8" />
|
||||
<file url="file://$PROJECT_DIR$/neu-common/src/main/java" charset="UTF-8" />
|
||||
<file url="file://$PROJECT_DIR$/neu-common/src/main/resources" charset="UTF-8" />
|
||||
<file url="file://$PROJECT_DIR$/neu-framework/src/main/java" charset="UTF-8" />
|
||||
<file url="file://$PROJECT_DIR$/neu-framework/src/main/resources" charset="UTF-8" />
|
||||
<file url="file://$PROJECT_DIR$/neu-generator/src/main/java" charset="UTF-8" />
|
||||
<file url="file://$PROJECT_DIR$/neu-generator/src/main/resources" charset="UTF-8" />
|
||||
<file url="file://$PROJECT_DIR$/neu-quartz/src/main/java" charset="UTF-8" />
|
||||
<file url="file://$PROJECT_DIR$/neu-quartz/src/main/resources" charset="UTF-8" />
|
||||
<file url="file://$PROJECT_DIR$/neu-system/src/main/java" charset="UTF-8" />
|
||||
<file url="file://$PROJECT_DIR$/neu-system/src/main/resources" charset="UTF-8" />
|
||||
<file url="file://$PROJECT_DIR$/src/main/java" charset="UTF-8" />
|
||||
<file url="file://$PROJECT_DIR$/src/main/resources" charset="UTF-8" />
|
||||
</component>
|
||||
</project>
|
||||
25
.idea/jarRepositories.xml
generated
Normal file
25
.idea/jarRepositories.xml
generated
Normal file
@ -0,0 +1,25 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project version="4">
|
||||
<component name="RemoteRepositoriesConfiguration">
|
||||
<remote-repository>
|
||||
<option name="id" value="central" />
|
||||
<option name="name" value="Central Repository" />
|
||||
<option name="url" value="https://repo.maven.apache.org/maven2" />
|
||||
</remote-repository>
|
||||
<remote-repository>
|
||||
<option name="id" value="public" />
|
||||
<option name="name" value="aliyun nexus" />
|
||||
<option name="url" value="http://maven.aliyun.com/nexus/content/groups/public/" />
|
||||
</remote-repository>
|
||||
<remote-repository>
|
||||
<option name="id" value="central" />
|
||||
<option name="name" value="Maven Central repository" />
|
||||
<option name="url" value="https://repo1.maven.org/maven2" />
|
||||
</remote-repository>
|
||||
<remote-repository>
|
||||
<option name="id" value="jboss.community" />
|
||||
<option name="name" value="JBoss Community repository" />
|
||||
<option name="url" value="https://repository.jboss.org/nexus/content/repositories/public/" />
|
||||
</remote-repository>
|
||||
</component>
|
||||
</project>
|
||||
12
.idea/misc.xml
generated
Normal file
12
.idea/misc.xml
generated
Normal file
@ -0,0 +1,12 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project version="4">
|
||||
<component name="ExternalStorageConfigurationManager" enabled="true" />
|
||||
<component name="MavenProjectsManager">
|
||||
<option name="originalFiles">
|
||||
<list>
|
||||
<option value="$PROJECT_DIR$/pom.xml" />
|
||||
</list>
|
||||
</option>
|
||||
</component>
|
||||
<component name="ProjectRootManager" version="2" languageLevel="JDK_1_8" default="true" project-jdk-name="1.8" project-jdk-type="JavaSDK" />
|
||||
</project>
|
||||
7
.idea/sqldialects.xml
generated
Normal file
7
.idea/sqldialects.xml
generated
Normal file
@ -0,0 +1,7 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project version="4">
|
||||
<component name="SqlDialectMappings">
|
||||
<file url="file://$PROJECT_DIR$/neu-carbon-mes/src/main/resources/mapper/mes/MesFactoryModelMapper.xml" dialect="GenericSQL" />
|
||||
<file url="PROJECT" dialect="MySQL" />
|
||||
</component>
|
||||
</project>
|
||||
6
.idea/vcs.xml
generated
Normal file
6
.idea/vcs.xml
generated
Normal file
@ -0,0 +1,6 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project version="4">
|
||||
<component name="VcsDirectoryMappings">
|
||||
<mapping directory="" vcs="Git" />
|
||||
</component>
|
||||
</project>
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -28,11 +28,11 @@ import com.neu.common.core.page.TableDataInfo;
|
||||
* 能效检测点Controller
|
||||
*
|
||||
* @author neuedu
|
||||
* @date 2022-07-22
|
||||
* @date 2024-11-16
|
||||
*/
|
||||
@Api(tags = {"能效检测点"})
|
||||
@RestController
|
||||
@RequestMapping("/cfElectric/checkpoint")
|
||||
@RequestMapping("/footprint/checkpoint")
|
||||
public class CfElectricCheckpointController extends BaseController
|
||||
{
|
||||
@Autowired
|
||||
@ -64,7 +64,7 @@ public class CfElectricCheckpointController extends BaseController
|
||||
@DynamicParameter(name = "code", value = "状态码,200正确,其他错误"),
|
||||
@DynamicParameter(name = "msg", value = "文件名")
|
||||
})
|
||||
@PreAuthorize("@ss.hasPermi('cfElectric:checkpoint:export')")
|
||||
@PreAuthorize("@ss.hasPermi('footprint:checkpoint:export')")
|
||||
@Log(title = "能效检测点", businessType = BusinessType.EXPORT)
|
||||
@GetMapping("/export")
|
||||
public AjaxResult export(CfElectricCheckpoint cfElectricCheckpoint)
|
||||
@ -97,7 +97,7 @@ public class CfElectricCheckpointController extends BaseController
|
||||
@DynamicParameter(name = "code", value = "状态码,200正确,其他错误"),
|
||||
@DynamicParameter(name = "msg", value = "返回消息内容")
|
||||
})
|
||||
@PreAuthorize("@ss.hasPermi('cfElectric:checkpoint:add')")
|
||||
@PreAuthorize("@ss.hasPermi('footprint:checkpoint:add')")
|
||||
@Log(title = "能效检测点", businessType = BusinessType.INSERT)
|
||||
@PostMapping
|
||||
public AjaxResult add(@RequestBody CfElectricCheckpoint cfElectricCheckpoint)
|
||||
@ -113,7 +113,7 @@ public class CfElectricCheckpointController extends BaseController
|
||||
@DynamicParameter(name = "code", value = "状态码,200正确,其他错误"),
|
||||
@DynamicParameter(name = "msg", value = "返回消息内容")
|
||||
})
|
||||
@PreAuthorize("@ss.hasPermi('cfElectric:checkpoint:edit')")
|
||||
@PreAuthorize("@ss.hasPermi('footprint:checkpoint:edit')")
|
||||
@Log(title = "能效检测点", businessType = BusinessType.UPDATE)
|
||||
@PutMapping
|
||||
public AjaxResult edit(@RequestBody CfElectricCheckpoint cfElectricCheckpoint)
|
||||
@ -129,7 +129,7 @@ public class CfElectricCheckpointController extends BaseController
|
||||
@DynamicParameter(name = "code", value = "状态码,200正确,其他错误"),
|
||||
@DynamicParameter(name = "msg", value = "返回消息内容")
|
||||
})
|
||||
@PreAuthorize("@ss.hasPermi('cfElectric:checkpoint:remove')")
|
||||
@PreAuthorize("@ss.hasPermi('footprint:checkpoint:remove')")
|
||||
@Log(title = "能效检测点", businessType = BusinessType.DELETE)
|
||||
@DeleteMapping("/{ids}")
|
||||
public AjaxResult remove(@PathVariable Long[] ids)
|
||||
|
||||
@ -0,0 +1,121 @@
|
||||
package com.neu.carbon.footprint.domain;
|
||||
|
||||
import org.apache.commons.lang3.builder.ToStringBuilder;
|
||||
import org.apache.commons.lang3.builder.ToStringStyle;
|
||||
import com.neu.common.annotation.Excel;
|
||||
import com.neu.common.core.domain.BaseEntity;
|
||||
|
||||
import io.swagger.annotations.ApiModel;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
|
||||
/**
|
||||
* 能效检测点对象 cf_electric_checkpoint
|
||||
*
|
||||
* @author neuedu
|
||||
* @date 2024-11-16
|
||||
*/
|
||||
@ApiModel("能效检测点")
|
||||
public class CfElectricCheckpoint extends BaseEntity
|
||||
{
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/** 编号 */
|
||||
@ApiModelProperty("编号")
|
||||
@Excel(name = "编号")
|
||||
private Long id;
|
||||
|
||||
/** 站点名称 */
|
||||
@ApiModelProperty("站点名称")
|
||||
@Excel(name = "站点名称")
|
||||
private String name;
|
||||
|
||||
/** 站点地址 */
|
||||
@ApiModelProperty("站点地址")
|
||||
@Excel(name = "站点地址")
|
||||
private String address;
|
||||
|
||||
/** 实时功率 */
|
||||
@ApiModelProperty("实时功率")
|
||||
@Excel(name = "实时功率")
|
||||
private Long rtPower;
|
||||
|
||||
/** 实时电压 */
|
||||
@ApiModelProperty("实时电压")
|
||||
@Excel(name = "实时电压")
|
||||
private Long rtVoltage;
|
||||
|
||||
/** 状态 0未过载 1已过载 */
|
||||
@ApiModelProperty("状态 0未过载 1已过载")
|
||||
@Excel(name = "状态 0未过载 1已过载")
|
||||
private String status;
|
||||
|
||||
public void setId(Long id)
|
||||
{
|
||||
this.id = id;
|
||||
}
|
||||
|
||||
public Long getId()
|
||||
{
|
||||
return id;
|
||||
}
|
||||
public void setName(String name)
|
||||
{
|
||||
this.name = name;
|
||||
}
|
||||
|
||||
public String getName()
|
||||
{
|
||||
return name;
|
||||
}
|
||||
public void setAddress(String address)
|
||||
{
|
||||
this.address = address;
|
||||
}
|
||||
|
||||
public String getAddress()
|
||||
{
|
||||
return address;
|
||||
}
|
||||
public void setRtPower(Long rtPower)
|
||||
{
|
||||
this.rtPower = rtPower;
|
||||
}
|
||||
|
||||
public Long getRtPower()
|
||||
{
|
||||
return rtPower;
|
||||
}
|
||||
public void setRtVoltage(Long rtVoltage)
|
||||
{
|
||||
this.rtVoltage = rtVoltage;
|
||||
}
|
||||
|
||||
public Long getRtVoltage()
|
||||
{
|
||||
return rtVoltage;
|
||||
}
|
||||
public void setStatus(String status)
|
||||
{
|
||||
this.status = status;
|
||||
}
|
||||
|
||||
public String getStatus()
|
||||
{
|
||||
return status;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
|
||||
.append("id", getId())
|
||||
.append("name", getName())
|
||||
.append("address", getAddress())
|
||||
.append("rtPower", getRtPower())
|
||||
.append("rtVoltage", getRtVoltage())
|
||||
.append("status", getStatus())
|
||||
.append("remark", getRemark())
|
||||
.append("createBy", getCreateBy())
|
||||
.append("createTime", getCreateTime())
|
||||
.toString();
|
||||
}
|
||||
}
|
||||
@ -0,0 +1,61 @@
|
||||
package com.neu.carbon.footprint.mapper;
|
||||
|
||||
import java.util.List;
|
||||
import com.neu.carbon.footprint.domain.CfElectricCheckpoint;
|
||||
|
||||
/**
|
||||
* 能效检测点Mapper接口
|
||||
*
|
||||
* @author neuedu
|
||||
* @date 2024-11-16
|
||||
*/
|
||||
public interface CfElectricCheckpointMapper
|
||||
{
|
||||
/**
|
||||
* 查询能效检测点
|
||||
*
|
||||
* @param id 能效检测点ID
|
||||
* @return 能效检测点
|
||||
*/
|
||||
public CfElectricCheckpoint selectCfElectricCheckpointById(Long id);
|
||||
|
||||
/**
|
||||
* 查询能效检测点列表
|
||||
*
|
||||
* @param cfElectricCheckpoint 能效检测点
|
||||
* @return 能效检测点集合
|
||||
*/
|
||||
public List<CfElectricCheckpoint> selectCfElectricCheckpointList(CfElectricCheckpoint cfElectricCheckpoint);
|
||||
|
||||
/**
|
||||
* 新增能效检测点
|
||||
*
|
||||
* @param cfElectricCheckpoint 能效检测点
|
||||
* @return 结果
|
||||
*/
|
||||
public int insertCfElectricCheckpoint(CfElectricCheckpoint cfElectricCheckpoint);
|
||||
|
||||
/**
|
||||
* 修改能效检测点
|
||||
*
|
||||
* @param cfElectricCheckpoint 能效检测点
|
||||
* @return 结果
|
||||
*/
|
||||
public int updateCfElectricCheckpoint(CfElectricCheckpoint cfElectricCheckpoint);
|
||||
|
||||
/**
|
||||
* 删除能效检测点
|
||||
*
|
||||
* @param id 能效检测点ID
|
||||
* @return 结果
|
||||
*/
|
||||
public int deleteCfElectricCheckpointById(Long id);
|
||||
|
||||
/**
|
||||
* 批量删除能效检测点
|
||||
*
|
||||
* @param ids 需要删除的数据ID
|
||||
* @return 结果
|
||||
*/
|
||||
public int deleteCfElectricCheckpointByIds(Long[] ids);
|
||||
}
|
||||
@ -0,0 +1,61 @@
|
||||
package com.neu.carbon.footprint.service;
|
||||
|
||||
import java.util.List;
|
||||
import com.neu.carbon.footprint.domain.CfElectricCheckpoint;
|
||||
|
||||
/**
|
||||
* 能效检测点Service接口
|
||||
*
|
||||
* @author neuedu
|
||||
* @date 2024-11-16
|
||||
*/
|
||||
public interface ICfElectricCheckpointService
|
||||
{
|
||||
/**
|
||||
* 查询能效检测点
|
||||
*
|
||||
* @param id 能效检测点ID
|
||||
* @return 能效检测点
|
||||
*/
|
||||
public CfElectricCheckpoint selectCfElectricCheckpointById(Long id);
|
||||
|
||||
/**
|
||||
* 查询能效检测点列表
|
||||
*
|
||||
* @param cfElectricCheckpoint 能效检测点
|
||||
* @return 能效检测点集合
|
||||
*/
|
||||
public List<CfElectricCheckpoint> selectCfElectricCheckpointList(CfElectricCheckpoint cfElectricCheckpoint);
|
||||
|
||||
/**
|
||||
* 新增能效检测点
|
||||
*
|
||||
* @param cfElectricCheckpoint 能效检测点
|
||||
* @return 结果
|
||||
*/
|
||||
public int insertCfElectricCheckpoint(CfElectricCheckpoint cfElectricCheckpoint);
|
||||
|
||||
/**
|
||||
* 修改能效检测点
|
||||
*
|
||||
* @param cfElectricCheckpoint 能效检测点
|
||||
* @return 结果
|
||||
*/
|
||||
public int updateCfElectricCheckpoint(CfElectricCheckpoint cfElectricCheckpoint);
|
||||
|
||||
/**
|
||||
* 批量删除能效检测点
|
||||
*
|
||||
* @param ids 需要删除的能效检测点ID
|
||||
* @return 结果
|
||||
*/
|
||||
public int deleteCfElectricCheckpointByIds(Long[] ids);
|
||||
|
||||
/**
|
||||
* 删除能效检测点信息
|
||||
*
|
||||
* @param id 能效检测点ID
|
||||
* @return 结果
|
||||
*/
|
||||
public int deleteCfElectricCheckpointById(Long id);
|
||||
}
|
||||
@ -0,0 +1,95 @@
|
||||
package com.neu.carbon.footprint.service.impl;
|
||||
|
||||
import java.util.List;
|
||||
import com.neu.common.utils.DateUtils;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.stereotype.Service;
|
||||
import com.neu.carbon.footprint.mapper.CfElectricCheckpointMapper;
|
||||
import com.neu.carbon.footprint.domain.CfElectricCheckpoint;
|
||||
import com.neu.carbon.footprint.service.ICfElectricCheckpointService;
|
||||
|
||||
/**
|
||||
* 能效检测点Service业务层处理
|
||||
*
|
||||
* @author neuedu
|
||||
* @date 2024-11-16
|
||||
*/
|
||||
@Service
|
||||
public class CfElectricCheckpointServiceImpl implements ICfElectricCheckpointService
|
||||
{
|
||||
@Autowired
|
||||
private CfElectricCheckpointMapper cfElectricCheckpointMapper;
|
||||
|
||||
/**
|
||||
* 查询能效检测点
|
||||
*
|
||||
* @param id 能效检测点ID
|
||||
* @return 能效检测点
|
||||
*/
|
||||
@Override
|
||||
public CfElectricCheckpoint selectCfElectricCheckpointById(Long id)
|
||||
{
|
||||
return cfElectricCheckpointMapper.selectCfElectricCheckpointById(id);
|
||||
}
|
||||
|
||||
/**
|
||||
* 查询能效检测点列表
|
||||
*
|
||||
* @param cfElectricCheckpoint 能效检测点
|
||||
* @return 能效检测点
|
||||
*/
|
||||
@Override
|
||||
public List<CfElectricCheckpoint> selectCfElectricCheckpointList(CfElectricCheckpoint cfElectricCheckpoint)
|
||||
{
|
||||
return cfElectricCheckpointMapper.selectCfElectricCheckpointList(cfElectricCheckpoint);
|
||||
}
|
||||
|
||||
/**
|
||||
* 新增能效检测点
|
||||
*
|
||||
* @param cfElectricCheckpoint 能效检测点
|
||||
* @return 结果
|
||||
*/
|
||||
@Override
|
||||
public int insertCfElectricCheckpoint(CfElectricCheckpoint cfElectricCheckpoint)
|
||||
{
|
||||
cfElectricCheckpoint.setCreateTime(DateUtils.getNowDate());
|
||||
return cfElectricCheckpointMapper.insertCfElectricCheckpoint(cfElectricCheckpoint);
|
||||
}
|
||||
|
||||
/**
|
||||
* 修改能效检测点
|
||||
*
|
||||
* @param cfElectricCheckpoint 能效检测点
|
||||
* @return 结果
|
||||
*/
|
||||
@Override
|
||||
public int updateCfElectricCheckpoint(CfElectricCheckpoint cfElectricCheckpoint)
|
||||
{
|
||||
return cfElectricCheckpointMapper.updateCfElectricCheckpoint(cfElectricCheckpoint);
|
||||
}
|
||||
|
||||
/**
|
||||
* 批量删除能效检测点
|
||||
*
|
||||
* @param ids 需要删除的能效检测点ID
|
||||
* @return 结果
|
||||
*/
|
||||
@Override
|
||||
public int deleteCfElectricCheckpointByIds(Long[] ids)
|
||||
{
|
||||
return cfElectricCheckpointMapper.deleteCfElectricCheckpointByIds(ids);
|
||||
}
|
||||
|
||||
/**
|
||||
* 删除能效检测点信息
|
||||
*
|
||||
* @param id 能效检测点ID
|
||||
* @return 结果
|
||||
*/
|
||||
@Override
|
||||
public int deleteCfElectricCheckpointById(Long id)
|
||||
{
|
||||
return cfElectricCheckpointMapper.deleteCfElectricCheckpointById(id);
|
||||
}
|
||||
}
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Some files were not shown because too many files have changed in this diff Show More
Loading…
x
Reference in New Issue
Block a user