1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
| <?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.exam.system.mapper.QualitySystemPlanMessMapper">
| <insert id="insertPlanMess">
| INSERT INTO `quality_system_plan_mess` ( `plan_id`, `project`, `content`, `participant`, `apply_time`, `accomplish_time`, `accomplish_status` )
| VALUES
| <foreach collection="planMesses" separator="," item="item">
| (
| #{item.planId},
| #{item.project},
| #{item.content},
| #{item.participant},
| #{item.applyTime},
| #{item.accomplishTime},
| #{item.accomplishStatus})
| </foreach>
| </insert>
| <delete id="deletedByPlanId">
| delete from quality_system_plan_mess where plan_id = #{id}
| </delete>
|
| <select id="selectByPlanId" resultType="com.gkhy.exam.system.domain.QualitySystemPlanMess">
| select * from quality_system_plan_mess where plan_id = #{id}
| </select>
| </mapper>
|
|