谐波普测模块修改
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
package com.njcn.process.mapper;
|
||||
|
||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||
import com.njcn.process.pojo.po.RSurveyCyclePO;
|
||||
|
||||
/**
|
||||
*
|
||||
* Description:
|
||||
* 接口文档访问地址:http://serverIP:port/swagger-ui.html
|
||||
* Date: 2023/3/13 9:23【需求编号】
|
||||
*
|
||||
* @author clam
|
||||
* @version V1.0.0
|
||||
*/
|
||||
public interface RSurveyCycleMapper extends BaseMapper<RSurveyCyclePO> {
|
||||
}
|
||||
@@ -0,0 +1,17 @@
|
||||
package com.njcn.process.mapper;
|
||||
|
||||
import com.github.jeffreyning.mybatisplus.base.MppBaseMapper;
|
||||
import com.njcn.process.pojo.po.RSurveyPlanConfigPO;
|
||||
|
||||
/**
|
||||
*
|
||||
* Description:
|
||||
* 接口文档访问地址:http://serverIP:port/swagger-ui.html
|
||||
* Date: 2023/3/9 10:13【需求编号】
|
||||
*
|
||||
* @author clam
|
||||
* @version V1.0.0
|
||||
*/
|
||||
public interface RSurveyPlanConfigMapper extends MppBaseMapper<RSurveyPlanConfigPO> {
|
||||
|
||||
}
|
||||
@@ -0,0 +1,43 @@
|
||||
package com.njcn.process.mapper;
|
||||
|
||||
|
||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
|
||||
import com.njcn.device.pms.pojo.dto.PmsStatationStatInfoDTO;
|
||||
import com.njcn.device.pms.pojo.param.PmsStatationStatInfoParam;
|
||||
import com.njcn.device.pms.pojo.po.StatationStat;
|
||||
import com.njcn.device.pms.pojo.vo.StatationStatVO;
|
||||
import com.njcn.web.pojo.param.BaseParam;
|
||||
import org.apache.ibatis.annotations.Param;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* <p>
|
||||
* Mapper 接口
|
||||
* </p>
|
||||
*
|
||||
* @author hongawen
|
||||
* @since 2022-10-14
|
||||
*/
|
||||
public interface StatationStatMapper extends BaseMapper<StatationStat> {
|
||||
|
||||
/**
|
||||
* 获取指定的变电站信息
|
||||
*
|
||||
* @param pmsStatationStatInfoParam 变电站详情数据入参
|
||||
* @return 指定的变电站信息
|
||||
*/
|
||||
List<PmsStatationStatInfoDTO> getStatationStatInfo(@Param("pmsStatationStatInfoParam") PmsStatationStatInfoParam pmsStatationStatInfoParam);
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* 分页查询电站信息
|
||||
* @author cdf
|
||||
* @date 2022/11/18
|
||||
*/
|
||||
Page<StatationStatVO> getStatationStatPageList(Page<StatationStatVO> page, @Param("baseParam") BaseParam baseParam);
|
||||
|
||||
|
||||
}
|
||||
@@ -0,0 +1,16 @@
|
||||
<?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.njcn.process.mapper.RSurveyCycleMapper">
|
||||
<resultMap id="BaseResultMap" type="com.njcn.process.pojo.po.RSurveyCyclePO">
|
||||
<!--@mbg.generated-->
|
||||
<!--@Table r_survey_cycle-->
|
||||
<id column="id" jdbcType="INTEGER" property="id" />
|
||||
<result column="start_year" jdbcType="DATE" property="startYear" />
|
||||
<result column="end_year" jdbcType="DATE" property="endYear" />
|
||||
<result column="survey_cycle" jdbcType="INTEGER" property="surveyCycle" />
|
||||
</resultMap>
|
||||
<sql id="Base_Column_List">
|
||||
<!--@mbg.generated-->
|
||||
id, start_year, end_year, survey_cycle
|
||||
</sql>
|
||||
</mapper>
|
||||
@@ -0,0 +1,17 @@
|
||||
<?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.njcn.process.mapper.RSurveyPlanConfigMapper">
|
||||
<resultMap id="BaseResultMap" type="com.njcn.process.pojo.po.RSurveyPlanConfigPO">
|
||||
<!--@mbg.generated-->
|
||||
<!--@Table r_survey_plan_config-->
|
||||
<id column="Id" jdbcType="CHAR" property="id" />
|
||||
<result column="Org_Name" jdbcType="VARCHAR" property="orgName" />
|
||||
<result column="Org_Id" jdbcType="CHAR" property="orgId" />
|
||||
<result column="stat_num" jdbcType="INTEGER" property="statNum" />
|
||||
<result column="proportion" jdbcType="FLOAT" property="proportion" />
|
||||
</resultMap>
|
||||
<sql id="Base_Column_List">
|
||||
<!--@mbg.generated-->
|
||||
Id, Org_Name, Org_Id, stat_num, proportion
|
||||
</sql>
|
||||
</mapper>
|
||||
Reference in New Issue
Block a user