yangys
2024-09-27 26f8e5990686bdba2119024a260d986266506757
collect/src/main/resources/com/qianwen/mdc/collect/mapper/iotdb/AggregateStateMapper.xml
@@ -8,7 +8,7 @@
       <result column="end_time" jdbcType="BIGINT" property="endTime"/>
       <result column="duration_collect" jdbcType="BIGINT" property="durationCollect"/>
       
        <result column="value_collect" jdbcType="BIGINT" property="valueCollect"/>
        <result column="value_collect" jdbcType="INTEGER" property="valueCollect"/>
        
        <result column="calendar_code" jdbcType="VARCHAR" property="calendarCode"/>
        
@@ -20,7 +20,6 @@
        <result column="shift_time_type" jdbcType="INTEGER" property="shiftTimeType"/>
        <result column="wcs" jdbcType="INTEGER" property="wcs"/>
        <result column="rps" jdbcType="INTEGER" property="rps"/>
        <result column="feedback_id" jdbcType="BIGINT" property="feedbackId"/>
        <result column="is_deleted" jdbcType="BOOLEAN" property="isDeleted"/>
        <result column="is_plan" jdbcType="BIGINT" property="isPlan"/>
        
@@ -28,7 +27,7 @@
    </resultMap>
   
   <sql id="all_columns">
   workstation_id,end_time,duration_collect,value_collect,calendar_code,factory_year,factory_month,factory_date,factory_week,shift_index,shift_time_type,wcs,rps,is_fix_point,is_sync,is_plan,feedback_point_type,feedback_id,is_deleted,employee_id
   workstation_id,end_time,duration_collect,value_collect,calendar_code,factory_year,factory_month,factory_date,factory_week,shift_index,shift_time_type,wcs,rps,is_fix_point,is_sync,is_plan,feedback_point_type,is_deleted,employee_id
   </sql>
   
     <select id="aggregateStatesInTimeRange" resultMap="BaseResultMap">