|
@@ -1,29 +1,25 @@
|
|
|
package com.diagbot.facade;
|
|
|
|
|
|
-import java.text.ParseException;
|
|
|
-import java.text.SimpleDateFormat;
|
|
|
-import java.util.ArrayList;
|
|
|
-import java.util.HashMap;
|
|
|
-import java.util.List;
|
|
|
-import java.util.Map;
|
|
|
-
|
|
|
-import org.springframework.beans.factory.annotation.Autowired;
|
|
|
-import org.springframework.stereotype.Component;
|
|
|
-
|
|
|
import com.baomidou.mybatisplus.core.conditions.update.UpdateWrapper;
|
|
|
import com.diagbot.dto.IndexDataDTO;
|
|
|
import com.diagbot.entity.IndexData;
|
|
|
import com.diagbot.enums.IsDeleteEnum;
|
|
|
import com.diagbot.exception.CommonErrorCode;
|
|
|
import com.diagbot.exception.CommonException;
|
|
|
-import com.diagbot.service.IndexDataService;
|
|
|
import com.diagbot.service.impl.IndexDataServiceImpl;
|
|
|
import com.diagbot.util.DateUtil;
|
|
|
import com.diagbot.util.ListUtil;
|
|
|
import com.diagbot.vo.IndexDataAllVO;
|
|
|
import com.diagbot.vo.IndexDataFindVO;
|
|
|
import com.diagbot.vo.IndexDataSaveVO;
|
|
|
-import com.diagbot.vo.IndexDataVO;
|
|
|
+import org.springframework.stereotype.Component;
|
|
|
+
|
|
|
+import java.text.ParseException;
|
|
|
+import java.text.SimpleDateFormat;
|
|
|
+import java.util.ArrayList;
|
|
|
+import java.util.HashMap;
|
|
|
+import java.util.List;
|
|
|
+import java.util.Map;
|
|
|
|
|
|
/**
|
|
|
*
|
|
@@ -34,8 +30,6 @@ import com.diagbot.vo.IndexDataVO;
|
|
|
@Component
|
|
|
public class IndexDataFacade extends IndexDataServiceImpl {
|
|
|
|
|
|
- @Autowired
|
|
|
- IndexDataService indexDataService;
|
|
|
/**
|
|
|
*
|
|
|
* @param indexDataFindVO
|
|
@@ -48,7 +42,7 @@ public class IndexDataFacade extends IndexDataServiceImpl {
|
|
|
indexDataMap.put("startTime", indexDataFindVO.getStartTime());
|
|
|
indexDataMap.put("endTime", indexDataFindVO.getEndTime());
|
|
|
//获取慢病指标数据
|
|
|
- return indexDataService.quisitionIndexDataAll(indexDataFindVO.getIds(),indexDataMap);
|
|
|
+ return this.quisitionIndexDataAll(indexDataFindVO.getIds(),indexDataMap);
|
|
|
|
|
|
}
|
|
|
|
|
@@ -92,7 +86,7 @@ public class IndexDataFacade extends IndexDataServiceImpl {
|
|
|
}
|
|
|
|
|
|
if (ListUtil.isNotEmpty(IndexDataList)) {
|
|
|
- res = indexDataService.insertIndexDataList(IndexDataList);
|
|
|
+ res = this.insertIndexDataList(IndexDataList);
|
|
|
}
|
|
|
}
|
|
|
return res;
|