<?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.gkhy.safePlatform.riskCtrl.repository.PreventMonthReportDetailRepository">
|
<resultMap id="BaseMapper" type="com.gkhy.safePlatform.riskCtrl.entity.PreventMonthReportDetail">
|
<id column="report_id" property="reportId" jdbcType="BIGINT"/>
|
<result column="risk_total_count" property="riskTotalCount" jdbcType="INTEGER"/>
|
<result column="death_count" property="deathCount" jdbcType="INTEGER"/>
|
<result column="heavy_injure_count" property="heavyInjureCount" jdbcType="INTEGER"/>
|
<result column="light_injure_count" property="lightInjureCount" jdbcType="INTEGER"/>
|
<result column="heavy_risk_count" property="heavyRiskCount" jdbcType="INTEGER"/>
|
<result column="light_risk_count" property="lightRiskCount" jdbcType="INTEGER"/>
|
<result column="heavy_risk_finish_count" property="heavyRiskFinishCount" jdbcType="INTEGER"/>
|
<result column="light_risk_finish_count" property="lightRiskFinishCount" jdbcType="INTEGER"/>
|
</resultMap>
|
|
<sql id="all_columns">
|
report_id,risk_total_count,death_count,heavy_injure_count,light_injure_count,heavy_risk_count,light_risk_count,heavy_risk_finish_count,light_risk_finish_count
|
</sql>
|
</mapper>
|