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
| <?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.StandardProductListSupplierAskBackupRelMapper">
|
| <delete id="batchDeleteByProductIds">
| delete from standard_product_list_supplier_ask_backup_rel
| where product_list_id in
| <foreach collection="productIds" open="(" close=")" separator="," item="item">
| #{item}
| </foreach>
| </delete>
|
| <insert id="batchInsertSupplierAskBackUpRel">
| INSERT INTO standard_product_list_supplier_ask_backup_rel (
| supplier_ask_id,
| product_list_id,
| supplier_name,
| ask,
| tell,
| create_user,
| update_user,
| create_time,
| update_time
| )values
| <foreach collection="list" item="item" separator=",">
| (
| #{item.supplierAskId},
| #{item.productListId},
| #{item.supplierName},
| #{item.ask},
| #{item.tell},
| #{item.createUser},
| #{item.updateUser},
| #{item.createTime},
| #{item.updateTime}
| )
| </foreach>
| </insert>
| </mapper>
|
|