<?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.ruoyi.doublePrevention.repository.PreventRiskDangerCheckAndMeasureRepository" >
|
|
<resultMap id="BaseResultMap" type="com.ruoyi.doublePrevention.entity.PreventRiskDangerCheckAndMeasure">
|
<id column="id" property="id"/>
|
<result column="check_id" property="checkId" />
|
<result column="danger_check_point_id" property="dangerCheckPointId" />
|
<result column="base_check_point_id" property="baseCheckPointId" />
|
<result column="control_measure_id" property="controlMeasureId"/>
|
<result column="check_content" property="checkContent"/>
|
<result column="check_result" property="checkResult"/>
|
</resultMap>
|
|
<!-- int insertCheckAndMeasure(PreventRiskDangerCheckAndMeasure checkAndMeasure);-->
|
<insert id="insertCheckAndMeasure">
|
insert into prevent_risk_danger_check_and_measure values
|
(null, #{checkId}, #{dangerCheckPointId}, #{baseCheckPointId}, #{controlMeasureId}, #{checkContent}, #{checkResult})
|
</insert>
|
|
</mapper>
|