1
2
3
4
5
6
7
8
9
10
11
12
| <?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.DeviceHealthReportDao">
| <insert id="migration"
| parameterType="java.util.List">
| INSERT INTO `t_device_health_report` (id, `dev_no`, `dev_name`, `class_no`, `class_name`, `workshop`, `model`, `report_no`, `report_name`, `report_date`, `health_level`, `health_score`, `abnormal_count`, `data_length`, `run_time`, `content`, `model_code`, `create_date`)
| VALUES
| <foreach item="item" collection="list" separator=",">
| (#{item.id},#{item.devNo},#{item.devName},#{item.classNo},#{item.className},#{item.workshop},#{item.model},#{item.reportNo},#{item.reportName},#{item.reportDate},#{item.healthLevel},#{item.healthScore},#{item.abnormalCount},#{item.dataLength},#{item.runTime},#{item.content},#{item.modelCode},#{item.createDate})
| </foreach>
| </insert>
| </mapper>
|
|