1.pms bug修改

2.监测点稳态指标合格率算法开发
This commit is contained in:
huangzj
2023-03-06 10:32:03 +08:00
parent c20ef391d7
commit 779b95d6b5
43 changed files with 1735 additions and 229 deletions

View File

@@ -2,6 +2,11 @@ package com.njcn.process.mapper;
import com.github.jeffreyning.mybatisplus.base.MppBaseMapper;
import com.njcn.process.pojo.po.RStatElectricQualityProblemLogPO;
import com.njcn.process.pojo.vo.RStatElectricQualityProblemLogVO;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;
import java.util.List;
/**
*
@@ -13,4 +18,20 @@ import com.njcn.process.pojo.po.RStatElectricQualityProblemLogPO;
* @version V1.0.0
*/
public interface RStatElectricQualityProblemLogMapper extends MppBaseMapper<RStatElectricQualityProblemLogPO> {
@Select ("SELECT\n" +
"\tb.power_quality_problem_no,\n" +
"\ta.org_no org_name,\n" +
"b.data_date,\n" +
"b.checker,\n" +
"b.description,\n" +
"b.report_process,\n" +
"b.report_process_content,\n" +
"b.type\n" +
"FROM\n" +
"\tr_stat_electric_quality_problem_flow a,\n" +
"\tr_stat_electric_quality_problem_log b\n" +
"WHERE\n" +
"\ta.power_quality_problem_no = b.power_quality_problem_no\n" +
"AND b.power_quality_problem_no = #{powerQualityProblemNo}")
List<RStatElectricQualityProblemLogVO> selectByProblemNo(@Param ("powerQualityProblemNo") String powerQualityProblemNo);
}