Browse Source

获取增长率bug修改

wangsy 2 months ago
parent
commit
4db010cd6b
1 changed files with 2 additions and 2 deletions
  1. 2 2
      src/main/java/com/qizhen/healsphere/facade/IsolateFacade.java

+ 2 - 2
src/main/java/com/qizhen/healsphere/facade/IsolateFacade.java

@@ -158,7 +158,7 @@ public class IsolateFacade extends IsolateServiceImpl {
 
         for (LocalDate localDate : dateList) {
             CumulativeDTO cumulativeDTO = new CumulativeDTO();
-            inputVO.setStartDate(localDate.toString());
+            inputVO.setEndDate(localDate.toString());
             inputVO.setSubtype(epifluDTO.getSubtype());
             inputVO.setClade(cladeList);
             Integer count = epifluMapper.selectCountByInput(inputVO);
@@ -380,7 +380,7 @@ public class IsolateFacade extends IsolateServiceImpl {
 
         for (LocalDate localDate : dateList) {
             CumulativeDTO cumulativeDTO = new CumulativeDTO();
-            chinaInputVO.setStartDate(localDate.toString());
+            chinaInputVO.setEndDate(localDate.toString());
             chinaInputVO.setSubtype(chinaEpifluDTO.getSubtype());
             chinaInputVO.setClade(cladeList);
             Integer count = epifluMapper.selectCountByChinaInput(chinaInputVO);