1.河北pms母线中间表接口添加
2.两级贯通接口调整
This commit is contained in:
@@ -0,0 +1,60 @@
|
||||
<?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.harmonic.mapper.upload.RUploadEvaluationDataDMapper">
|
||||
|
||||
|
||||
<select id="getBaseEvaOnlineBusDetail" resultType="DimBusBarVO">
|
||||
select
|
||||
mid.id astId,
|
||||
mid.Name busName,
|
||||
mid.voltage_Level busVoltageLevel,
|
||||
dicVoltage.name busVoltageLevelName,
|
||||
mid.SectionId cityOrg,
|
||||
mid.Section cityOrgName,
|
||||
mid.Run_Status deviceStatus,
|
||||
|
||||
station.Power_Id stationId,
|
||||
station.Power_Name stationName,
|
||||
station.Voltage_Level stationVoltageLevel
|
||||
|
||||
|
||||
from pms_mid_ledger mid
|
||||
left join pms_generatrix_wire wire on mid.id = wire.Mid_Bus_Id
|
||||
left join sys_dict_data dicVoltage on mid.voltage_Level = dicVoltage.id
|
||||
left join pms_statation_stat station on wire.Station_Id = station.Power_Id
|
||||
|
||||
where mid.level = 1
|
||||
<if test="param.busId!=null and param.busId!='' ">
|
||||
and mid.id = #{param.busId}
|
||||
</if>
|
||||
<if test="param.busName!=null and param.busName!='' ">
|
||||
and mid.name = #{param.busName}
|
||||
</if>
|
||||
<if test="param.busIds!=null and param.busIds.size>0">
|
||||
and mid.id in
|
||||
<foreach collection="param.busIds" item="item" open="(" close=")" separator=",">
|
||||
#{item}
|
||||
</foreach>
|
||||
</if>
|
||||
|
||||
<if test="param.onlineBusIds!=null and param.onlineBusIds.size>0">
|
||||
and mid.id in
|
||||
<foreach collection="param.onlineBusIds" item="item" open="(" close=")" separator=",">
|
||||
#{item}
|
||||
</foreach>
|
||||
</if>
|
||||
|
||||
<if test="param.orgIds!=null and param.orgIds.size>0">
|
||||
and mid.SectionId in
|
||||
<foreach collection="param.orgIds" item="item" open="(" close=")" separator=",">
|
||||
#{item}
|
||||
</foreach>
|
||||
</if>
|
||||
|
||||
<if test="param.deployState!=null and param.deployState!='' ">
|
||||
and mid.Run_Status = #{param.deployState}
|
||||
</if>
|
||||
|
||||
</select>
|
||||
|
||||
</mapper>
|
||||
@@ -0,0 +1,19 @@
|
||||
package com.njcn.harmonic.mapper.upload;
|
||||
|
||||
|
||||
|
||||
import com.github.jeffreyning.mybatisplus.base.MppBaseMapper;
|
||||
import com.njcn.harmonic.pojo.po.upload.PmsRunStatisticD;
|
||||
|
||||
|
||||
/**
|
||||
* <p>
|
||||
* Mapper 接口
|
||||
* </p>
|
||||
*
|
||||
* @author cdf
|
||||
* @since 2024-04-17
|
||||
*/
|
||||
public interface PmsRunStatisticDMapper extends MppBaseMapper<PmsRunStatisticD> {
|
||||
|
||||
}
|
||||
@@ -0,0 +1,19 @@
|
||||
package com.njcn.harmonic.mapper.upload;
|
||||
|
||||
|
||||
|
||||
import com.github.jeffreyning.mybatisplus.base.MppBaseMapper;
|
||||
import com.njcn.harmonic.pojo.po.upload.PmsRunStatisticM;
|
||||
|
||||
|
||||
/**
|
||||
* <p>
|
||||
* Mapper 接口
|
||||
* </p>
|
||||
*
|
||||
* @author cdf
|
||||
* @since 2024-04-17
|
||||
*/
|
||||
public interface PmsRunStatisticMMapper extends MppBaseMapper<PmsRunStatisticM> {
|
||||
|
||||
}
|
||||
@@ -0,0 +1,19 @@
|
||||
package com.njcn.harmonic.mapper.upload;
|
||||
|
||||
|
||||
|
||||
import com.github.jeffreyning.mybatisplus.base.MppBaseMapper;
|
||||
import com.njcn.harmonic.pojo.po.upload.PmsRunStatisticY;
|
||||
|
||||
|
||||
/**
|
||||
* <p>
|
||||
* Mapper 接口
|
||||
* </p>
|
||||
*
|
||||
* @author cdf
|
||||
* @since 2024-04-17
|
||||
*/
|
||||
public interface PmsRunStatisticYMapper extends MppBaseMapper<PmsRunStatisticY> {
|
||||
|
||||
}
|
||||
@@ -0,0 +1,18 @@
|
||||
package com.njcn.harmonic.mapper.upload;
|
||||
|
||||
|
||||
import com.github.jeffreyning.mybatisplus.base.MppBaseMapper;
|
||||
import com.njcn.harmonic.pojo.po.upload.RDimBusUpD;
|
||||
|
||||
|
||||
/**
|
||||
* <p>
|
||||
* 母线越限详情 Mapper 接口
|
||||
* </p>
|
||||
*
|
||||
* @author cdf
|
||||
* @since 2024-05-09
|
||||
*/
|
||||
public interface RDimBusUpDMapper extends MppBaseMapper<RDimBusUpD> {
|
||||
|
||||
}
|
||||
@@ -0,0 +1,18 @@
|
||||
package com.njcn.harmonic.mapper.upload;
|
||||
|
||||
|
||||
import com.github.jeffreyning.mybatisplus.base.MppBaseMapper;
|
||||
import com.njcn.harmonic.pojo.po.upload.RDimBusUpM;
|
||||
|
||||
|
||||
/**
|
||||
* <p>
|
||||
* 母线越限详情 Mapper 接口
|
||||
* </p>
|
||||
*
|
||||
* @author cdf
|
||||
* @since 2024-05-09
|
||||
*/
|
||||
public interface RDimBusUpMMapper extends MppBaseMapper<RDimBusUpM> {
|
||||
|
||||
}
|
||||
@@ -0,0 +1,18 @@
|
||||
package com.njcn.harmonic.mapper.upload;
|
||||
|
||||
|
||||
import com.github.jeffreyning.mybatisplus.base.MppBaseMapper;
|
||||
import com.njcn.harmonic.pojo.po.upload.RDimBusUpY;
|
||||
|
||||
|
||||
/**
|
||||
* <p>
|
||||
* 母线越限详情 Mapper 接口
|
||||
* </p>
|
||||
*
|
||||
* @author cdf
|
||||
* @since 2024-05-09
|
||||
*/
|
||||
public interface RDimBusUpYMapper extends MppBaseMapper<RDimBusUpY> {
|
||||
|
||||
}
|
||||
@@ -1,7 +1,11 @@
|
||||
package com.njcn.harmonic.mapper.upload;
|
||||
|
||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
|
||||
import com.njcn.harmonic.pojo.param.upload.DimBusBarParam;
|
||||
import com.njcn.harmonic.pojo.po.upload.RUploadEvaluationDataD;
|
||||
import com.njcn.harmonic.pojo.vo.upload.DimBusBarVO;
|
||||
import org.apache.ibatis.annotations.Param;
|
||||
|
||||
/**
|
||||
* <p>
|
||||
@@ -13,4 +17,6 @@ import com.njcn.harmonic.pojo.po.upload.RUploadEvaluationDataD;
|
||||
*/
|
||||
public interface RUploadEvaluationDataDMapper extends BaseMapper<RUploadEvaluationDataD> {
|
||||
|
||||
public Page<DimBusBarVO> getBaseEvaOnlineBusDetail(@Param("page") Page<DimBusBarVO> page, @Param("param") DimBusBarParam param);
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user