| | |
| | | import com.iailab.module.data.point.dto.DaPointDTO; |
| | | import lombok.extern.slf4j.Slf4j; |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | | import org.springframework.context.annotation.Lazy; |
| | | import org.springframework.stereotype.Component; |
| | | import org.springframework.util.CollectionUtils; |
| | | |
| | |
| | | public class CumulateHandle { |
| | | |
| | | @Autowired |
| | | @Lazy |
| | | private DataPointApi dataPointApi; |
| | | |
| | | public List<InfluxPointValuePOJO> handle(Date collectTime, List<DaPointDTO> dtos) { |
| | |
| | | <result property="itemname" column="ITEMNAME"/> |
| | | <result property="itemtypeid" column="ITEMTYPEID"/> |
| | | <result property="itemtypename" column="ITEMTYPENAME"/> |
| | | <result property="predictlength" column="predictlength"/> |
| | | <result property="granularity" column="GRANULARITY"/> |
| | | <result property="isfuse" column="ISFUSE"/> |
| | | <result property="workchecked" column="WORKCHECKED"/> |
| | |
| | | TMPI.ITEMNAME, |
| | | TMPI.ITEMTYPEID, |
| | | TMIT.ITEMTYPENAME, |
| | | TMPI.predictlength, |
| | | TMPI.GRANULARITY, |
| | | TMPI.ISFUSE, |
| | | TMPI.WORKCHECKED, |