| | |
| | | @Data |
| | | @EqualsAndHashCode(callSuper = false) |
| | | @Accessors(chain = true) |
| | | @TableName("ControlSystem") |
| | | @TableName("controlSystem") |
| | | @ApiModel(value = "控制系统表") |
| | | public class ControlSystem implements Serializable { |
| | | private static final long serialVersionUID = 1529244980533421687L; |
| | |
| | | * @Version: V1.0 |
| | | */ |
| | | @Data |
| | | @TableName("Equipment") |
| | | @TableName("equipment") |
| | | @EqualsAndHashCode(callSuper = false) |
| | | @Accessors(chain = true) |
| | | @ApiModel(value = "Equipment对象", description = "采集设备表") |
| | |
| | | @Data |
| | | @EqualsAndHashCode(callSuper = false) |
| | | @Accessors(chain = true) |
| | | @TableName("EquipmentAlarm") |
| | | @TableName("equipmentAlarm") |
| | | public class EquipmentAlarm implements Serializable { |
| | | |
| | | private static final long serialVersionUID = -4762333096168370779L; |
| | |
| | | @Data |
| | | @EqualsAndHashCode(callSuper = false) |
| | | @Accessors(chain = true) |
| | | @TableName("EquipmentBaseInfo") |
| | | @TableName("cquipmentBaseInfo") |
| | | @ApiModel(value = "设备base表") |
| | | public class EquipmentBaseInfo implements Serializable { |
| | | private static final long serialVersionUID = -8896213546634351881L; |
| | |
| | | * @Version: V1.0 |
| | | */ |
| | | @Data |
| | | @TableName("EquipmentBeilvAlarm") |
| | | @TableName("equipmentBeilvAlarm") |
| | | @EqualsAndHashCode(callSuper = false) |
| | | @Accessors(chain = true) |
| | | @ApiModel(value = "EquipmentBeilvAlarm对象", description = "设备倍率报警") |
| | |
| | | @Data |
| | | @EqualsAndHashCode(callSuper = false) |
| | | @Accessors(chain = true) |
| | | @TableName("EquipmentLog") |
| | | @TableName("equipmentLog") |
| | | @ApiModel(value = "设备历史表") |
| | | public class EquipmentLog implements Serializable { |
| | | |
| | |
| | | @Data |
| | | @EqualsAndHashCode(callSuper = false) |
| | | @Accessors(chain = true) |
| | | @TableName("EquipmentRunningTrace") |
| | | @TableName("equipmentRunningTrace") |
| | | public class EquipmentRunningTrace implements Serializable { |
| | | |
| | | private static final long serialVersionUID = 2229764130687476736L; |
| | |
| | | @Data |
| | | @EqualsAndHashCode(callSuper = false) |
| | | @Accessors(chain = true) |
| | | @TableName("EquipmentStatisticalInfo") |
| | | @TableName("equipmentStatisticalInfo") |
| | | public class EquipmentStatisticalInfo implements Serializable { |
| | | /** |
| | | * 设备ID |
| | |
| | | @Data |
| | | @EqualsAndHashCode(callSuper = false) |
| | | @Accessors(chain = true) |
| | | @TableName("EquipmentXYZ") |
| | | @TableName("equipmentXYZ") |
| | | public class EquipmentXYZ implements Serializable { |
| | | private static final long serialVersionUID = -959998605407088842L; |
| | | |
| | |
| | | @Data |
| | | @EqualsAndHashCode(callSuper = false) |
| | | @Accessors(chain = true) |
| | | @TableName("XYZAliases") |
| | | @TableName("xYZAliases") |
| | | @ApiModel(value = "设备坐标采集") |
| | | public class XYZAliases extends JeecgEntity implements Serializable { |
| | | |
| | |
| | | @Insert(" INSERT INTO ${tableName} SELECT * FROM ${lastTableName} WHERE CollectTime < '${date}' ") |
| | | void insertTableData(@Param("tableName") String tableName, @Param("lastTableName") String lastTableName, @Param("date") String date); |
| | | |
| | | @Delete(" delete from ${tableName} where CollectTime < '${day}' ") |
| | | @Delete("delete from ${tableName} where CollectTime < '${day}' ") |
| | | void deleteTableData(@Param("tableName") String saveTableName, @Param("day") String day); |
| | | |
| | | @Insert("CREATE TABLE `{tableName}` AS SELECT * FROM `{lastTableName}` WHERE CollectTime < '${date}' ") |