| | |
| | | <!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.InternalAuditCarryMapper"> |
| | | <insert id="insertCarryDept"> |
| | | INSERT INTO`internal_audit_carry_dept` (`carry_id`, `dept_id`, `date`, `time`, `check_id` ) |
| | | INSERT INTO`internal_audit_carry_dept` (`carry_id`, `dept_id`,`date`, `start_time`, `end_time`, `check_id` ) |
| | | VALUES |
| | | <foreach collection="deptList" separator="," item="item"> |
| | | ( #{item.carryId}, #{item.deptId}, #{item.date}, #{item.time}, #{item.checkId} ) |
| | | ( #{item.carryId}, #{item.deptId},#{item.date}, #{item.startTime}, #{item.endTime}, #{item.checkId} ) |
| | | </foreach> |
| | | </insert> |
| | | <delete id="deletedCarryDeptByCarryId"> |
| | |
| | | iacd.`dept_id`, |
| | | sd.dept_name, |
| | | iacd.`date`, |
| | | iacd.`time`, |
| | | iacd.`start_time`, |
| | | iacd.`end_time`, |
| | | iacd.`check_id` , |
| | | su.`name` as check_name |
| | | FROM |