houzhongjian
2024-07-23 a6de490948278991e47952e90671ddba4555e9a2
1
2
3
4
5
6
7
8
9
10
11
12
13
<?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.iailab.module.device.dao.DeviceStatUsageDao">
 
 
    <insert id="batchInsert">
        insert into t_device_stat_usage values
        <foreach collection="list" item="item" open="(" close=")" separator=",">
            #{item.id},#{item.devNo},#{item.devName},#{item.date},#{item.planTime},#{item.runTime},#{item.usageRate},#{item.createDate}
        </foreach>
    </insert>
</mapper>