You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

49 lines
2.5 KiB

<?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="org.springblade.modules.nh.mapper.InefficientSettingMapper">
<!-- 通用查询映射结果 -->
<resultMap id="inefficientSettingResultMap" type="org.springblade.modules.nh.pojo.entity.InefficientSettingEntity">
<result column="id" property="id"/>
<result column="capital_code" property="capitalCode"/>
<result column="capital_name" property="capitalName"/>
<result column="plan_type" property="planType"/>
<result column="plan_name" property="planName"/>
<result column="province" property="province"/>
<result column="citys" property="citys"/>
<result column="record_type" property="recordType"/>
<result column="dot_position" property="dotPosition"/>
<result column="guard_hour_m1" property="guardHourM1"/>
<result column="guard_hour_m2" property="guardHourM2"/>
<result column="guard_hour_m3" property="guardHourM3"/>
<result column="guard_hour_m4" property="guardHourM4"/>
<result column="guard_hour_m5" property="guardHourM5"/>
<result column="guard_hour_m6" property="guardHourM6"/>
<result column="guard_hour_m7" property="guardHourM7"/>
<result column="guard_hour_m8" property="guardHourM8"/>
<result column="guard_hour_m9" property="guardHourM9"/>
<result column="guard_hour_m10" property="guardHourM10"/>
<result column="guard_hour_m11" property="guardHourM11"/>
<result column="guard_hour_m12" property="guardHourM12"/>
<result column="guard_hour_total" property="guardHourTotal"/>
<result column="create_user" property="createUser"/>
<result column="create_dept" property="createDept"/>
<result column="create_time" property="createTime"/>
<result column="update_user" property="updateUser"/>
<result column="update_time" property="updateTime"/>
<result column="status" property="status"/>
<result column="is_deleted" property="isDeleted"/>
</resultMap>
<select id="selectInefficientSettingPage" resultMap="inefficientSettingResultMap">
select * from nh_inefficient_setting where is_deleted = 0
</select>
<select id="exportInefficientSetting" resultType="org.springblade.modules.nh.excel.InefficientSettingExcel">
SELECT * FROM nh_inefficient_setting ${ew.customSqlSegment}
</select>
</mapper>