From e44c211aab8da89e89657426460d44285de6959c Mon Sep 17 00:00:00 2001 From: yangys <y_ys79@sina.com> Date: 星期五, 09 五月 2025 00:36:16 +0800 Subject: [PATCH] 整理代码 --- smart-man-boot/src/main/resources/com/qianwen/smartman/modules/mdc/mapper/SuperAggregateStateMapper.xml | 17 ----------------- 1 files changed, 0 insertions(+), 17 deletions(-) diff --git a/smart-man-boot/src/main/resources/com/qianwen/smartman/modules/mdc/mapper/SuperAggregateStateMapper.xml b/smart-man-boot/src/main/resources/com/qianwen/smartman/modules/mdc/mapper/SuperAggregateStateMapper.xml index 80f425b..60144c5 100644 --- a/smart-man-boot/src/main/resources/com/qianwen/smartman/modules/mdc/mapper/SuperAggregateStateMapper.xml +++ b/smart-man-boot/src/main/resources/com/qianwen/smartman/modules/mdc/mapper/SuperAggregateStateMapper.xml @@ -6,24 +6,7 @@ insert into iot_data.aggregate_state_${workstationId} values ${sql} </insert> - <!-- - <insert id="saveState"> - insert into iot_data.aggregate_state_${workstationId} USING iot_data.super_aggregate_state - TAGS(${workstationId}) values - <foreach separator="," collection="list" item="item" index="index"> - (#{item.startTime}, #{item.endTime}, #{item.durationCollect}, #{item.valueCollect}, #{item.calendarCode}, - #{item.factoryYear}, #{item.factoryMonth}, #{item.factoryWeek}, #{item.factoryDate}, - #{item.shiftIndex}, #{item.shiftTimeType}, #{item.wcs}, #{item.rps}, #{item.isDeleted},#{item.isPlan}) - </foreach> - </insert> - <update id="createTable"> - create table if not exists iot_data.aggregate_state_${workstationId} using super_aggregate_state tags - ( - #{workstationId} - ) - </update> - --> <select id="countStatsShiftEndTimeNotNull" resultType="com.qianwen.smartman.modules.mdc.dto.CountResult"> select sum(duration_collect) as nums, value_collect status from iot_data.super_aggregate_state -- Gitblit v1.9.3