“djh”
2025-10-30 4e05db79b1d981677b8a2664f252dfccf95ef6ce
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
26
27
28
29
30
31
32
33
34
35
36
37
<?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.InternalAuditCheckContentMapper">
    <insert id="insertBatchs">
        INSERT INTO internal_audit_check_content (
        check_catalogue_id,
        point_key,
        find,
        result
        ) VALUES
        <foreach collection="list" item="item" separator=",">
            (
            #{item.checkCatalogueId},
            #{item.pointKey},
            #{item.find},
            #{item.result}
            )
        </foreach>
    </insert>
 
    <select id="selectByCatalogueIds" resultType="com.gkhy.exam.system.domain.InternalAuditCheckContent">
        SELECT
            `id`,
            `check_catalogue_id`,
            `point_key`,
            `find`,
            `result`,
            `del_flag`
        FROM
            `internal_audit_check_content`
        WHERE check_catalogue_id IN
            <foreach collection="catalogueIds" item="id" open="(" separator="," close=")">
                #{id}
            </foreach>
        AND del_flag = 0
    </select>
</mapper>