敏感及重要用户功能

This commit is contained in:
2024-06-03 16:47:39 +08:00
parent f181b9bbb2
commit e0298ed65f
34 changed files with 1663 additions and 48 deletions

View File

@@ -0,0 +1,21 @@
package com.njcn.supervision.mapper.survey;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.njcn.supervision.pojo.po.survey.SurveyPlan;
import com.njcn.supervision.pojo.vo.survey.SurveyPlanVO;
import org.apache.ibatis.annotations.Param;
/**
* <p>
* 普测计划流程表 Mapper 接口
* </p>
*
* @author hongawen
* @since 2024-05-30
*/
public interface SurveyPlanMapper extends BaseMapper<SurveyPlan> {
Page<SurveyPlanVO> surveyPlanPage(Page<Object> objectPage, @Param("ew") QueryWrapper<SurveyPlanVO> surveyPlanVOQueryWrapper);
}

View File

@@ -0,0 +1,21 @@
package com.njcn.supervision.mapper.survey;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.njcn.supervision.pojo.po.survey.SurveyTest;
import com.njcn.supervision.pojo.vo.survey.SurveyTestVO;
import org.apache.ibatis.annotations.Param;
/**
* <p>
* 普测测试的管理表 Mapper 接口
* </p>
*
* @author hongawen
* @since 2024-05-30
*/
public interface SurveyTestMapper extends BaseMapper<SurveyTest> {
Page<SurveyTestVO> surveyTestPage(Page<Object> objectPage, @Param("ew")QueryWrapper<SurveyTestVO> surveyTestVOQueryWrapper);
}

View File

@@ -15,7 +15,7 @@
</resultMap>
<sql id="Base_Column_List">
<!--@mbg.generated-->
plan_no, sub_id, sub_name, voltage_level, capacity, measurement_point_id, is_problem,
plan_no, sub_id, sub_name, voltage_level, capacity, measurement_point_id, is_problem,
is_survey
</sql>
</mapper>

View File

@@ -0,0 +1,11 @@
<?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.supervision.mapper.survey.SurveyPlanMapper">
<select id="surveyPlanPage" resultType="SurveyPlanVO">
SELECT supervision_survey_plan.*
FROM supervision_survey_plan supervision_survey_plan
WHERE ${ew.sqlSegment}
</select>
</mapper>

View File

@@ -0,0 +1,11 @@
<?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.supervision.mapper.survey.SurveyTestMapper">
<select id="surveyTestPage" resultType="SurveyTestVO">
SELECT supervision_survey_test.*
FROM supervision_survey_test supervision_survey_test
WHERE ${ew.sqlSegment}
</select>
</mapper>