wanghc 3 éve
szülő
commit
ac19f64aed

+ 77 - 0
ipfcst-common/ipfcst-common-data/src/main/java/com/jiayue/ipfcst/common/data/entity/SysAlarm.java

@@ -0,0 +1,77 @@
+package com.jiayue.ipfcst.common.data.entity;
+
+import com.jiayue.ipfcst.common.data.abst.AbstractBaseEntity;
+import com.jiayue.ipfcst.common.data.constant.enums.AlarmStatusEnum;
+import com.jiayue.ipfcst.common.data.constant.enums.AlarmTypeEnum;
+import lombok.Data;
+import lombok.EqualsAndHashCode;
+import org.hibernate.annotations.GenericGenerator;
+import org.springframework.core.annotation.Order;
+
+import javax.persistence.*;
+
+/**
+ * 系统告警实体
+ *
+ * @author zzy
+ * @version 1.0
+ * @since 2019/7/22 10:23
+ */
+@EqualsAndHashCode(callSuper = true)
+@Data
+@Entity
+public class SysAlarm extends AbstractBaseEntity {
+
+    @Id
+    @Order(1)
+    @GeneratedValue(strategy = GenerationType.AUTO, generator = "myid")
+    @GenericGenerator(name = "myid", strategy = "com.jiayue.ipfcst.common.data.entity.id.CustomIDGenerator")
+    private Integer id;
+
+    /**
+     * 错误信息
+     */
+    @Column
+    @Lob
+    private String errorInfo;
+
+    /**
+     * 问题类型
+     */
+    @Column
+    @Enumerated(EnumType.STRING)
+    private AlarmTypeEnum alarmTypeEnum;
+
+    /**
+     * 问题名称
+     */
+    @Column
+    private String name;
+
+    /**
+     * 问题描述
+     */
+    @Column
+    @Lob
+    private String describe;
+
+    /**
+     * 问题状态
+     */
+    @Column
+    @Enumerated(EnumType.STRING)
+    private AlarmStatusEnum alarmStatusEnum;
+
+    /**
+     * 处理办法
+     */
+    @Column
+    private String solution;
+
+    /**
+     * 问题优先级
+     */
+    @Column
+    private String pritority;
+
+}

+ 13 - 0
ipfcst-common/ipfcst-common-data/src/main/java/com/jiayue/ipfcst/common/data/repository/SysAlarmRepository.java

@@ -0,0 +1,13 @@
+package com.jiayue.ipfcst.common.data.repository;
+
+import com.jiayue.ipfcst.common.data.entity.SysAlarm;
+
+/**
+ * TODO
+ *
+ * @author zzy
+ * @version 1.0
+ * @since 2019/8/6 10:56
+ */
+public interface SysAlarmRepository extends BaseRepository<SysAlarm, Integer> {
+}

+ 0 - 7
ipfcst-console/src/main/frontend/router/modules/console.js

@@ -27,13 +27,6 @@ const consoleRouter = {
       sign: 'photovoltaic'
     },
     {
-      path: 'holidayCalendar',
-      component: () => import('@/views/console/holidayCalendar/index'),
-      name: 'holidayCalendar',
-      meta: { title: '假期日历', noCache: true },
-      sign: 'currency'
-    },
-    {
       path: 'weatherStationInfo',
       component: () => import('@/views/console/weatherStationInfo/index'),
       name: 'WeatherStationInfo',

+ 0 - 391
ipfcst-console/src/main/frontend/views/console/holidayCalendar/index.vue

@@ -1,391 +0,0 @@
-<template>
-  <div class="app-container">
-    <el-card class="box-carde">
-      <div slot="header" class="clearfix">
-        <span>假期日历</span>
-        <el-button style="float: right;padding:3px 10px 3px 3px;" type="text" @click="exportDataEvent">导出数据
-        </el-button>
-      </div>
-      <el-button type="primary" size="small" @click="insertEvent" style="round-clip: 10px"
-                 :loading="btnLonding">新增
-      </el-button><!--v-loading="false"-->
-      <div style="padding-top: 10px">
-        <vxe-table
-          :keep-source="true"
-          align="center"
-          :loading="loading"
-          ref="xTable"
-          auto-resize
-          border
-          resizable
-          highlight-current-row
-          show-overflow
-          :edit-rules="rules"
-          :data="tableData"
-          v-show="showTable"
-          :edit-config="{trigger: 'manual', mode: 'row',autoClear: false,icon:'none'}"
-        >
-          <vxe-table-column title="假期日历信息">
-            <vxe-table-column field="name" title="假期名称"
-                              :edit-render="{name:'$input',attrs:{type:'text',size:'3'}}"></vxe-table-column>
-            <vxe-table-column field="holidayTypeEnum" title="假期类型"
-                              :edit-render="{name: '$select', options: options}"></vxe-table-column>
-            <vxe-table-column field="timeStartEnd" width="350px" title="开始时间-结束时间"
-                              :edit-render="{props: {type: 'default'}}">
-              <template v-slot:edit="{ row }">
-                <el-date-picker
-                  style="width: 100%"
-                  v-model="timeStartEnd"
-                  type="daterange"
-                  value-format="timestamp"
-                  range-separator="至"
-                  start-placeholder="开始日期"
-                  end-placeholder="结束日期"
-                  :picker-options="pickerOptions1"/>
-              </template>
-              <template v-slot="{ row }">{{ timestampToTime(row.startTime) }} 至 {{timestampToTime(row.endTime) }}
-              </template>
-            </vxe-table-column>
-            <vxe-table-column field="days" title="天数"></vxe-table-column>
-            <vxe-table-column width="15%" title="操作" align="center">
-              <template v-slot="{ row }">
-                <template v-if="$refs.xTable.isActiveByRow(row)">
-                  <el-button
-                    style="padding: 3px 4px 3px 4px;margin: 2px;"
-                    type="success"
-                    size="medium"
-                    icon="el-icon-edit"
-                    :loading="saveLoding"
-                    @click="saveCheck(row)">保存
-                  </el-button>
-                  <el-button
-                    style="padding: 3px 4px 3px 4px;margin: 2px"
-                    class="cancel-btn"
-                    icon="el-icon-refresh"
-                    type="warning"
-                    @click="cancelRowEvent(row)">取消
-                  </el-button>
-                </template>
-                <template v-else>
-                  <el-button
-                    style="padding: 3px 4px 3px 4px;margin: 2px"
-                    size="mini"
-                    icon="el-icon-edit"
-                    @click="editRowEvent(row)"
-                    :loading="btnLonding">编辑
-                  </el-button>
-                  <el-button
-                    type="danger"
-                    style="padding: 3px 4px 3px 4px;margin: 2px"
-                    size="mini"
-                    icon="el-icon-delete"
-                    @click="removeEvent(row)"
-                    :loading=btnLonding>删除
-                  </el-button>
-                </template>
-              </template>
-            </vxe-table-column>
-          </vxe-table-column>
-        </vxe-table>
-        <vxe-pager
-          perfect
-          :current-page.sync="currentPage"
-          :page-size.sync="pageSize"
-          :total="total"
-          :page-sizes=[10,50,100]
-          :layouts="['PrevJump', 'PrevPage','JumpNumber', 'NextPage', 'NextJump', 'Sizes', 'FullJump', 'Total']"
-          @page-change="handlePageChange"
-          v-show="!btnLonding&&showTable"
-        >
-        </vxe-pager>
-      </div>
-
-    </el-card>
-  </div>
-</template>
-<script>
-
-  export default {
-    data() {
-      return {
-        checkSign: false,
-        checkTableDate: [],
-        holidayType: '',
-        timeStartEnd: [],
-        loading: false,
-        saveLoding: false,
-        showTable: true,
-        btnLonding: false,
-        tableData: [],
-        currentPage: 1,
-        pageSize: 10,
-        total: 0,
-        options: [
-          {
-            value: "E1",
-            label: "假期"
-          },
-          {
-            value: "E2",
-            label: "特殊工作日"
-          }
-        ],
-        //表单验证规则
-        rules: {
-          name: [
-            {required: true, message: '假期名称不能为空'},
-            {min: 1, max: 9, message: '假期名称长度在 3 到 9 个字符'}
-          ],
-          holidayTypeEnum: [
-            {required: true, message: '请选择假期类型'}
-          ]
-        },
-        //当前日期之前日期不可选
-        pickerOptions1: {
-          disabledDate(time) {
-            // return time.getTime() < Date.now() - 8.64e7;
-            return time.getTime() <= Date.now();
-          }
-        }
-      }
-    },
-    created() {
-      this.getAll()
-    },
-    methods: {
-      checkDate(v1, v2, v3, v4) {
-        let result = false
-        const item = ''
-        // 修改时所需便利集合
-        const v5 = []
-        // 所有假期存放集合
-
-        // 在修改时,把当前在所有信息集合里要修改的信息去掉(如果不去掉会影响校验)
-        for (let i = 0; i < v2.length; i++) {
-          if (v2[i].id == v4.id) {
-            continue
-          }
-          v5.push(v2[i])
-        }
-        // 在编辑假期信息时 当前时间已存在于所有假期信息中,为防止当前时间被校验,在所有假期信息集合中删除该记录。
-        // 编辑修改
-        if (v3) {
-          // 假期修改
-          for (let i = 0; i < v5.length; i++) {
-            if (v1[0] >= v5[i].startTime && v1[0] <= v5[i].endTime) {
-              result = true
-              break
-            }
-            if (v1[1] >= v5[i].startTime && v1[1] <= v5[i].endTime) {
-              result = true
-              break
-            }
-            if (v1[0] <= v5[i].startTime && v1[1] >= v5[i].endTime) {
-              result = true
-              break
-            }
-            if (v1[0] >= v5[i].startTime && v1[1] <= v5[i].endTime) {
-              result = true
-              break
-            }
-          }
-        } else {
-          for (let i = 0; i < v2.length; i++) {
-            if (v1[0] >= v2[i].startTime && v1[0] <= v2[i].endTime) {
-              result = true
-              break
-            }
-            if (v1[1] >= v2[i].startTime && v1[1] <= v2[i].endTime) {
-              result = true
-              break
-            }
-            if (v1[0] <= v2[i].startTime && v1[1] >= v2[i].endTime) {
-              result = true
-              break
-            }
-            if (v1[0] >= v2[i].startTime && v1[1] <= v2[i].endTime) {
-              result = true
-              break
-            }
-          }
-        }
-        return result
-      },
-      getAll() {
-        this.loading = true
-        this.saveLoding = false
-        this.btnLonding = false
-        this.$axios.get("/holidayCalendar/" + this.currentPage + '/' + this.pageSize).then(response => {
-          if (response.data.content == "") {
-            this.showTable = false
-          } else {
-            this.showTable = true
-          }
-          this.tableData = response.data.content
-          this.total = response.data.totalElements
-          this.loading = false
-        })
-        this.$axios.get("/holidayCalendar/").then(response => {
-          this.checkTableDate = response.data
-        })
-      },
-      //编辑框改变
-      editRowEvent(row) {
-        this.checkSign = true
-        this.timeStartEnd = [row.startTime, row.endTime]
-        this.btnLonding = true
-        this.$refs.xTable.setActiveRow(row)
-      },
-      //数据校验
-      saveCheck(row) {
-        this.$refs.xTable.validate(row, callback => {
-          if (this.timeStartEnd == null) {
-            // callback(new Error('开始结束日期不能为空'))
-            this.$XModal.message({status: 'error', message: '开始结束日期不能为空!'})
-          } else {
-            // 判断开始时间是否是大于当前日期
-            if (row.holidayTypeEnum == 'E2') {
-              const startTime = new Date(this.timeStartEnd[0])
-              const endTime = new Date(this.timeStartEnd[1])
-              // 判断开始时间和结束时间是否是周六周日,切是相邻的周六周日
-              //if ((startTime.getDay() == 6 || startTime.getDay() == 0||endTime.getDay() == 6 || endTime.getDay() == 0) && (this.timeStartEnd[1] - this.timeStartEnd[0] <= 1000 * 60 * 60 * 24 * 2)) {
-              if ((startTime.getDay() < 1 || startTime.getDay() > 5) && (endTime.getDay() < 1 || endTime.getDay() > 5) && (this.timeStartEnd[1] - this.timeStartEnd[0] <= 1000 * 60 * 60 * 24 * 2)) {
-                if (this.checkDate(this.timeStartEnd, this.checkTableDate, this.checkSign, row)) {
-                  this.$XModal.message({status: 'error', message: '当前假日已存在于已有的假期中!'})
-                } else {
-                  callback:this.saveRowEvent(row)
-                }
-              } else {
-
-                this.$XModal.message({status: 'error', message: '特殊工作日必须为周六周日且开始日期和结束日期相邻!'})
-              }
-            } else {
-              if (this.checkDate(this.timeStartEnd, this.checkTableDate, this.checkSign, row)) {
-                this.$XModal.message({status: 'error', message: '当前假日已存在于已有的假期中!'})
-              } else {
-                callback:this.saveRowEvent(row)
-              }
-            }
-          }
-        })
-      },
-      //保存数据操作
-      saveRowEvent(row) {
-        row.startTime = this.timeStartEnd[0]
-        row.endTime = this.timeStartEnd[1]
-        row.days = (row.endTime -row.startTime) / 86400000 + 1
-        this.saveLoding = true
-
-        this.$refs.xTable.validate(valid => {
-          if (valid) {
-            if (row.id == undefined) {
-
-              this.$axios.post("/holidayCalendar/", row).then(response => {
-                this.btnLonding = false
-                this.saveLoding = false
-                this.getAll()
-                this.$XModal.message({status: 'warning', message: response.message})
-
-              })
-            } else {
-              this.$axios.put("/holidayCalendar/", row).then(response => {
-                this.saveLoding = false
-                this.getAll()
-                this.$XModal.message({status: 'warning', message: response.message})
-              })
-            }
-          } else {
-            this.$XModal.message({status: 'error', message: '校验不通过!'})
-            this.saveLoding = false
-          }
-        })
-      },
-      //取消编辑或添加操作
-      cancelRowEvent(row) {
-        this.saveLoding = false
-        this.btnLonding = false
-        const xTable = this.$refs.xTable
-        if (row.id == undefined) {
-          this.$refs.xTable.remove(row)
-        } else {
-          xTable.clearActived().then(() => {
-            // 还原行数据
-            xTable.revertData(row)
-          })
-        }
-      },
-      //删除数据
-      removeEvent(row) {
-        this.$XModal.confirm('您确定要删除该数据?').then(type => {
-          if (type === 'confirm') {
-            this.$axios.delete("/holidayCalendar/", {data: row}).then(response => {
-              this.$XModal.message({status: 'warning', message: response.message})
-              this.getAll()
-            })
-          }
-        })
-      },
-      //时间戳日期转换器
-      timestampToTime(time) {
-        const date = new Date(time) // 时间戳为10位需*1000,时间戳为13位的话不需乘1000
-        const Y = date.getFullYear() + '-'
-        const M = (date.getMonth() + 1 < 10 ? '0' + (date.getMonth() + 1) : date.getMonth() + 1) + '-'
-        const D = date.getDate() < 10 ? '0' + (date.getDate()) : date.getDate()
-        return Y + M + D
-      },
-      //新增编辑框
-      insertEvent() {
-        this.timeStartEnd = []
-        this.showTable = true
-        this.btnLonding = true
-        this.checkSign = false
-        this.$refs.xTable.insert()
-          .then(({row}) => this.$refs.xTable.setActiveRow(row))
-      },
-      //分页触发事件
-      handlePageChange({currentPage, pageSize}) {
-        this.currentPage = currentPage
-        this.pageSize = pageSize
-        this.getAll()
-      },
-      //导出
-      exportDataEvent() {
-        this.loading = true
-        this.$axios.get('/holidayCalendar/').then(res => {
-          const data = res.data.content
-          this.$refs.xTable.exportData({
-            filename: '假期日历信息',
-            type: 'csv',
-            isHeader: true,
-            isFooter: true,
-            data
-          })
-          this.loading = false
-          // this.loading = false
-        }).catch(e => {
-          this.loading = false
-
-        })
-      },
-      //导入
-      // importDataEvent() {
-      //   this.$refs.xTable.importData({types: ['csv']})
-      // }
-    }
-  }
-</script>
-
-<style lang="scss" scoped>
-  .app-container {
-    /*left: 0;*/
-    /*width: 100%;*/
-    /*min-height: 100%;*/
-    /*height: auto;*/
-    /*background-image: linear-gradient(25deg, #05362d, #145d44, #24875d, #35b477)*/
-  }
-
-  .pagination {
-    margin: 20px 0;
-    text-align: right;
-  }
-</style>

+ 4 - 1
ipfcst-console/src/main/frontend/views/console/inverterInfo/index.vue

@@ -58,7 +58,7 @@
             <vxe-table-column align="center" title="逆变器信息">
               <vxe-table-column type="checkbox" width="3%"></vxe-table-column>
               <vxe-table-column :edit-render="{name: '$input', attrs: {type: 'text'}}" field="stationCode" title="场站编号"
-                                width="6%"></vxe-table-column>
+                                width="10%"></vxe-table-column>
               <vxe-table-column :edit-render="{name:'$input',attrs:{type:'text'}}" field="equipmentNo" title="设备编号"
                                 width="10%"></vxe-table-column>
               <vxe-table-column :edit-render="{name: '$input', attrs: {type: 'text'}}" align="center" field="name" title="名称"
@@ -203,6 +203,9 @@ export default {
       }],
       // 表单验证规则
       rules: {
+        stationCode: [
+          {required: true, message: '场站编号不能为空'},
+        ],
         name: [
           {required: true, validator: checkName}
         ],

+ 4 - 1
ipfcst-console/src/main/frontend/views/console/weatherStationInfo/index.vue

@@ -38,7 +38,7 @@
           :edit-config="{trigger: 'manual', mode: 'row',autoClear: false,icon:'none'}"
         >
           <vxe-table-column title="气象站信息">
-            <vxe-table-column field="stationCode" title="场站编号" width="6%"
+            <vxe-table-column field="stationCode" title="场站编号" width="10%"
                               :edit-render="{name: '$input', attrs: {type: 'text'}}"></vxe-table-column>
             <vxe-table-column field="name" title="名称"width="13%"
                               :edit-render="{name: '$input', attrs: {type: 'text'}}"></vxe-table-column>
@@ -181,6 +181,9 @@
           }
         ],
         rules: {
+          stationCode: [
+            {required: true, message: '场站编号不能为空'},
+          ],
           name: [
             {required: true, validator:checkName},
           ],

+ 5 - 2
ipfcst-console/src/main/frontend/views/console/windTowerInfo/index.vue

@@ -38,9 +38,9 @@
           :edit-config="{trigger: 'manual', mode: 'row',autoClear: false,icon:'none'}"
         >
           <vxe-table-column title="测风塔信息">
-            <vxe-table-column field="stationCode" title="场站编号" width="6%"
+            <vxe-table-column field="stationCode" title="场站编号" width="10%"
                               :edit-render="{name: '$input', attrs: {type: 'text'}}"></vxe-table-column>
-            <vxe-table-column field="name" title="名称"  width="13%"
+            <vxe-table-column field="name" title="名称"  width="10%"
                               :edit-render="{name: '$input', attrs: {type: 'text'}}"></vxe-table-column>
             <vxe-table-column field="manufacturer" title="生产商"  width="13%"
                               :edit-render="{name: '$input', attrs: {type: 'text'}}"></vxe-table-column>
@@ -191,6 +191,9 @@
           }
         ],
         rules: {
+          stationCode: [
+            {required: true, message: '场站编号不能为空'},
+          ],
           name: [
             {required: true,  validator:checkName},
           ],

+ 4 - 1
ipfcst-console/src/main/frontend/views/console/windTurbineInfo/index.vue

@@ -80,7 +80,7 @@
         >
           <vxe-table-column title="风机信息">
             <vxe-table-column type="checkbox" width="3%"/>
-            <vxe-table-column field="stationCode" title="场站编号" width="6%"
+            <vxe-table-column field="stationCode" title="场站编号" width="10%"
                               :edit-render="{name: '$input', attrs: {type: 'text'}}"></vxe-table-column>
             <vxe-table-column
               field="name"
@@ -389,6 +389,9 @@ export default {
       ],
       // 表单验证规则
       rules: {
+        stationCode: [
+          {required: true, message: '场站编号不能为空'},
+        ],
         name: [
           {required: true, validator: checkName}
         ],

+ 147 - 0
ipfcst-console/src/main/java/com/jiayue/ipfcst/console/controller/SysAlarmController.java

@@ -0,0 +1,147 @@
+package com.jiayue.ipfcst.console.controller;
+
+import com.jiayue.ipfcst.common.core.web.vo.ResponseVO;
+import com.jiayue.ipfcst.common.data.constant.enums.AlarmStatusEnum;
+import com.jiayue.ipfcst.common.data.constant.enums.AlarmTypeEnum;
+import com.jiayue.ipfcst.common.data.entity.SysAlarm;
+import com.jiayue.ipfcst.console.service.SysAlarmService;
+import lombok.SneakyThrows;
+import lombok.extern.slf4j.Slf4j;
+import org.springframework.beans.factory.annotation.Autowired;
+import org.springframework.data.domain.Page;
+import org.springframework.web.bind.annotation.*;
+
+import java.util.ArrayList;
+import java.util.HashMap;
+import java.util.List;
+import java.util.Map;
+
+/**
+ * 系统告警restful接口
+ *
+ * @author tl
+ * @version 3.0
+ * @since 2020/6/28 10:12
+ */
+@RestController
+@RequestMapping("SysAlarm")
+@Slf4j
+public class SysAlarmController {
+  private final SysAlarmService sysAlarmService;
+
+  @Autowired
+  public SysAlarmController(SysAlarmService sysAlarmService) {
+    this.sysAlarmService = sysAlarmService;
+  }
+
+  /**
+   * 获取告警信息
+   *
+   * @param page
+   * @param size
+   * @return 执行结果
+   */
+  @SneakyThrows
+  @GetMapping(value = "/{page}/{size}")
+  public ResponseVO getAll(@PathVariable("page") Integer page, @PathVariable("size") Integer size) {
+    SysAlarm sysAlarm = new SysAlarm();
+    Page<SysAlarm> sysParameterPage = this.sysAlarmService.get(sysAlarm, page, size);
+    return ResponseVO.success(sysParameterPage);
+  }
+
+  /**
+   * 查询
+   *
+   * @param page
+   * @param size
+   * @return 执行结果
+   */
+  @SneakyThrows
+  @GetMapping(value = "/{page}/{size}/{alarmTypeEnum}")
+  public ResponseVO getForNameAndAlarmTypeEnum(@PathVariable("page") Integer page, @PathVariable("size") Integer size,@PathVariable("alarmTypeEnum") AlarmTypeEnum alarmTypeEnum) {
+    SysAlarm sysAlarm = new SysAlarm();
+    Page<SysAlarm> sysParameterPage = this.sysAlarmService.getForNameAndAlarmTypeEnum(sysAlarm, page, size,alarmTypeEnum);
+    return ResponseVO.success(sysParameterPage);
+  }
+
+
+  /**
+   * 获取告警信息
+   *
+   * @return 执行结果
+   */
+  @SneakyThrows
+  @GetMapping()
+  public ResponseVO getAll() {
+    List<SysAlarm> list = this.sysAlarmService.getAll();
+    return ResponseVO.success(list);
+  }
+
+  /**
+   * 处理告警信息
+   *
+   * @return 执行结果
+   */
+  @SneakyThrows
+  @PutMapping()
+  public ResponseVO update(@RequestBody SysAlarm sysAlarm) {
+    try {
+      sysAlarmService.save(sysAlarm);
+      return ResponseVO.success(1);
+    } catch (Exception ex) {
+      return ResponseVO.success("处理告警信息出错:" + ex);
+    }
+  }
+
+  /**
+   * 获取问题类型枚举
+   *
+   * @return 执行结果
+   */
+  @SneakyThrows
+  @GetMapping("/getAlarmStatusEnum")
+  public ResponseVO getAlarmStatusEnum() {
+    List<Map<String, Object>> list = new ArrayList<>();
+    Map<String, Object> map;
+    try {
+      for (AlarmStatusEnum e : AlarmStatusEnum.values()) {
+        map = new HashMap<>();
+        map.put("label", e.getMessage());
+        map.put("key", e.name());
+        map.put("value", e.name());
+        list.add(map);
+      }
+      return ResponseVO.success(list);
+    } catch (Exception e) {
+      e.printStackTrace();
+      log.error(" 获取问题处理状态异常");
+      return ResponseVO.fail(list);
+    }
+  }
+
+  /**
+   * 获取问题类型枚举
+   *
+   * @return 执行结果
+   */
+  @SneakyThrows
+  @GetMapping("/getAlarmTypeEnum")
+  public ResponseVO getAlarmTypeEnum() {
+    List<Map<String, Object>> list = new ArrayList<>();
+    Map<String, Object> map;
+    try {
+      for (AlarmTypeEnum e : AlarmTypeEnum.values()) {
+        map = new HashMap<>();
+        map.put("label", e.getMessage());
+        map.put("key", e.name());
+        map.put("value", e.name());
+        list.add(map);
+      }
+      return ResponseVO.success(list);
+    } catch (Exception e) {
+      e.printStackTrace();
+      log.error(" 获取问题类型异常");
+      return ResponseVO.fail(list);
+    }
+  }
+}

+ 0 - 64
ipfcst-console/src/main/java/com/jiayue/ipfcst/console/service/FileAnalysisService.java

@@ -59,8 +59,6 @@ public class FileAnalysisService extends BaseService {
 
   ElectricFieldRepository electricFieldRepository;
 
-  HolidayCalendarService holidayCalendarService;
-
   private final String deleteFilelog = "文件删除异常";
 
   private final String format = "yyyy-MM-dd HH:mm:ss";
@@ -146,17 +144,6 @@ public class FileAnalysisService extends BaseService {
             }
           }
           if (fileName.length() < 30) {
-            //假期文件
-            if (file.getName().startsWith("JH")) {
-              List<HolidayCalendar> listJq = fileAnalysisJqTerm(file);
-              if (listJq.size() > 0) {
-                holidayCalendarRepository.deleteAll();
-                holidayCalendarRepository.saveAll(listJq);
-                flag = true;
-              } else {
-                flag = false;
-              }
-            }
             if (file.getName().startsWith("DQ")) {
               try {
                 List<ForecastPowerShortTerm> listDq = fileAnalysisShortTerm(file, currentDate, stationCode);
@@ -352,57 +339,6 @@ public class FileAnalysisService extends BaseService {
     return listNwp;
   }
 
-  /**
-   * 假期解析
-   *
-   * @param file 文件路径
-   * @return 样例集合
-   */
-  private List<HolidayCalendar> fileAnalysisJqTerm(File file) {
-    SimpleDateFormat sdf = new SimpleDateFormat(format);
-    List<HolidayCalendar> holidayCalendars = new ArrayList<>();
-    // 当文件未被使用时,进行解析上报
-    if (file.renameTo(file)) {
-      String stringLine;
-      HolidayCalendar holiday;
-      try(
-        InputStreamReader read = new InputStreamReader(new FileInputStream(file), StandardCharsets.UTF_8);
-        BufferedReader bufferedReader = new BufferedReader(read);){
-        while ((stringLine = bufferedReader.readLine()) != null) {
-          String[] string_arr = stringLine.split("\t");
-          if (string_arr.length == 7 && string_arr[0].startsWith("#")) {
-            holiday = new HolidayCalendar();
-            holiday.setId(Integer.parseInt(string_arr[1] + ""));
-            holiday.setName(string_arr[2] + "");
-            holiday.setStartTime(sdf.parse(string_arr[3]).getTime());
-            holiday.setEndTime(sdf.parse(string_arr[4]).getTime());
-            holiday.setDays(Integer.parseInt(string_arr[5] + ""));
-            if (string_arr[6].equals("1")) {
-              holiday.setHolidayTypeEnum(HolidayTypeEnum.valueOf(string_arr[6]));
-            }
-            holidayCalendars.add(holiday);
-          }
-        }
-      } catch (IOException | ParseException | RuntimeException e) {
-        log.error(systemErrorLog, e);
-        // 进行告警
-        File destFile = new File(file.getPath().replaceFirst("new", systemErrorLog));
-        if (destFile.exists()) {
-          try {
-            Files.delete(Paths.get(destFile.getPath()));
-          }catch (IOException e2){
-            log.info(deleteFilelog,e2);
-          }
-        }
-        try {
-          FileUtils.moveFile(file, destFile);
-        } catch (IOException e1) {
-          log.error(file.getName() + analysisFaild, e);
-        }
-      }
-    }
-    return holidayCalendars;
-  }
 
   /**
    * 短期解析

+ 0 - 91
ipfcst-console/src/main/java/com/jiayue/ipfcst/console/service/HolidayCalendarService.java

@@ -1,91 +0,0 @@
-package com.jiayue.ipfcst.console.service;
-
-import com.jiayue.ipfcst.common.core.exception.BusinessException;
-import com.jiayue.ipfcst.common.data.entity.HolidayCalendar;
-import com.jiayue.ipfcst.common.data.repository.HolidayCalendarRepository;
-import com.jiayue.ipfcst.common.data.service.BaseService;
-import lombok.extern.slf4j.Slf4j;
-import org.springframework.beans.factory.annotation.Autowired;
-import org.springframework.data.domain.*;
-import org.springframework.stereotype.Service;
-import org.springframework.transaction.annotation.Propagation;
-import org.springframework.transaction.annotation.Transactional;
-
-import java.util.List;
-
-/**
- * 假期日历业务类
- *
- * @author tl
- * @version 1.0
- * @since 2020/03/11 9:49
- */
-@Service
-@Slf4j
-public class HolidayCalendarService extends BaseService {
-  private final HolidayCalendarRepository holidayCalendarRepository;
-
-  @Autowired
-  public HolidayCalendarService(HolidayCalendarRepository holidayCalendarRepository) {
-    this.holidayCalendarRepository = holidayCalendarRepository;
-  }
-
-  /**
-   * 新增假期日历信息
-   *
-   * @param holidayCalendar 假期日历信息
-   */
-  public void save(HolidayCalendar holidayCalendar)
-    throws BusinessException {
-    this.holidayCalendarRepository.save(holidayCalendar);
-  }
-
-  /**
-   * 删除假期日历信息
-   */
-  @Transactional(rollbackFor = Exception.class, propagation = Propagation.SUPPORTS)
-  public void delete(final Integer id) throws BusinessException {
-    this.holidayCalendarRepository.deleteById(id);
-  }
-
-  /**
-   * 修改假期日历信息
-   */
-  @Transactional(rollbackFor = Exception.class, propagation = Propagation.SUPPORTS)
-  public void update(HolidayCalendar holidayCalendar)
-    throws BusinessException {
-    if (holidayCalendar.getId() == null) {
-      throw new BusinessException("日历编号不能为空");
-    } else {
-      this.holidayCalendarRepository.save(holidayCalendar);
-    }
-  }
-
-  /**
-   * 分页查询
-   */
-  @Transactional(rollbackFor = Exception.class, propagation = Propagation.SUPPORTS, readOnly = true)
-  public Page<HolidayCalendar> get(
-    final HolidayCalendar holidayCalendar, final Integer page, final Integer size) {
-    ExampleMatcher matcher =
-      ExampleMatcher.matching().withMatcher("id", ExampleMatcher.GenericPropertyMatchers.contains());
-    Example<HolidayCalendar> example = Example.of(holidayCalendar, matcher);
-    Pageable pageable = PageRequest.of(page - 1, size);
-    return this.holidayCalendarRepository.findAll(example, pageable);
-
-  }
-
-
-  @Transactional(rollbackFor = Exception.class, propagation = Propagation.SUPPORTS, readOnly = true)
-  public List<HolidayCalendar> getAll() {
-
-    return this.holidayCalendarRepository.findAll();
-
-  }
-
-  @Transactional(propagation = Propagation.REQUIRED, rollbackFor = Exception.class)
-  public void saveCloud(List<HolidayCalendar> beans) {
-    holidayCalendarRepository.deleteAll();
-    holidayCalendarRepository.saveAll(beans);
-  }
-}

+ 116 - 0
ipfcst-console/src/main/java/com/jiayue/ipfcst/console/service/SysAlarmService.java

@@ -0,0 +1,116 @@
+package com.jiayue.ipfcst.console.service;
+
+import com.jiayue.ipfcst.common.data.constant.enums.AlarmTypeEnum;
+import com.jiayue.ipfcst.common.data.entity.SysAlarm;
+import com.jiayue.ipfcst.common.data.repository.SysAlarmRepository;
+import lombok.extern.slf4j.Slf4j;
+import org.springframework.beans.factory.annotation.Autowired;
+import org.springframework.data.domain.*;
+import org.springframework.data.jpa.domain.Specification;
+import org.springframework.stereotype.Service;
+import org.springframework.transaction.annotation.Propagation;
+import org.springframework.transaction.annotation.Transactional;
+
+import javax.persistence.criteria.Predicate;
+import java.util.ArrayList;
+import java.util.List;
+
+@Service
+@Slf4j
+public class SysAlarmService {
+    private final SysAlarmRepository sysAlarmRepository;
+
+    @Autowired
+    public SysAlarmService(SysAlarmRepository sysAlarmRepository) {
+        this.sysAlarmRepository = sysAlarmRepository;
+    }
+
+    /**
+     * 插入告警信息
+     *
+     * @param
+     */
+    @Transactional(propagation = Propagation.SUPPORTS)
+    public void save(SysAlarm sysAlarm) {
+
+        this.sysAlarmRepository.save(sysAlarm);
+    }
+
+    /**
+     * 删除告警信息
+     */
+    @Transactional(propagation = Propagation.SUPPORTS)
+    public void delete(Integer id) {
+        sysAlarmRepository.deleteById(id);
+    }
+
+    /**
+     * 查询告警信息
+     *
+     * @return 告警信息
+     */
+    @Transactional(propagation = Propagation.NOT_SUPPORTED, readOnly = true)
+    public Page<SysAlarm> get(
+            final SysAlarm sysAlarm, final Integer page, final Integer size) {
+      List<Sort.Order> orders = new ArrayList<Sort.Order>();
+
+      orders.add(new Sort.Order(Sort.Direction.DESC, "createTime"));
+
+
+      Sort sort = Sort.by(orders);
+      Specification<SysAlarm> specification = this.specification();
+      Pageable pageable = PageRequest.of(page - 1, size, sort);
+      Page windTurbineStatusDatas = sysAlarmRepository.findAll(specification,pageable);
+
+      return windTurbineStatusDatas;
+    }
+
+  /**
+   * 根据时间和编号 分页查询条件 yh
+   *
+   * @return 过滤条件
+   */
+  Specification<SysAlarm> specification() {
+    return (Specification<SysAlarm>) (root, criteriaQuery, cb) -> {
+      List<Predicate> predicates = new ArrayList<>();
+      //添加排序的功能
+      return cb.and(predicates.toArray(new Predicate[predicates.size()]));
+
+    };
+  }
+
+    /**
+      * 查询告警信息
+     *
+       * @return 告警信息
+     */
+  @Transactional(propagation = Propagation.NOT_SUPPORTED, readOnly = true)
+  public List<SysAlarm> getAll(){
+    return this.sysAlarmRepository.findAll();
+  }
+
+    public static void main(String[] args) {
+        String val = "http://www.163.com?id=";
+        for (int i = 1; i < 97; i++) {
+            val = val + i + ":20.22|";
+        }
+        System.out.println(val);
+    }
+
+  /**
+   * 根据描述查询告警信息
+   *
+   * @return 告警信息
+   */
+  @Transactional(propagation = Propagation.NOT_SUPPORTED, readOnly = true)
+  public Page<SysAlarm> getForNameAndAlarmTypeEnum(SysAlarm sysAlarm, Integer page, Integer size, AlarmTypeEnum alarmTypeEnum){
+    sysAlarm.setAlarmTypeEnum(alarmTypeEnum);
+    ExampleMatcher matcher = ExampleMatcher.matching().withMatcher("modelNumber", ExampleMatcher.GenericPropertyMatchers.contains())
+      .withMatcher("alarmTypeEnum", ExampleMatcher.GenericPropertyMatchers.contains());
+    Example<SysAlarm> example = Example.of(sysAlarm, matcher);
+    Pageable pageable = PageRequest.of(page - 1, size);
+    return this.sysAlarmRepository.findAll(example, pageable);
+  }
+
+
+}

+ 0 - 128
ipfcst-console/src/main/resources/sql/t_init_job_class.sql

@@ -1,135 +1,7 @@
 INSERT INTO t_init_job_class  (C_JOB_CLASS_NAME, C_JOB_CLASS_PATH, C_JOB_CLASS_TYPE, C_STATION_CODE) select '短期', 'com.jiayue.ipfcst.fileupload.job.UploadFileE1Job', 'fileCreate', '' from dual where not exists (select C_JOB_CLASS_NAME from t_init_job_class where C_JOB_CLASS_NAME = '短期') ;
 INSERT INTO t_init_job_class  (C_JOB_CLASS_NAME, C_JOB_CLASS_PATH, C_JOB_CLASS_TYPE, C_STATION_CODE) select '超短期', 'com.jiayue.ipfcst.fileupload.job.UploadFileE2Job', 'fileCreate', '' from dual where not exists (select C_JOB_CLASS_NAME from t_init_job_class where C_JOB_CLASS_NAME = '超短期') ;
 INSERT INTO t_init_job_class  (C_JOB_CLASS_NAME, C_JOB_CLASS_PATH, C_JOB_CLASS_TYPE, C_STATION_CODE) select '理论功率', 'com.jiayue.ipfcst.fileupload.job.UploadFileE3Job', 'fileCreate', '' from dual where not exists (select C_JOB_CLASS_NAME from t_init_job_class where C_JOB_CLASS_NAME = '理论功率') ;
-INSERT INTO t_init_job_class  (C_JOB_CLASS_NAME, C_JOB_CLASS_PATH, C_JOB_CLASS_TYPE, C_STATION_CODE) select '24NWP', 'com.jiayue.ipfcst.fileupload.job.UploadFileE4Job', 'fileCreate', '' from dual where not exists (select C_JOB_CLASS_NAME from t_init_job_class where C_JOB_CLASS_NAME = '24NWP') ;
-INSERT INTO t_init_job_class  (C_JOB_CLASS_NAME, C_JOB_CLASS_PATH, C_JOB_CLASS_TYPE, C_STATION_CODE) select '72NWP', 'com.jiayue.ipfcst.fileupload.job.UploadFileE5Job', 'fileCreate', '' from dual where not exists (select C_JOB_CLASS_NAME from t_init_job_class where C_JOB_CLASS_NAME = '72NWP') ;
 INSERT INTO t_init_job_class  (C_JOB_CLASS_NAME, C_JOB_CLASS_PATH, C_JOB_CLASS_TYPE, C_STATION_CODE) select '气象站', 'com.jiayue.ipfcst.fileupload.job.UploadFileE6Job', 'fileCreate', '' from dual where not exists (select C_JOB_CLASS_NAME from t_init_job_class where C_JOB_CLASS_NAME = '气象站') ;
-INSERT INTO t_init_job_class  (C_JOB_CLASS_NAME, C_JOB_CLASS_PATH, C_JOB_CLASS_TYPE, C_STATION_CODE) select '测风塔', 'com.jiayue.ipfcst.fileupload.job.UploadFileE7Job', 'fileCreate', '' from dual where not exists (select C_JOB_CLASS_NAME from t_init_job_class where C_JOB_CLASS_NAME = '测风塔') ;
 INSERT INTO t_init_job_class  (C_JOB_CLASS_NAME, C_JOB_CLASS_PATH, C_JOB_CLASS_TYPE, C_STATION_CODE) select '逆变器', 'com.jiayue.ipfcst.fileupload.job.UploadFileE8Job', 'fileCreate', '' from dual where not exists (select C_JOB_CLASS_NAME from t_init_job_class where C_JOB_CLASS_NAME = '逆变器') ;
-INSERT INTO t_init_job_class  (C_JOB_CLASS_NAME, C_JOB_CLASS_PATH, C_JOB_CLASS_TYPE, C_STATION_CODE) select '风机信息', 'com.jiayue.ipfcst.fileupload.job.UploadFileE9Job', 'fileCreate', '' from dual where not exists (select C_JOB_CLASS_NAME from t_init_job_class where C_JOB_CLASS_NAME = '风机信息') ;
-INSERT INTO t_init_job_class  (C_JOB_CLASS_NAME, C_JOB_CLASS_PATH, C_JOB_CLASS_TYPE, C_STATION_CODE) select '光伏组件信息', 'com.jiayue.ipfcst.fileupload.job.UploadFileE10Job', 'fileCreate', '' from dual where not exists (select C_JOB_CLASS_NAME from t_init_job_class where C_JOB_CLASS_NAME = '光伏组件信息') ;
-INSERT INTO t_init_job_class  (C_JOB_CLASS_NAME, C_JOB_CLASS_PATH, C_JOB_CLASS_TYPE, C_STATION_CODE) select '检修计划', 'com.jiayue.ipfcst.fileupload.job.UploadFileE11Job', 'fileCreate', '' from dual where not exists (select C_JOB_CLASS_NAME from t_init_job_class where C_JOB_CLASS_NAME = '检修计划') ;
-INSERT INTO t_init_job_class  (C_JOB_CLASS_NAME, C_JOB_CLASS_PATH, C_JOB_CLASS_TYPE, C_STATION_CODE) select '昨日开机容量', 'com.jiayue.ipfcst.fileupload.job.UploadFileE12Job', 'fileCreate', '' from dual where not exists (select C_JOB_CLASS_NAME from t_init_job_class where C_JOB_CLASS_NAME = '昨日开机容量') ;
-INSERT INTO t_init_job_class  (C_JOB_CLASS_NAME, C_JOB_CLASS_PATH, C_JOB_CLASS_TYPE, C_STATION_CODE) select '短期发电计划', 'com.jiayue.ipfcst.fileupload.job.UploadFileE13Job', 'fileCreate', '' from dual where not exists (select C_JOB_CLASS_NAME from t_init_job_class where C_JOB_CLASS_NAME = '短期发电计划') ;
-INSERT INTO t_init_job_class  (C_JOB_CLASS_NAME, C_JOB_CLASS_PATH, C_JOB_CLASS_TYPE, C_STATION_CODE) select '超短期发电计划', 'com.jiayue.ipfcst.fileupload.job.UploadFileE14Job', 'fileCreate', '' from dual where not exists (select C_JOB_CLASS_NAME from t_init_job_class where C_JOB_CLASS_NAME = '超短期发电计划') ;
-INSERT INTO t_init_job_class  (C_JOB_CLASS_NAME, C_JOB_CLASS_PATH, C_JOB_CLASS_TYPE, C_STATION_CODE) select '日前预测', 'com.jiayue.ipfcst.fileupload.job.UploadFileE15Job', 'fileCreate', '' from dual where not exists (select C_JOB_CLASS_NAME from t_init_job_class where C_JOB_CLASS_NAME = '日前预测') ;
-INSERT INTO t_init_job_class  (C_JOB_CLASS_NAME, C_JOB_CLASS_PATH, C_JOB_CLASS_TYPE, C_STATION_CODE) select '日前预测14', 'com.jiayue.ipfcst.fileupload.job.UploadFileE16Job', 'fileCreate', '' from dual where not exists (select C_JOB_CLASS_NAME from t_init_job_class where C_JOB_CLASS_NAME = '日前预测14') ;
-INSERT INTO t_init_job_class  (C_JOB_CLASS_NAME, C_JOB_CLASS_PATH, C_JOB_CLASS_TYPE, C_STATION_CODE) select '短期168', 'com.jiayue.ipfcst.fileupload.job.UploadFileE17Job', 'fileCreate', '' from dual where not exists (select C_JOB_CLASS_NAME from t_init_job_class where C_JOB_CLASS_NAME = '短期168') ;
-INSERT INTO t_init_job_class  (C_JOB_CLASS_NAME, C_JOB_CLASS_PATH, C_JOB_CLASS_TYPE, C_STATION_CODE) select '限电计划', 'com.jiayue.ipfcst.fileupload.job.UploadFileE18Job', 'fileCreate', '' from dual where not exists (select C_JOB_CLASS_NAME from t_init_job_class where C_JOB_CLASS_NAME = '限电计划') ;
-INSERT INTO t_init_job_class  (C_JOB_CLASS_NAME, C_JOB_CLASS_PATH, C_JOB_CLASS_TYPE, C_STATION_CODE) select '弃电计划', 'com.jiayue.ipfcst.fileupload.job.UploadFileE19Job', 'fileCreate', '' from dual where not exists (select C_JOB_CLASS_NAME from t_init_job_class where C_JOB_CLASS_NAME = '弃电计划') ;
-INSERT INTO t_init_job_class  (C_JOB_CLASS_NAME, C_JOB_CLASS_PATH, C_JOB_CLASS_TYPE, C_STATION_CODE) select '场站信息', 'com.jiayue.ipfcst.fileupload.job.UploadFileE20Job', 'fileCreate', '' from dual where not exists (select C_JOB_CLASS_NAME from t_init_job_class where C_JOB_CLASS_NAME = '场站信息') ;
-INSERT INTO t_init_job_class  (C_JOB_CLASS_NAME, C_JOB_CLASS_PATH, C_JOB_CLASS_TYPE, C_STATION_CODE) select '短期_集控', 'com.jiayue.ipfcst.fileupload.job.UploadFileE21Job', 'fileCreate', '' from dual where not exists (select C_JOB_CLASS_NAME from t_init_job_class where C_JOB_CLASS_NAME = '短期_集控') ;
-INSERT INTO t_init_job_class  (C_JOB_CLASS_NAME, C_JOB_CLASS_PATH, C_JOB_CLASS_TYPE, C_STATION_CODE) select '超短期_集控', 'com.jiayue.ipfcst.fileupload.job.UploadFileE22Job', 'fileCreate', '' from dual where not exists (select C_JOB_CLASS_NAME from t_init_job_class where C_JOB_CLASS_NAME = '超短期_集控') ;
-INSERT INTO t_init_job_class  (C_JOB_CLASS_NAME, C_JOB_CLASS_PATH, C_JOB_CLASS_TYPE, C_STATION_CODE) select '测风塔_集控', 'com.jiayue.ipfcst.fileupload.job.UploadFileE23Job', 'fileCreate', '' from dual where not exists (select C_JOB_CLASS_NAME from t_init_job_class where C_JOB_CLASS_NAME = '测风塔_集控') ;
-INSERT INTO t_init_job_class  (C_JOB_CLASS_NAME, C_JOB_CLASS_PATH, C_JOB_CLASS_TYPE, C_STATION_CODE) select '72NWP_集控', 'com.jiayue.ipfcst.fileupload.job.UploadFileE24Job', 'fileCreate', '' from dual where not exists (select C_JOB_CLASS_NAME from t_init_job_class where C_JOB_CLASS_NAME = '72NWP_集控') ;
-INSERT INTO t_init_job_class  (C_JOB_CLASS_NAME, C_JOB_CLASS_PATH, C_JOB_CLASS_TYPE, C_STATION_CODE) select '短期_D5000', 'com.jiayue.ipfcst.fileupload.job.UploadFileE25Job', 'fileCreate', '' from dual where not exists (select C_JOB_CLASS_NAME from t_init_job_class where C_JOB_CLASS_NAME = '短期_D5000') ;
 INSERT INTO t_init_job_class  (C_JOB_CLASS_NAME, C_JOB_CLASS_PATH, C_JOB_CLASS_TYPE, C_STATION_CODE) select '可用短期', 'com.jiayue.ipfcst.fileupload.job.UploadFileE26Job', 'fileCreate', '' from dual where not exists (select C_JOB_CLASS_NAME from t_init_job_class where C_JOB_CLASS_NAME = '可用短期') ;
 INSERT INTO t_init_job_class  (C_JOB_CLASS_NAME, C_JOB_CLASS_PATH, C_JOB_CLASS_TYPE, C_STATION_CODE) select '可用超短期', 'com.jiayue.ipfcst.fileupload.job.UploadFileE27Job', 'fileCreate', '' from dual where not exists (select C_JOB_CLASS_NAME from t_init_job_class where C_JOB_CLASS_NAME = '可用超短期') ;
-INSERT INTO t_init_job_class  (C_JOB_CLASS_NAME, C_JOB_CLASS_PATH, C_JOB_CLASS_TYPE, C_STATION_CODE) select '理论超短期', 'com.jiayue.ipfcst.fileupload.job.UploadFileE28Job', 'fileCreate', '' from dual where not exists (select C_JOB_CLASS_NAME from t_init_job_class where C_JOB_CLASS_NAME = '理论超短期') ;
-INSERT INTO t_init_job_class  (C_JOB_CLASS_NAME, C_JOB_CLASS_PATH, C_JOB_CLASS_TYPE, C_STATION_CODE) select '短期预测风速风向', 'com.jiayue.ipfcst.fileupload.job.UploadFileE29Job', 'fileCreate', '' from dual where not exists (select C_JOB_CLASS_NAME from t_init_job_class where C_JOB_CLASS_NAME = '短期预测风速风向') ;
-INSERT INTO t_init_job_class  (C_JOB_CLASS_NAME, C_JOB_CLASS_PATH, C_JOB_CLASS_TYPE, C_STATION_CODE) select '实测功率', 'com.jiayue.ipfcst.fileupload.job.UploadFileE30Job', 'fileCreate', '' from dual where not exists (select C_JOB_CLASS_NAME from t_init_job_class where C_JOB_CLASS_NAME = '实测功率') ;
-INSERT INTO t_init_job_class  (C_JOB_CLASS_NAME, C_JOB_CLASS_PATH, C_JOB_CLASS_TYPE, C_STATION_CODE) select '短期预测辐照度', 'com.jiayue.ipfcst.fileupload.job.UploadFileE31Job', 'fileCreate', '' from dual where not exists (select C_JOB_CLASS_NAME from t_init_job_class where C_JOB_CLASS_NAME = '短期预测辐照度') ;
-INSERT INTO t_init_job_class  (C_JOB_CLASS_NAME, C_JOB_CLASS_PATH, C_JOB_CLASS_TYPE, C_STATION_CODE) select '短期日志', 'com.jiayue.ipfcst.fileupload.job.UploadFileE32Job', 'fileCreate', '' from dual where not exists (select C_JOB_CLASS_NAME from t_init_job_class where C_JOB_CLASS_NAME = '短期日志') ;
-INSERT INTO t_init_job_class  (C_JOB_CLASS_NAME, C_JOB_CLASS_PATH, C_JOB_CLASS_TYPE, C_STATION_CODE) select '超短期日志', 'com.jiayue.ipfcst.fileupload.job.UploadFileE33Job', 'fileCreate', '' from dual where not exists (select C_JOB_CLASS_NAME from t_init_job_class where C_JOB_CLASS_NAME = '超短期日志') ;
-INSERT INTO t_init_job_class  (C_JOB_CLASS_NAME, C_JOB_CLASS_PATH, C_JOB_CLASS_TYPE, C_STATION_CODE) select '短期可用日志', 'com.jiayue.ipfcst.fileupload.job.UploadFileE34Job', 'fileCreate', '' from dual where not exists (select C_JOB_CLASS_NAME from t_init_job_class where C_JOB_CLASS_NAME = '短期可用日志') ;
-INSERT INTO t_init_job_class  (C_JOB_CLASS_NAME, C_JOB_CLASS_PATH, C_JOB_CLASS_TYPE, C_STATION_CODE) select '超短期可用日志', 'com.jiayue.ipfcst.fileupload.job.UploadFileE35Job', 'fileCreate', '' from dual where not exists (select C_JOB_CLASS_NAME from t_init_job_class where C_JOB_CLASS_NAME = '超短期可用日志') ;
-INSERT INTO t_init_job_class  (C_JOB_CLASS_NAME, C_JOB_CLASS_PATH, C_JOB_CLASS_TYPE, C_STATION_CODE) select '气象站日志', 'com.jiayue.ipfcst.fileupload.job.UploadFileE36Job', 'fileCreate', '' from dual where not exists (select C_JOB_CLASS_NAME from t_init_job_class where C_JOB_CLASS_NAME = '气象站日志') ;
-INSERT INTO t_init_job_class  (C_JOB_CLASS_NAME, C_JOB_CLASS_PATH, C_JOB_CLASS_TYPE, C_STATION_CODE) select '理论功率日志', 'com.jiayue.ipfcst.fileupload.job.UploadFileE37Job', 'fileCreate', '' from dual where not exists (select C_JOB_CLASS_NAME from t_init_job_class where C_JOB_CLASS_NAME = '理论功率日志') ;
-INSERT INTO t_init_job_class  (C_JOB_CLASS_NAME, C_JOB_CLASS_PATH, C_JOB_CLASS_TYPE, C_STATION_CODE) select '逆变器日志', 'com.jiayue.ipfcst.fileupload.job.UploadFileE38Job', 'fileCreate', '' from dual where not exists (select C_JOB_CLASS_NAME from t_init_job_class where C_JOB_CLASS_NAME = '逆变器日志') ;
-INSERT INTO t_init_job_class  (C_JOB_CLASS_NAME, C_JOB_CLASS_PATH, C_JOB_CLASS_TYPE, C_STATION_CODE) select '风机信息日志', 'com.jiayue.ipfcst.fileupload.job.UploadFileE39Job', 'fileCreate', '' from dual where not exists (select C_JOB_CLASS_NAME from t_init_job_class where C_JOB_CLASS_NAME = '风机信息日志') ;
-INSERT INTO t_init_job_class  (C_JOB_CLASS_NAME, C_JOB_CLASS_PATH, C_JOB_CLASS_TYPE, C_STATION_CODE) select '测风塔日志', 'com.jiayue.ipfcst.fileupload.job.UploadFileE40Job', 'fileCreate', '' from dual where not exists (select C_JOB_CLASS_NAME from t_init_job_class where C_JOB_CLASS_NAME = '测风塔日志') ;
-INSERT INTO t_init_job_class  (C_JOB_CLASS_NAME, C_JOB_CLASS_PATH, C_JOB_CLASS_TYPE, C_STATION_CODE) select '指标数据', 'com.jiayue.ipfcst.fileupload.job.UploadFileE41Job', 'fileCreate', '' from dual where not exists (select C_JOB_CLASS_NAME from t_init_job_class where C_JOB_CLASS_NAME = '指标数据') ;
-INSERT INTO t_init_job_class  (C_JOB_CLASS_NAME, C_JOB_CLASS_PATH, C_JOB_CLASS_TYPE, C_STATION_CODE) select '电网上报状态', 'com.jiayue.ipfcst.fileupload.job.UploadFileE42Job', 'fileCreate', '' from dual where not exists (select C_JOB_CLASS_NAME from t_init_job_class where C_JOB_CLASS_NAME = '电网上报状态') ;
-INSERT INTO t_init_job_class  (C_JOB_CLASS_NAME, C_JOB_CLASS_PATH, C_JOB_CLASS_TYPE, C_STATION_CODE) select '预测准确率', 'com.jiayue.ipfcst.fileupload.job.UploadFileE43Job', 'fileCreate', '' from dual where not exists (select C_JOB_CLASS_NAME from t_init_job_class where C_JOB_CLASS_NAME = '预测准确率') ;
-INSERT INTO t_init_job_class  (C_JOB_CLASS_NAME, C_JOB_CLASS_PATH, C_JOB_CLASS_TYPE, C_STATION_CODE) select '升压变', 'com.jiayue.ipfcst.fileupload.job.UploadFileE44Job', 'fileCreate', '' from dual where not exists (select C_JOB_CLASS_NAME from t_init_job_class where C_JOB_CLASS_NAME = '升压变') ;
-INSERT INTO t_init_job_class  (C_JOB_CLASS_NAME, C_JOB_CLASS_PATH, C_JOB_CLASS_TYPE, C_STATION_CODE) select '超短期预测风速风向', 'com.jiayue.ipfcst.fileupload.job.UploadFileE45Job', 'fileCreate', '' from dual where not exists (select C_JOB_CLASS_NAME from t_init_job_class where C_JOB_CLASS_NAME = '超短期预测风速风向') ;
-INSERT INTO t_init_job_class  (C_JOB_CLASS_NAME, C_JOB_CLASS_PATH, C_JOB_CLASS_TYPE, C_STATION_CODE) select '超短期SFTP', 'com.jiayue.ipfcst.fileupload.job.UploadFileE46Job', 'fileCreate', '' from dual where not exists (select C_JOB_CLASS_NAME from t_init_job_class where C_JOB_CLASS_NAME = '超短期SFTP') ;
-INSERT INTO t_init_job_class  (C_JOB_CLASS_NAME, C_JOB_CLASS_PATH, C_JOB_CLASS_TYPE, C_STATION_CODE) select '短期SFTP', 'com.jiayue.ipfcst.fileupload.job.UploadFileE49Job', 'fileCreate', '' from dual where not exists (select C_JOB_CLASS_NAME from t_init_job_class where C_JOB_CLASS_NAME = '短期SFTP') ;
-INSERT INTO t_init_job_class  (C_JOB_CLASS_NAME, C_JOB_CLASS_PATH, C_JOB_CLASS_TYPE, C_STATION_CODE) select '超短期预测辐照度', 'com.jiayue.ipfcst.fileupload.job.UploadFileE47Job', 'fileCreate', '' from dual where not exists (select C_JOB_CLASS_NAME from t_init_job_class where C_JOB_CLASS_NAME = '超短期预测辐照度') ;
-INSERT INTO t_init_job_class  (C_JOB_CLASS_NAME, C_JOB_CLASS_PATH, C_JOB_CLASS_TYPE, C_STATION_CODE) select '单机', 'com.jiayue.ipfcst.fileupload.job.UploadFileE48Job', 'fileCreate', '' from dual where not exists (select C_JOB_CLASS_NAME from t_init_job_class where C_JOB_CLASS_NAME = '单机') ;
-INSERT INTO t_init_job_class  (C_JOB_CLASS_NAME, C_JOB_CLASS_PATH, C_JOB_CLASS_TYPE, C_STATION_CODE) select '准确率统计', 'com.jiayue.ipfcst.calculate.job.AccuracyPassRateCalculateJob', 'other', '' from dual where not exists (select C_JOB_CLASS_NAME from t_init_job_class where C_JOB_CLASS_NAME = '准确率统计') ;
-INSERT INTO t_init_job_class  (C_JOB_CLASS_NAME, C_JOB_CLASS_PATH, C_JOB_CLASS_TYPE, C_STATION_CODE) select '短期02', 'com.jiayue.ipfcst.fileupload.job.UploadFileE59Job', 'fileCreate', '' from dual where not exists (select C_JOB_CLASS_NAME from t_init_job_class where C_JOB_CLASS_NAME = '短期02') ;
-INSERT INTO t_init_job_class  (C_JOB_CLASS_NAME, C_JOB_CLASS_PATH, C_JOB_CLASS_TYPE, C_STATION_CODE) select '离线理论功率', 'com.jiayue.ipfcst.fileupload.job.UploadFileE60Job', 'fileCreate', '' from dual where not exists (select C_JOB_CLASS_NAME from t_init_job_class where C_JOB_CLASS_NAME = '离线理论功率') ;
-INSERT INTO t_init_job_class  (C_JOB_CLASS_NAME, C_JOB_CLASS_PATH, C_JOB_CLASS_TYPE, C_STATION_CODE) select '在线理论功率', 'com.jiayue.ipfcst.fileupload.job.UploadFileE61Job', 'fileCreate', '' from dual where not exists (select C_JOB_CLASS_NAME from t_init_job_class where C_JOB_CLASS_NAME = '在线理论功率') ;
-INSERT INTO t_init_job_class  (C_JOB_CLASS_NAME, C_JOB_CLASS_PATH, C_JOB_CLASS_TYPE, C_STATION_CODE) select '湖北短期', 'com.jiayue.ipfcst.fileupload.job.UploadFileE62Job', 'fileCreate', '' from dual where not exists (select C_JOB_CLASS_NAME from t_init_job_class where C_JOB_CLASS_NAME = '湖北短期') ;
-INSERT INTO t_init_job_class  (C_JOB_CLASS_NAME, C_JOB_CLASS_PATH, C_JOB_CLASS_TYPE, C_STATION_CODE) select '湖北超短期', 'com.jiayue.ipfcst.fileupload.job.UploadFileE63Job', 'fileCreate', '' from dual where not exists (select C_JOB_CLASS_NAME from t_init_job_class where C_JOB_CLASS_NAME = '湖北超短期') ;
-INSERT INTO t_init_job_class  (C_JOB_CLASS_NAME, C_JOB_CLASS_PATH, C_JOB_CLASS_TYPE, C_STATION_CODE) select '湖北72nwp', 'com.jiayue.ipfcst.fileupload.job.UploadFileE64Job', 'fileCreate', '' from dual where not exists (select C_JOB_CLASS_NAME from t_init_job_class where C_JOB_CLASS_NAME = '湖北72nwp') ;
-INSERT INTO t_init_job_class  (C_JOB_CLASS_NAME, C_JOB_CLASS_PATH, C_JOB_CLASS_TYPE, C_STATION_CODE) select '湖北气象站', 'com.jiayue.ipfcst.fileupload.job.UploadFileE65Job', 'fileCreate', '' from dual where not exists (select C_JOB_CLASS_NAME from t_init_job_class where C_JOB_CLASS_NAME = '湖北气象站') ;
-INSERT INTO t_init_job_class  (C_JOB_CLASS_NAME, C_JOB_CLASS_PATH, C_JOB_CLASS_TYPE, C_STATION_CODE) select '湖北测风塔', 'com.jiayue.ipfcst.fileupload.job.UploadFileE66Job', 'fileCreate', '' from dual where not exists (select C_JOB_CLASS_NAME from t_init_job_class where C_JOB_CLASS_NAME = '湖北测风塔') ;
-INSERT INTO t_init_job_class  (C_JOB_CLASS_NAME, C_JOB_CLASS_PATH, C_JOB_CLASS_TYPE, C_STATION_CODE) select '湖北单机', 'com.jiayue.ipfcst.fileupload.job.UploadFileE67Job', 'fileCreate', '' from dual where not exists (select C_JOB_CLASS_NAME from t_init_job_class where C_JOB_CLASS_NAME = '湖北单机') ;
-INSERT INTO t_init_job_class  (C_JOB_CLASS_NAME, C_JOB_CLASS_PATH, C_JOB_CLASS_TYPE, C_STATION_CODE) select '湖北逆变器', 'com.jiayue.ipfcst.fileupload.job.UploadFileE84Job', 'fileCreate', '' from dual where not exists (select C_JOB_CLASS_NAME from t_init_job_class where C_JOB_CLASS_NAME = '湖北逆变器') ;
-INSERT INTO t_init_job_class  (C_JOB_CLASS_NAME, C_JOB_CLASS_PATH, C_JOB_CLASS_TYPE, C_STATION_CODE) select '湖北地调短期', 'com.jiayue.ipfcst.fileupload.job.UploadFileE68Job', 'fileCreate', '' from dual where not exists (select C_JOB_CLASS_NAME from t_init_job_class where C_JOB_CLASS_NAME = '湖北地调短期') ;
-INSERT INTO t_init_job_class  (C_JOB_CLASS_NAME, C_JOB_CLASS_PATH, C_JOB_CLASS_TYPE, C_STATION_CODE) select '湖北地调超短期', 'com.jiayue.ipfcst.fileupload.job.UploadFileE69Job', 'fileCreate', '' from dual where not exists (select C_JOB_CLASS_NAME from t_init_job_class where C_JOB_CLASS_NAME = '湖北地调超短期') ;
-INSERT INTO t_init_job_class  (C_JOB_CLASS_NAME, C_JOB_CLASS_PATH, C_JOB_CLASS_TYPE, C_STATION_CODE) select '湖北地调72nwp', 'com.jiayue.ipfcst.fileupload.job.UploadFileE70Job', 'fileCreate', '' from dual where not exists (select C_JOB_CLASS_NAME from t_init_job_class where C_JOB_CLASS_NAME = '湖北地调72nwp') ;
-INSERT INTO t_init_job_class  (C_JOB_CLASS_NAME, C_JOB_CLASS_PATH, C_JOB_CLASS_TYPE, C_STATION_CODE) select '湖北地调测风塔', 'com.jiayue.ipfcst.fileupload.job.UploadFileE72Job', 'fileCreate', '' from dual where not exists (select C_JOB_CLASS_NAME from t_init_job_class where C_JOB_CLASS_NAME = '湖北地调测风塔') ;
-INSERT INTO t_init_job_class  (C_JOB_CLASS_NAME, C_JOB_CLASS_PATH, C_JOB_CLASS_TYPE, C_STATION_CODE) select '湖北地调单机', 'com.jiayue.ipfcst.fileupload.job.UploadFileE73Job', 'fileCreate', '' from dual where not exists (select C_JOB_CLASS_NAME from t_init_job_class where C_JOB_CLASS_NAME = '湖北地调单机') ;
-INSERT INTO t_init_job_class  (C_JOB_CLASS_NAME, C_JOB_CLASS_PATH, C_JOB_CLASS_TYPE, C_STATION_CODE) select '湖北地调风机信息', 'com.jiayue.ipfcst.fileupload.job.UploadFileE74Job', 'fileCreate', '' from dual where not exists (select C_JOB_CLASS_NAME from t_init_job_class where C_JOB_CLASS_NAME = '湖北地调风机信息') ;
-INSERT INTO t_init_job_class  (C_JOB_CLASS_NAME, C_JOB_CLASS_PATH, C_JOB_CLASS_TYPE, C_STATION_CODE) select '湖北地调气象站', 'com.jiayue.ipfcst.fileupload.job.UploadFileE71Job', 'fileCreate', '' from dual where not exists (select C_JOB_CLASS_NAME from t_init_job_class where C_JOB_CLASS_NAME = '湖北地调气象站') ;
-INSERT INTO t_init_job_class  (C_JOB_CLASS_NAME, C_JOB_CLASS_PATH, C_JOB_CLASS_TYPE, C_STATION_CODE) select '湖北地调逆变器', 'com.jiayue.ipfcst.fileupload.job.UploadFileE75Job', 'fileCreate', '' from dual where not exists (select C_JOB_CLASS_NAME from t_init_job_class where C_JOB_CLASS_NAME = '湖北地调逆变器') ;
-INSERT INTO t_init_job_class  (C_JOB_CLASS_NAME, C_JOB_CLASS_PATH, C_JOB_CLASS_TYPE, C_STATION_CODE) select '升压站信息', 'com.jiayue.ipfcst.fileupload.job.UploadFileE50Job', 'fileCreate', '' from dual where not exists (select C_JOB_CLASS_NAME from t_init_job_class where C_JOB_CLASS_NAME = '升压站信息') ;
-INSERT INTO t_init_job_class  (C_JOB_CLASS_NAME, C_JOB_CLASS_PATH, C_JOB_CLASS_TYPE, C_STATION_CODE) select 'AGC_AVC信息', 'com.jiayue.ipfcst.fileupload.job.UploadFileE51Job', 'fileCreate', '' from dual where not exists (select C_JOB_CLASS_NAME from t_init_job_class where C_JOB_CLASS_NAME = 'AGC_AVC信息') ;
-INSERT INTO t_init_job_class  (C_JOB_CLASS_NAME, C_JOB_CLASS_PATH, C_JOB_CLASS_TYPE, C_STATION_CODE) select '风电总体信息', 'com.jiayue.ipfcst.fileupload.job.UploadFileE52Job', 'fileCreate', '' from dual where not exists (select C_JOB_CLASS_NAME from t_init_job_class where C_JOB_CLASS_NAME = '风电总体信息') ;
-INSERT INTO t_init_job_class  (C_JOB_CLASS_NAME, C_JOB_CLASS_PATH, C_JOB_CLASS_TYPE, C_STATION_CODE) select '光伏总体信息', 'com.jiayue.ipfcst.fileupload.job.UploadFileE53Job', 'fileCreate', '' from dual where not exists (select C_JOB_CLASS_NAME from t_init_job_class where C_JOB_CLASS_NAME = '光伏总体信息') ;
-INSERT INTO t_init_job_class  (C_JOB_CLASS_NAME, C_JOB_CLASS_PATH, C_JOB_CLASS_TYPE, C_STATION_CODE) select '统计信息', 'com.jiayue.ipfcst.fileupload.job.UploadFileE54Job', 'fileCreate', '' from dual where not exists (select C_JOB_CLASS_NAME from t_init_job_class where C_JOB_CLASS_NAME = '统计信息') ;
-INSERT INTO t_init_job_class  (C_JOB_CLASS_NAME, C_JOB_CLASS_PATH, C_JOB_CLASS_TYPE, C_STATION_CODE) select '光伏逆变器/汇流箱信息', 'com.jiayue.ipfcst.fileupload.job.UploadFileE55Job', 'fileCreate', '' from dual where not exists (select C_JOB_CLASS_NAME from t_init_job_class where C_JOB_CLASS_NAME = '光伏逆变器/汇流箱信息') ;
-INSERT INTO t_init_job_class  (C_JOB_CLASS_NAME, C_JOB_CLASS_PATH, C_JOB_CLASS_TYPE, C_STATION_CODE) select '海南短期预测', 'com.jiayue.ipfcst.fileupload.job.UploadFileE56Job', 'fileCreate', '' from dual where not exists (select C_JOB_CLASS_NAME from t_init_job_class where C_JOB_CLASS_NAME = '海南短期预测') ;
-INSERT INTO t_init_job_class  (C_JOB_CLASS_NAME, C_JOB_CLASS_PATH, C_JOB_CLASS_TYPE, C_STATION_CODE) select '海南超短期预测', 'com.jiayue.ipfcst.fileupload.job.UploadFileE57Job', 'fileCreate', '' from dual where not exists (select C_JOB_CLASS_NAME from t_init_job_class where C_JOB_CLASS_NAME = '海南超短期预测') ;
-INSERT INTO t_init_job_class  (C_JOB_CLASS_NAME, C_JOB_CLASS_PATH, C_JOB_CLASS_TYPE, C_STATION_CODE) select '海南风电机组', 'com.jiayue.ipfcst.fileupload.job.UploadFileE76Job', 'fileCreate', '' from dual where not exists (select C_JOB_CLASS_NAME from t_init_job_class where C_JOB_CLASS_NAME = '海南风电机组') ;
-
-
-INSERT INTO t_init_job_class  (C_JOB_CLASS_NAME, C_JOB_CLASS_PATH, C_JOB_CLASS_TYPE, C_STATION_CODE) select '新疆网调气象站', 'com.jiayue.ipfcst.fileupload.job.UploadFileE78Job', 'fileCreate', '' from dual where not exists (select C_JOB_CLASS_NAME from t_init_job_class where C_JOB_CLASS_NAME = '新疆网调气象站') ;
-INSERT INTO t_init_job_class  (C_JOB_CLASS_NAME, C_JOB_CLASS_PATH, C_JOB_CLASS_TYPE, C_STATION_CODE) select '新疆网调超短期', 'com.jiayue.ipfcst.fileupload.job.UploadFileE79Job', 'fileCreate', '' from dual where not exists (select C_JOB_CLASS_NAME from t_init_job_class where C_JOB_CLASS_NAME = '新疆网调超短期') ;
-INSERT INTO t_init_job_class  (C_JOB_CLASS_NAME, C_JOB_CLASS_PATH, C_JOB_CLASS_TYPE, C_STATION_CODE) select '新疆网调短期', 'com.jiayue.ipfcst.fileupload.job.UploadFileE80Job', 'fileCreate', '' from dual where not exists (select C_JOB_CLASS_NAME from t_init_job_class where C_JOB_CLASS_NAME = '新疆网调短期') ;
-INSERT INTO t_init_job_class  (C_JOB_CLASS_NAME, C_JOB_CLASS_PATH, C_JOB_CLASS_TYPE, C_STATION_CODE) select '新疆网调实时量测', 'com.jiayue.ipfcst.fileupload.job.UploadFileE81Job', 'fileCreate', '' from dual where not exists (select C_JOB_CLASS_NAME from t_init_job_class where C_JOB_CLASS_NAME = '新疆网调实时量测') ;
-INSERT INTO t_init_job_class  (C_JOB_CLASS_NAME, C_JOB_CLASS_PATH, C_JOB_CLASS_TYPE, C_STATION_CODE) select '新疆网调集电线', 'com.jiayue.ipfcst.fileupload.job.UploadFileE82Job', 'fileCreate', '' from dual where not exists (select C_JOB_CLASS_NAME from t_init_job_class where C_JOB_CLASS_NAME = '新疆网调集电线') ;
-INSERT INTO t_init_job_class  (C_JOB_CLASS_NAME, C_JOB_CLASS_PATH, C_JOB_CLASS_TYPE, C_STATION_CODE) select '新疆网调逆变器', 'com.jiayue.ipfcst.fileupload.job.UploadFileE77Job', 'fileCreate', '' from dual where not exists (select C_JOB_CLASS_NAME from t_init_job_class where C_JOB_CLASS_NAME = '新疆网调逆变器') ;
-
--- INSERT INTO t_init_job_class  (C_JOB_CLASS_NAME, C_JOB_CLASS_PATH, C_JOB_CLASS_TYPE, C_STATION_CODE) select '海南压缩包', 'com.jiayue.ipfcst.fileupload.job.UploadFileE83Job', 'fileCreate', '' from dual where not exists (select C_JOB_CLASS_NAME from t_init_job_class where C_JOB_CLASS_NAME = '海南压缩包') ;
-INSERT INTO t_init_job_class  (C_JOB_CLASS_NAME, C_JOB_CLASS_PATH, C_JOB_CLASS_TYPE, C_STATION_CODE) select '浙江地调102客户端', 'com.jiayue.ipfcst.fileupload.job.ZheJiang102ClientJob', 'other', '' from dual where not exists (select C_JOB_CLASS_NAME from t_init_job_class where C_JOB_CLASS_NAME = '浙江地调102客户端') ;
-
-INSERT INTO t_init_job_class  (C_JOB_CLASS_NAME, C_JOB_CLASS_PATH, C_JOB_CLASS_TYPE, C_STATION_CODE) select '青海理论功率(风)', 'com.jiayue.ipfcst.fileupload.job.UploadFileE85Job', 'fileCreate', '' from dual where not exists (select C_JOB_CLASS_NAME from t_init_job_class where C_JOB_CLASS_NAME = '青海理论功率(风)');
-INSERT INTO t_init_job_class  (C_JOB_CLASS_NAME, C_JOB_CLASS_PATH, C_JOB_CLASS_TYPE, C_STATION_CODE) select 'D5000样板机', 'com.jiayue.ipfcst.fileupload.job.UploadFileE58Job', 'fileCreate', '' from dual where not exists (select C_JOB_CLASS_NAME from t_init_job_class where C_JOB_CLASS_NAME = 'D5000样板机');
-INSERT INTO t_init_job_class  (C_JOB_CLASS_NAME, C_JOB_CLASS_PATH, C_JOB_CLASS_TYPE, C_STATION_CODE) select '超短期数据生成', 'com.jiayue.ipfcst.fileupload.job.GenerateUltraShortDataJob', 'other', '' from dual where not exists (select C_JOB_CLASS_NAME from t_init_job_class where C_JOB_CLASS_NAME = '超短期数据生成');
-
-INSERT INTO t_init_job_class  (C_JOB_CLASS_NAME, C_JOB_CLASS_PATH, C_JOB_CLASS_TYPE, C_STATION_CODE) select '省调短期', 'com.jiayue.ipfcst.fileupload.job.UploadFileE90Job', 'fileCreate', '' from dual where not exists (select C_JOB_CLASS_NAME from t_init_job_class where C_JOB_CLASS_NAME = '省调短期');
-INSERT INTO t_init_job_class  (C_JOB_CLASS_NAME, C_JOB_CLASS_PATH, C_JOB_CLASS_TYPE, C_STATION_CODE) select '省调昨日开机容量', 'com.jiayue.ipfcst.fileupload.job.UploadFileE91Job', 'fileCreate', '' from dual where not exists (select C_JOB_CLASS_NAME from t_init_job_class where C_JOB_CLASS_NAME = '省调昨日开机容量');
-
-INSERT INTO t_init_job_class  (C_JOB_CLASS_NAME, C_JOB_CLASS_PATH, C_JOB_CLASS_TYPE, C_STATION_CODE) select '短期_辽宁龙源集控', 'com.jiayue.ipfcst.fileupload.job.UploadFileE86Job', 'fileCreate', '' from dual where not exists (select C_JOB_CLASS_NAME from t_init_job_class where C_JOB_CLASS_NAME = '短期_辽宁龙源集控');
-INSERT INTO t_init_job_class  (C_JOB_CLASS_NAME, C_JOB_CLASS_PATH, C_JOB_CLASS_TYPE, C_STATION_CODE) select '超短期_辽宁龙源集控', 'com.jiayue.ipfcst.fileupload.job.UploadFileE87Job', 'fileCreate', '' from dual where not exists (select C_JOB_CLASS_NAME from t_init_job_class where C_JOB_CLASS_NAME = '超短期_辽宁龙源集控');
-INSERT INTO t_init_job_class  (C_JOB_CLASS_NAME, C_JOB_CLASS_PATH, C_JOB_CLASS_TYPE, C_STATION_CODE) select '测风塔_辽宁龙源集控', 'com.jiayue.ipfcst.fileupload.job.UploadFileE88Job', 'fileCreate', '' from dual where not exists (select C_JOB_CLASS_NAME from t_init_job_class where C_JOB_CLASS_NAME = '测风塔_辽宁龙源集控');
-INSERT INTO t_init_job_class  (C_JOB_CLASS_NAME, C_JOB_CLASS_PATH, C_JOB_CLASS_TYPE, C_STATION_CODE) select '风机_辽宁龙源集控', 'com.jiayue.ipfcst.fileupload.job.UploadFileE89Job', 'fileCreate', '' from dual where not exists (select C_JOB_CLASS_NAME from t_init_job_class where C_JOB_CLASS_NAME = '风机_辽宁龙源集控');
-
-INSERT INTO t_init_job_class  (C_JOB_CLASS_NAME, C_JOB_CLASS_PATH, C_JOB_CLASS_TYPE, C_STATION_CODE) select '湖北逆变器信息', 'com.jiayue.ipfcst.fileupload.job.UploadFileE92Job', 'fileCreate', '' from dual where not exists (select C_JOB_CLASS_NAME from t_init_job_class where C_JOB_CLASS_NAME = '湖北逆变器信息');
-
-INSERT INTO t_init_job_class  (C_JOB_CLASS_NAME, C_JOB_CLASS_PATH, C_JOB_CLASS_TYPE, C_STATION_CODE) select '黄冈地调短期', 'com.jiayue.ipfcst.fileupload.job.UploadFileE93Job', 'fileCreate', '' from dual where not exists (select C_JOB_CLASS_NAME from t_init_job_class where C_JOB_CLASS_NAME = '黄冈地调短期');
-INSERT INTO t_init_job_class  (C_JOB_CLASS_NAME, C_JOB_CLASS_PATH, C_JOB_CLASS_TYPE, C_STATION_CODE) select '黄冈地调超短期', 'com.jiayue.ipfcst.fileupload.job.UploadFileE94Job', 'fileCreate', '' from dual where not exists (select C_JOB_CLASS_NAME from t_init_job_class where C_JOB_CLASS_NAME = '黄冈地调超短期');
-INSERT INTO t_init_job_class  (C_JOB_CLASS_NAME, C_JOB_CLASS_PATH, C_JOB_CLASS_TYPE, C_STATION_CODE) select '黄冈地调72nwp', 'com.jiayue.ipfcst.fileupload.job.UploadFileE95Job', 'fileCreate', '' from dual where not exists (select C_JOB_CLASS_NAME from t_init_job_class where C_JOB_CLASS_NAME = '黄冈地调72nwp');
-INSERT INTO t_init_job_class  (C_JOB_CLASS_NAME, C_JOB_CLASS_PATH, C_JOB_CLASS_TYPE, C_STATION_CODE) select '黄冈地调气象站', 'com.jiayue.ipfcst.fileupload.job.UploadFileE96Job', 'fileCreate', '' from dual where not exists (select C_JOB_CLASS_NAME from t_init_job_class where C_JOB_CLASS_NAME = '黄冈地调气象站');
-INSERT INTO t_init_job_class  (C_JOB_CLASS_NAME, C_JOB_CLASS_PATH, C_JOB_CLASS_TYPE, C_STATION_CODE) select '黄冈地调测风塔', 'com.jiayue.ipfcst.fileupload.job.UploadFileE97Job', 'fileCreate', '' from dual where not exists (select C_JOB_CLASS_NAME from t_init_job_class where C_JOB_CLASS_NAME = '黄冈地调测风塔');
-INSERT INTO t_init_job_class  (C_JOB_CLASS_NAME, C_JOB_CLASS_PATH, C_JOB_CLASS_TYPE, C_STATION_CODE) select '黄冈地调风机', 'com.jiayue.ipfcst.fileupload.job.UploadFileE98Job', 'fileCreate', '' from dual where not exists (select C_JOB_CLASS_NAME from t_init_job_class where C_JOB_CLASS_NAME = '黄冈地调风机');
-INSERT INTO t_init_job_class  (C_JOB_CLASS_NAME, C_JOB_CLASS_PATH, C_JOB_CLASS_TYPE, C_STATION_CODE) select '黄冈地调逆变器', 'com.jiayue.ipfcst.fileupload.job.UploadFileE99Job', 'fileCreate', '' from dual where not exists (select C_JOB_CLASS_NAME from t_init_job_class where C_JOB_CLASS_NAME = '黄冈地调逆变器');
-
-INSERT INTO t_init_job_class  (C_JOB_CLASS_NAME, C_JOB_CLASS_PATH, C_JOB_CLASS_TYPE, C_STATION_CODE) select '随州地调短期', 'com.jiayue.ipfcst.fileupload.job.UploadFileE100Job', 'fileCreate', '' from dual where not exists (select C_JOB_CLASS_NAME from t_init_job_class where C_JOB_CLASS_NAME = '随州地调短期');
-INSERT INTO t_init_job_class  (C_JOB_CLASS_NAME, C_JOB_CLASS_PATH, C_JOB_CLASS_TYPE, C_STATION_CODE) select '随州地调超短期', 'com.jiayue.ipfcst.fileupload.job.UploadFileE101Job', 'fileCreate', '' from dual where not exists (select C_JOB_CLASS_NAME from t_init_job_class where C_JOB_CLASS_NAME = '随州地调超短期');
-INSERT INTO t_init_job_class  (C_JOB_CLASS_NAME, C_JOB_CLASS_PATH, C_JOB_CLASS_TYPE, C_STATION_CODE) select '随州地调nwp', 'com.jiayue.ipfcst.fileupload.job.UploadFileE102Job', 'fileCreate', '' from dual where not exists (select C_JOB_CLASS_NAME from t_init_job_class where C_JOB_CLASS_NAME = '随州地调nwp');
-INSERT INTO t_init_job_class  (C_JOB_CLASS_NAME, C_JOB_CLASS_PATH, C_JOB_CLASS_TYPE, C_STATION_CODE) select '随州地调气象站', 'com.jiayue.ipfcst.fileupload.job.UploadFileE103Job', 'fileCreate', '' from dual where not exists (select C_JOB_CLASS_NAME from t_init_job_class where C_JOB_CLASS_NAME = '随州地调气象站');
-INSERT INTO t_init_job_class  (C_JOB_CLASS_NAME, C_JOB_CLASS_PATH, C_JOB_CLASS_TYPE, C_STATION_CODE) select '随州地调逆变器', 'com.jiayue.ipfcst.fileupload.job.UploadFileE104Job', 'fileCreate', '' from dual where not exists (select C_JOB_CLASS_NAME from t_init_job_class where C_JOB_CLASS_NAME = '随州地调逆变器');
-
-INSERT INTO t_init_job_class  (C_JOB_CLASS_NAME, C_JOB_CLASS_PATH, C_JOB_CLASS_TYPE, C_STATION_CODE) select '广东中调短期WPD', 'com.jiayue.ipfcst.fileupload.job.UploadFileE105Job', 'fileCreate', '' from dual where not exists (select C_JOB_CLASS_NAME from t_init_job_class where C_JOB_CLASS_NAME = '广东中调短期WPD');
-INSERT INTO t_init_job_class  (C_JOB_CLASS_NAME, C_JOB_CLASS_PATH, C_JOB_CLASS_TYPE, C_STATION_CODE) select '广东中调超短期WPD', 'com.jiayue.ipfcst.fileupload.job.UploadFileE106Job', 'fileCreate', '' from dual where not exists (select C_JOB_CLASS_NAME from t_init_job_class where C_JOB_CLASS_NAME = '广东中调超短期WPD');
-INSERT INTO t_init_job_class  (C_JOB_CLASS_NAME, C_JOB_CLASS_PATH, C_JOB_CLASS_TYPE, C_STATION_CODE) select '广东中调气象站WPD', 'com.jiayue.ipfcst.fileupload.job.UploadFileE107Job', 'fileCreate', '' from dual where not exists (select C_JOB_CLASS_NAME from t_init_job_class where C_JOB_CLASS_NAME = '广东中调气象站WPD');
-INSERT INTO t_init_job_class  (C_JOB_CLASS_NAME, C_JOB_CLASS_PATH, C_JOB_CLASS_TYPE, C_STATION_CODE) select '广东中调逆变器WPD', 'com.jiayue.ipfcst.fileupload.job.UploadFileE108Job', 'fileCreate', '' from dual where not exists (select C_JOB_CLASS_NAME from t_init_job_class where C_JOB_CLASS_NAME = '广东中调逆变器WPD');
-INSERT INTO t_init_job_class  (C_JOB_CLASS_NAME, C_JOB_CLASS_PATH, C_JOB_CLASS_TYPE, C_STATION_CODE) select '广东中调短期dat', 'com.jiayue.ipfcst.fileupload.job.UploadFileE109Job', 'fileCreate', '' from dual where not exists (select C_JOB_CLASS_NAME from t_init_job_class where C_JOB_CLASS_NAME = '广东中调短期dat');
-INSERT INTO t_init_job_class  (C_JOB_CLASS_NAME, C_JOB_CLASS_PATH, C_JOB_CLASS_TYPE, C_STATION_CODE) select '广东中调超短期dat', 'com.jiayue.ipfcst.fileupload.job.UploadFileE110Job', 'fileCreate', '' from dual where not exists (select C_JOB_CLASS_NAME from t_init_job_class where C_JOB_CLASS_NAME = '广东中调超短期dat');
-INSERT INTO t_init_job_class  (C_JOB_CLASS_NAME, C_JOB_CLASS_PATH, C_JOB_CLASS_TYPE, C_STATION_CODE) select '广东中调气象站dat', 'com.jiayue.ipfcst.fileupload.job.UploadFileE111Job', 'fileCreate', '' from dual where not exists (select C_JOB_CLASS_NAME from t_init_job_class where C_JOB_CLASS_NAME = '广东中调气象站dat');
-INSERT INTO t_init_job_class  (C_JOB_CLASS_NAME, C_JOB_CLASS_PATH, C_JOB_CLASS_TYPE, C_STATION_CODE) select '广东中调逆变器dat', 'com.jiayue.ipfcst.fileupload.job.UploadFileE112Job', 'fileCreate', '' from dual where not exists (select C_JOB_CLASS_NAME from t_init_job_class where C_JOB_CLASS_NAME = '广东中调逆变器dat');
-
-INSERT INTO t_init_job_class  (C_JOB_CLASS_NAME, C_JOB_CLASS_PATH, C_JOB_CLASS_TYPE, C_STATION_CODE) select 'NWP_辽宁龙源集控', 'com.jiayue.ipfcst.fileupload.job.UploadFileE113Job', 'fileCreate', '' from dual where not exists (select C_JOB_CLASS_NAME from t_init_job_class where C_JOB_CLASS_NAME = 'NWP_辽宁龙源集控');
-INSERT INTO t_init_job_class  (C_JOB_CLASS_NAME, C_JOB_CLASS_PATH, C_JOB_CLASS_TYPE, C_STATION_CODE) select '蒙东南瑞集控测风塔', 'com.jiayue.ipfcst.fileupload.job.UploadFileE114Job', 'fileCreate', '' from dual where not exists (select C_JOB_CLASS_NAME from t_init_job_class where C_JOB_CLASS_NAME = '蒙东南瑞集控测风塔');
-INSERT INTO t_init_job_class  (C_JOB_CLASS_NAME, C_JOB_CLASS_PATH, C_JOB_CLASS_TYPE, C_STATION_CODE) select '龙源南瑞集控测风塔', 'com.jiayue.ipfcst.fileupload.job.UploadFileE115Job', 'fileCreate', '' from dual where not exists (select C_JOB_CLASS_NAME from t_init_job_class where C_JOB_CLASS_NAME = '龙源南瑞集控测风塔');
-
-
-INSERT INTO t_init_job_class  (C_JOB_CLASS_NAME, C_JOB_CLASS_PATH, C_JOB_CLASS_TYPE, C_STATION_CODE) select '总调短期', 'com.jiayue.ipfcst.fileupload.job.UploadFileE116Job', 'fileCreate', '' from dual where not exists (select C_JOB_CLASS_NAME from t_init_job_class where C_JOB_CLASS_NAME = '总调短期');
-INSERT INTO t_init_job_class  (C_JOB_CLASS_NAME, C_JOB_CLASS_PATH, C_JOB_CLASS_TYPE, C_STATION_CODE) select '总调超短期', 'com.jiayue.ipfcst.fileupload.job.UploadFileE117Job', 'fileCreate', '' from dual where not exists (select C_JOB_CLASS_NAME from t_init_job_class where C_JOB_CLASS_NAME = '总调超短期');
-INSERT INTO t_init_job_class  (C_JOB_CLASS_NAME, C_JOB_CLASS_PATH, C_JOB_CLASS_TYPE, C_STATION_CODE) select '总调气象站', 'com.jiayue.ipfcst.fileupload.job.UploadFileE118Job', 'fileCreate', '' from dual where not exists (select C_JOB_CLASS_NAME from t_init_job_class where C_JOB_CLASS_NAME = '总调气象站');
-INSERT INTO t_init_job_class  (C_JOB_CLASS_NAME, C_JOB_CLASS_PATH, C_JOB_CLASS_TYPE, C_STATION_CODE) select '总调逆变器', 'com.jiayue.ipfcst.fileupload.job.UploadFileE119Job', 'fileCreate', '' from dual where not exists (select C_JOB_CLASS_NAME from t_init_job_class where C_JOB_CLASS_NAME = '总调逆变器');