TBlackListParkRelSMapper.xml
920 Bytes
<?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.zteits.bill.mapper.smapper.TBlackListParkRelSMapper">
<resultMap id="BaseResultMap" type="com.zteits.bill.domain.TBlackListParkRel">
<id column="id" jdbcType="BIGINT" property="id" />
<result column="rule_no" jdbcType="VARCHAR" property="ruleNo" />
<result column="pl_no" jdbcType="VARCHAR" property="plNo" />
<result column="pl_name" jdbcType="VARCHAR" property="plName" />
</resultMap>
<insert id="saveBlackListParkRelBatch">
insert into t_black_list_park_rel (rule_no, pl_no, pl_name)values
<foreach collection="entityList" index="index" item="item" separator="," open="" close="">
(
#{item.ruleNo},
#{item.plNo},
#{item.plName}
)
</foreach>
</insert>
</mapper>