feat(ems): 添加告警、能耗记录和能源费率模块- 新增告警实体类 EmsAlert 及相关业务对象、控制器、映射器和服务实现

- 新增能耗记录实体类 EmsEnergyConsumption 及相关业务对象、控制器、映射器和服务实现
- 新增能源费率实体类 EmsEnergyRate 及相关业务对象、控制器、映射器和服务实现
- 实现各模块的基础 CRUD 功能,包括分页查询、导出 Excel 等操作
- 配置 MyBatis 映射文件及逻辑删除支持
This commit is contained in:
2025-09-28 09:54:42 +08:00
parent 32059525f0
commit 16776ffdc8
51 changed files with 3058 additions and 1 deletions

View File

@@ -0,0 +1,22 @@
<?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.klp.ems.mapper.EmsLocationMapper">
<resultMap type="com.klp.ems.domain.EmsLocation" id="EmsLocationResult">
<result property="locationId" column="location_id"/>
<result property="name" column="name"/>
<result property="parentId" column="parent_id"/>
<result property="description" column="description"/>
<result property="address" column="address"/>
<result property="createBy" column="create_by"/>
<result property="updateBy" column="update_by"/>
<result property="createTime" column="create_time"/>
<result property="updateTime" column="update_time"/>
<result property="delFlag" column="del_flag"/>
<result property="remark" column="remark"/>
</resultMap>
</mapper>