Przeglądaj źródła

碳核查最近7个月查询bug修改

王苗苗 7 miesięcy temu
rodzic
commit
3d412d7d00

+ 2 - 2
slibra-system/src/main/java/com/slibra/business/service/impl/TXinyiCarbonMajorServiceImpl.java

@@ -719,8 +719,8 @@ public class TXinyiCarbonMajorServiceImpl implements ITXinyiCarbonMajorService
         //最近7个月的数据集合
         TXinyiCarbonMajor tXinyiCarbonMajorReq = new TXinyiCarbonMajor();
         String timeEnd = DateUtils.parseDateToStr(DateUtils.YYYY_MM, DateUtils.getNowDate());
-        tXinyiCarbonMajorReq.setTimeBegin(DateUtils.getMonthsBefore(timeEnd, INT_6));
-        tXinyiCarbonMajorReq.setTimeEnd(timeEnd);
+        tXinyiCarbonMajorReq.setHsTimeBegin(DateUtils.getMonthsBefore(timeEnd, INT_6));
+        tXinyiCarbonMajorReq.setHsTimeEnd(timeEnd);
         List<TXinyiCarbonMajor> tXinyiCarbonMajorList = this.tXinyiCarbonMajorMapper.selectTXinyiCarbonMajorList(tXinyiCarbonMajorReq);
         List<ChartBasic> recent7PflDatas = new ArrayList<>();
         if(!CollectionUtils.isEmpty(tXinyiCarbonMajorList)){