chenrui
2025-04-03 32ddd9d13c53dd7fe5a09120ca59b29e61afc0cc
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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
<?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.basic.mapper.StandardProductListUpdateRecordRelMapper">
    <insert id="batchInsertRecordRel">
        INSERT INTO standard_product_list_update_record_rel (
            inspection_item,
            inspection_item_en,
            inspection_item_subclass,
            inspection_item_subclass_en,
            factory,
            laboratory,
            sample_type,
            sample,
            model,
            son_laboratory,
            unit,
            price,
            man_hour,
            man_hour_group,
            inspection_item_type,
            inspection_value_type,
            checkout_number,
            section,
            cores,
            method,
            method_s,
            man_day,
            bsm,
            ask,
            tell,
            standard_method_list_id,
            create_user,
            update_user,
            create_time,
            update_time,
            template_id,
            state,
            dic,
            tree,
            structure_item_parameter_id,
            inspection_item_class,
            inspection_item_class_en,
            radius,
            radius_list,
            rates,
            sort,
            conductor_material,
            standard_product_list_id,
            standard_product_list_update_record_id,
            conductor_type
        ) values
        <foreach collection="list" separator="," item="item">
            (
            #{item.inspectionItem},
            #{item.inspectionItemEn},
            #{item.inspectionItemSubclass},
            #{item.inspectionItemSubclassEn},
            #{item.factory},
            #{item.laboratory},
            #{item.sampleType},
            #{item.sample},
            #{item.model},
            #{item.sonLaboratory},
            #{item.unit},
            #{item.price},
            #{item.manHour},
            #{item.manHourGroup},
            #{item.inspectionItemType},
            #{item.inspectionValueType},
            #{item.checkoutNumber},
            #{item.section},
            #{item.cores},
            #{item.method},
            #{item.methodS},
            #{item.manDay},
            #{item.bsm},
            #{item.ask},
            #{item.tell},
            #{item.standardMethodListId},
            #{item.createUser},
            #{item.updateUser},
            #{item.createTime},
            #{item.updateTime},
            #{item.templateId},
            #{item.state},
            #{item.dic},
            #{item.tree},
            #{item.structureItemParameterId},
            #{item.inspectionItemClass},
            #{item.inspectionItemClassEn},
            #{item.radius},
            #{item.radiusList},
            #{item.rates},
            #{item.sort},
            #{item.conductorMaterial},
            #{item.standardProductListId},
            #{item.standardProductListUpdateRecordId},
            #{item.conductorType}
            )
        </foreach>
 
    </insert>
 
    <select id="standardProductListRecordRelPage" resultType="com.ruoyi.basic.pojo.StandardProductListUpdateRecordRel">
        select * from standard_product_list_update_record_rel
        <if test="ew.customSqlSegment != null and ew.customSqlSegment != ''">
            ${ew.customSqlSegment}
        </if>
    </select>
</mapper>