Przeglądaj źródła

修改短期系数 页面显示修改,后台方法修改为根据结束时间进行判断。

songhaodong 2 lat temu
rodzic
commit
0c8b43e528

+ 1 - 1
ipfcst/ipfcst-common/ipfcst-common-data/src/main/java/com/jiayue/ipfcst/common/data/repository/ForecastPowerShortTermHisRepository.java

@@ -83,5 +83,5 @@ public interface ForecastPowerShortTermHisRepository extends BaseRepository<Fore
 
 	List<ForecastPowerShortTermHis> findByGenDateBetween(Date startTime, Date endTime);
 
-	ForecastPowerShortTermHis findByGenDate(Date genDate);
+	List<ForecastPowerShortTermHis> findByForecastTimeBetween(Long startTime, Long endTime);
 }

+ 3 - 3
ipfcst/ipfcst-reportquery/src/main/frontend/views/parameterConfiguration/modifyShorterData/index.vue

@@ -10,7 +10,6 @@
         <el-table
           :data="tableData"
           border
-          stripe
           style="width: 100%">
           <el-table-column
             prop="id"
@@ -59,6 +58,7 @@
               layout="total, sizes, prev, pager, next, jumper"
               :total="total"
               background
+
             >
             </el-pagination>
           </el-col>
@@ -83,8 +83,8 @@
           </el-form>
           <template #footer>
         <span class="dialog-footer">
-          <el-button @click="dialogVisible = false">取 消</el-button>
-          <el-button type="primary" @click="saveRowEvent">确 定</el-button>
+          <el-button @click="dialogVisible = false" style="color:#000">取 消</el-button>
+          <el-button type="primary" @click="saveRowEvent" style="color:#000">确 定</el-button>
         </span>
           </template>
         </el-dialog>