修复时间戳与数据表入库时间差1秒问题,开发重新计算接口,交换机详情增加业务代码,业务名称,修复各个表业务信息不匹配问题
This commit is contained in:
+4
-3
@@ -189,13 +189,14 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||
</where>
|
||||
group by switch_sn
|
||||
</select>
|
||||
<update id="batchUpdate">
|
||||
<foreach collection="list" item="item" separator=";">
|
||||
<!-- MyBatis Mapper XML配置 -->
|
||||
<update id="batchUpdate" parameterType="java.util.List">
|
||||
<foreach collection="list" item="item" index="index" open="" separator=";" close="">
|
||||
UPDATE all_interface_name
|
||||
SET
|
||||
business_code = #{item.businessCode},
|
||||
business_name = #{item.businessName},
|
||||
update_time = now(),
|
||||
update_time = NOW(),
|
||||
client_id = #{item.clientId},
|
||||
device_sn = #{item.deviceSn},
|
||||
node_name = #{item.nodeName},
|
||||
|
||||
Reference in New Issue
Block a user