|
@@ -0,0 +1,456 @@
|
|
|
+package thyyxxk.webserver.service.ybkf;
|
|
|
+
|
|
|
+import org.springframework.beans.factory.annotation.Autowired;
|
|
|
+import org.springframework.stereotype.Service;
|
|
|
+import org.springframework.util.ObjectUtils;
|
|
|
+import thyyxxk.webserver.config.exception.ExceptionEnum;
|
|
|
+import thyyxxk.webserver.dao.his.ybkf.YbStatDao;
|
|
|
+import thyyxxk.webserver.entity.ResultVo;
|
|
|
+import thyyxxk.webserver.entity.ybkf.YbStatDto;
|
|
|
+import thyyxxk.webserver.entity.ybkf.YbStatResult;
|
|
|
+import thyyxxk.webserver.utils.DateUtil;
|
|
|
+import thyyxxk.webserver.utils.ResultVoUtil;
|
|
|
+import thyyxxk.webserver.utils.StringUtil;
|
|
|
+
|
|
|
+import java.util.ArrayList;
|
|
|
+import java.util.List;
|
|
|
+
|
|
|
+/**
|
|
|
+ * @ClassName YbStatService
|
|
|
+ * @Description 医保报表统计
|
|
|
+ * @Author hsh
|
|
|
+ * @Date 2022/6/17 9:01
|
|
|
+ **/
|
|
|
+@Service
|
|
|
+public class YbStatService {
|
|
|
+
|
|
|
+ private final YbStatDao dao;
|
|
|
+
|
|
|
+ @Autowired
|
|
|
+ public YbStatService(YbStatDao dao ) {
|
|
|
+ this.dao = dao;
|
|
|
+ }
|
|
|
+
|
|
|
+ public ResultVo<List<YbStatResult>> selectYbStatInfo(YbStatDto dto){
|
|
|
+ String beginTime = dto.getMonth() + "-01 00:00:00.000";
|
|
|
+ String endTime = DateUtil.getMonthEndtime(dto.getMonth());
|
|
|
+ String insurType = dto.getInsurType();
|
|
|
+ String setlType = dto.getSetlType();
|
|
|
+ if (StringUtil.isBlank(insurType)) {
|
|
|
+ insurType = "%%";
|
|
|
+ }
|
|
|
+ // 统筹区域
|
|
|
+ List<String> insuplcAdmdvs = new ArrayList<>();
|
|
|
+ // 险种类型
|
|
|
+ List<String> insurtype = new ArrayList<>();
|
|
|
+ // 医疗类别
|
|
|
+ List<String> med_type = new ArrayList<>();
|
|
|
+ // 返回结果
|
|
|
+ List<YbStatResult> ybStatResult = new ArrayList<>();
|
|
|
+ if("21".equals(setlType)){
|
|
|
+ // 住院
|
|
|
+ if("43010031001".equals(insurType) || "99".equals(insurType)){
|
|
|
+ // 长沙市城职普通住院(包含外伤住院)
|
|
|
+ insuplcAdmdvs.add("430102");
|
|
|
+ insuplcAdmdvs.add("430103");
|
|
|
+ insuplcAdmdvs.add("430104");
|
|
|
+ insuplcAdmdvs.add("430105");
|
|
|
+ insuplcAdmdvs.add("430111");
|
|
|
+ insuplcAdmdvs.add("430140");
|
|
|
+ insuplcAdmdvs.add("430199");
|
|
|
+ insurtype.add("310");
|
|
|
+ med_type.add("2101");
|
|
|
+ med_type.add("22");
|
|
|
+ YbStatResult result = dao.selectYbStatInfo(beginTime, endTime, setlType, insuplcAdmdvs, insurtype, med_type);
|
|
|
+ if(!ObjectUtils.isEmpty(result) && result.getPsnCount() > 0){
|
|
|
+ result.setInsurName("长沙市城职普通住院");
|
|
|
+ result.setInsurType(insurType);
|
|
|
+ ybStatResult.add(result);
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ insuplcAdmdvs.clear();
|
|
|
+ insurtype.clear();
|
|
|
+ med_type.clear();
|
|
|
+ if("43010039001".equals(insurType) || "99".equals(insurType)){
|
|
|
+ // 长沙市城居普通住院(包含外伤住院)
|
|
|
+ insuplcAdmdvs.add("430102");
|
|
|
+ insuplcAdmdvs.add("430103");
|
|
|
+ insuplcAdmdvs.add("430104");
|
|
|
+ insuplcAdmdvs.add("430105");
|
|
|
+ insuplcAdmdvs.add("430111");
|
|
|
+ insuplcAdmdvs.add("430140");
|
|
|
+ insuplcAdmdvs.add("430199");
|
|
|
+ insurtype.add("390");
|
|
|
+ med_type.add("2101");
|
|
|
+ med_type.add("22");
|
|
|
+ YbStatResult result = dao.selectYbStatInfo(beginTime, endTime, setlType, insuplcAdmdvs, insurtype, med_type);
|
|
|
+ if(!ObjectUtils.isEmpty(result) && result.getPsnCount() > 0){
|
|
|
+ result.setInsurName("长沙市城居普通住院");
|
|
|
+ result.setInsurType(insurType);
|
|
|
+ ybStatResult.add(result);
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ insuplcAdmdvs.clear();
|
|
|
+ insurtype.clear();
|
|
|
+ med_type.clear();
|
|
|
+ if("43010034001".equals(insurType) || "99".equals(insurType)){
|
|
|
+ // 长沙市离休
|
|
|
+ insuplcAdmdvs.add("430102");
|
|
|
+ insuplcAdmdvs.add("430103");
|
|
|
+ insuplcAdmdvs.add("430104");
|
|
|
+ insuplcAdmdvs.add("430105");
|
|
|
+ insuplcAdmdvs.add("430111");
|
|
|
+ insuplcAdmdvs.add("430140");
|
|
|
+ insuplcAdmdvs.add("430199");
|
|
|
+ insurtype.add("340");
|
|
|
+ med_type.add("2101");
|
|
|
+ med_type.add("22");
|
|
|
+ YbStatResult result = dao.selectYbStatInfo(beginTime, endTime, setlType, insuplcAdmdvs, insurtype, med_type);
|
|
|
+ if(!ObjectUtils.isEmpty(result) && result.getPsnCount() > 0){
|
|
|
+ result.setInsurName("长沙市离休");
|
|
|
+ result.setInsurType(insurType);
|
|
|
+ ybStatResult.add(result);
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ insuplcAdmdvs.clear();
|
|
|
+ insurtype.clear();
|
|
|
+ med_type.clear();
|
|
|
+ if("43010051052".equals(insurType) || "99".equals(insurType)){
|
|
|
+ // 长沙市生育
|
|
|
+ insuplcAdmdvs.add("430102");
|
|
|
+ insuplcAdmdvs.add("430103");
|
|
|
+ insuplcAdmdvs.add("430104");
|
|
|
+ insuplcAdmdvs.add("430105");
|
|
|
+ insuplcAdmdvs.add("430111");
|
|
|
+ insuplcAdmdvs.add("430140");
|
|
|
+ insuplcAdmdvs.add("430199");
|
|
|
+ med_type.add("52");
|
|
|
+ med_type.add("2106");
|
|
|
+ med_type.add("2107");
|
|
|
+ YbStatResult result = dao.selectYbStatInfo(beginTime, endTime, setlType, insuplcAdmdvs, insurtype, med_type);
|
|
|
+ if(!ObjectUtils.isEmpty(result) && result.getPsnCount() > 0){
|
|
|
+ result.setInsurName("长沙市生育");
|
|
|
+ result.setInsurType(insurType);
|
|
|
+ ybStatResult.add(result);
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ insuplcAdmdvs.clear();
|
|
|
+ insurtype.clear();
|
|
|
+ med_type.clear();
|
|
|
+ if("43012131001".equals(insurType) || "99".equals(insurType)){
|
|
|
+ // 长沙县城职普通住院(包含外伤住院)
|
|
|
+ insuplcAdmdvs.add("430121");
|
|
|
+ insurtype.add("310");
|
|
|
+ med_type.add("2101");
|
|
|
+ med_type.add("22");
|
|
|
+ YbStatResult result = dao.selectYbStatInfo(beginTime, endTime, setlType, insuplcAdmdvs, insurtype, med_type);
|
|
|
+ if(!ObjectUtils.isEmpty(result) && result.getPsnCount() > 0){
|
|
|
+ result.setInsurName("长沙县城职普通住院");
|
|
|
+ result.setInsurType(insurType);
|
|
|
+ ybStatResult.add(result);
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ insuplcAdmdvs.clear();
|
|
|
+ insurtype.clear();
|
|
|
+ med_type.clear();
|
|
|
+ if("43012139001".equals(insurType) || "99".equals(insurType)){
|
|
|
+ // 长沙县城居普通住院(包含外伤住院)
|
|
|
+ insuplcAdmdvs.add("430121");
|
|
|
+ insurtype.add("390");
|
|
|
+ med_type.add("2101");
|
|
|
+ med_type.add("22");
|
|
|
+ YbStatResult result = dao.selectYbStatInfo(beginTime, endTime, setlType, insuplcAdmdvs, insurtype, med_type);
|
|
|
+ if(!ObjectUtils.isEmpty(result) && result.getPsnCount() > 0){
|
|
|
+ result.setInsurName("长沙县城居普通住院");
|
|
|
+ result.setInsurType(insurType);
|
|
|
+ ybStatResult.add(result);
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ insuplcAdmdvs.clear();
|
|
|
+ insurtype.clear();
|
|
|
+ med_type.clear();
|
|
|
+ if("43012134001".equals(insurType) || "99".equals(insurType)){
|
|
|
+ // 长沙县离休
|
|
|
+ insuplcAdmdvs.add("430121");
|
|
|
+ insurtype.add("340");
|
|
|
+ med_type.add("2101");
|
|
|
+ med_type.add("22");
|
|
|
+ YbStatResult result = dao.selectYbStatInfo(beginTime, endTime, setlType, insuplcAdmdvs, insurtype, med_type);
|
|
|
+ if(!ObjectUtils.isEmpty(result) && result.getPsnCount() > 0){
|
|
|
+ result.setInsurName("长沙县离休");
|
|
|
+ result.setInsurType(insurType);
|
|
|
+ ybStatResult.add(result);
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ insuplcAdmdvs.clear();
|
|
|
+ insurtype.clear();
|
|
|
+ med_type.clear();
|
|
|
+ if("43012151052".equals(insurType) || "99".equals(insurType)){
|
|
|
+ // 长沙县生育
|
|
|
+ insuplcAdmdvs.add("430121");
|
|
|
+ med_type.add("52");
|
|
|
+ med_type.add("2106");
|
|
|
+ med_type.add("2107");
|
|
|
+ YbStatResult result = dao.selectYbStatInfo(beginTime, endTime, setlType, insuplcAdmdvs, insurtype, med_type);
|
|
|
+ if(!ObjectUtils.isEmpty(result) && result.getPsnCount() > 0){
|
|
|
+ result.setInsurName("长沙县生育");
|
|
|
+ result.setInsurType(insurType);
|
|
|
+ ybStatResult.add(result);
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ insuplcAdmdvs.clear();
|
|
|
+ insurtype.clear();
|
|
|
+ med_type.clear();
|
|
|
+ if("43018131001".equals(insurType) || "99".equals(insurType)){
|
|
|
+ // 浏阳县城职普通住院(包含外伤住院)
|
|
|
+ insuplcAdmdvs.add("430181");
|
|
|
+ insurtype.add("310");
|
|
|
+ med_type.add("2101");
|
|
|
+ med_type.add("22");
|
|
|
+ YbStatResult result = dao.selectYbStatInfo(beginTime, endTime, setlType, insuplcAdmdvs, insurtype, med_type);
|
|
|
+ if(!ObjectUtils.isEmpty(result) && result.getPsnCount() > 0){
|
|
|
+ result.setInsurName("浏阳县城职普通住院");
|
|
|
+ result.setInsurType(insurType);
|
|
|
+ ybStatResult.add(result);
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ insuplcAdmdvs.clear();
|
|
|
+ insurtype.clear();
|
|
|
+ med_type.clear();
|
|
|
+ if("43018139001".equals(insurType) || "99".equals(insurType)){
|
|
|
+ // 浏阳县城居普通住院(包含外伤住院)
|
|
|
+ insuplcAdmdvs.add("430181");
|
|
|
+ insurtype.add("390");
|
|
|
+ med_type.add("2101");
|
|
|
+ med_type.add("22");
|
|
|
+ YbStatResult result = dao.selectYbStatInfo(beginTime, endTime, setlType, insuplcAdmdvs, insurtype, med_type);
|
|
|
+ if(!ObjectUtils.isEmpty(result) && result.getPsnCount() > 0){
|
|
|
+ result.setInsurName("浏阳县城居普通住院");
|
|
|
+ result.setInsurType(insurType);
|
|
|
+ ybStatResult.add(result);
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ insuplcAdmdvs.clear();
|
|
|
+ insurtype.clear();
|
|
|
+ med_type.clear();
|
|
|
+ if("43018134001".equals(insurType) || "99".equals(insurType)){
|
|
|
+ // 浏阳县离休
|
|
|
+ insuplcAdmdvs.add("430181");
|
|
|
+ insurtype.add("340");
|
|
|
+ med_type.add("2101");
|
|
|
+ med_type.add("22");
|
|
|
+ YbStatResult result = dao.selectYbStatInfo(beginTime, endTime, setlType, insuplcAdmdvs, insurtype, med_type);
|
|
|
+ if(!ObjectUtils.isEmpty(result) && result.getPsnCount() > 0){
|
|
|
+ result.setInsurName("浏阳县离休");
|
|
|
+ result.setInsurType(insurType);
|
|
|
+ ybStatResult.add(result);
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ insuplcAdmdvs.clear();
|
|
|
+ insurtype.clear();
|
|
|
+ med_type.clear();
|
|
|
+ if("43018151052".equals(insurType) || "99".equals(insurType)){
|
|
|
+ // 浏阳县生育
|
|
|
+ insuplcAdmdvs.add("430181");
|
|
|
+ med_type.add("52");
|
|
|
+ med_type.add("2106");
|
|
|
+ med_type.add("2107");
|
|
|
+ YbStatResult result = dao.selectYbStatInfo(beginTime, endTime, setlType, insuplcAdmdvs, insurtype, med_type);
|
|
|
+ if(!ObjectUtils.isEmpty(result) && result.getPsnCount() > 0){
|
|
|
+ result.setInsurName("浏阳县生育");
|
|
|
+ result.setInsurType(insurType);
|
|
|
+ ybStatResult.add(result);
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ insuplcAdmdvs.clear();
|
|
|
+ insurtype.clear();
|
|
|
+ med_type.clear();
|
|
|
+ if("43990031001".equals(insurType) || "99".equals(insurType)){
|
|
|
+ // 湖南省城职普通住院(包含外伤住院)
|
|
|
+ insuplcAdmdvs.add("439900");
|
|
|
+ insurtype.add("310");
|
|
|
+ med_type.add("2101");
|
|
|
+ med_type.add("22");
|
|
|
+ YbStatResult result = dao.selectYbStatInfo(beginTime, endTime, setlType, insuplcAdmdvs, insurtype, med_type);
|
|
|
+ if(!ObjectUtils.isEmpty(result) && result.getPsnCount() > 0){
|
|
|
+ result.setInsurName("湖南省城职普通住院");
|
|
|
+ result.setInsurType(insurType);
|
|
|
+ ybStatResult.add(result);
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ insuplcAdmdvs.clear();
|
|
|
+ insurtype.clear();
|
|
|
+ med_type.clear();
|
|
|
+ if("43990034001".equals(insurType) || "99".equals(insurType)){
|
|
|
+ // 湖南省离休
|
|
|
+ insuplcAdmdvs.add("439900");
|
|
|
+ insurtype.add("340");
|
|
|
+ med_type.add("2101");
|
|
|
+ med_type.add("22");
|
|
|
+ YbStatResult result = dao.selectYbStatInfo(beginTime, endTime, setlType, insuplcAdmdvs, insurtype, med_type);
|
|
|
+ if(!ObjectUtils.isEmpty(result) && result.getPsnCount() > 0){
|
|
|
+ result.setInsurName("湖南省离休");
|
|
|
+ result.setInsurType(insurType);
|
|
|
+ ybStatResult.add(result);
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ insuplcAdmdvs.clear();
|
|
|
+ insurtype.clear();
|
|
|
+ med_type.clear();
|
|
|
+ if("43990051052".equals(insurType) || "99".equals(insurType)){
|
|
|
+ // 湖南省生育
|
|
|
+ insuplcAdmdvs.add("439900");
|
|
|
+ med_type.add("52");
|
|
|
+ med_type.add("2106");
|
|
|
+ med_type.add("2107");
|
|
|
+ YbStatResult result = dao.selectYbStatInfo(beginTime, endTime, setlType, insuplcAdmdvs, insurtype, med_type);
|
|
|
+ if(!ObjectUtils.isEmpty(result) && result.getPsnCount() > 0){
|
|
|
+ result.setInsurName("湖南省生育");
|
|
|
+ result.setInsurType(insurType);
|
|
|
+ ybStatResult.add(result);
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ insuplcAdmdvs.clear();
|
|
|
+ insurtype.clear();
|
|
|
+ med_type.clear();
|
|
|
+ if("43990001".equals(insurType) || "99".equals(insurType)){
|
|
|
+ // 省内异地(包含外伤住院)
|
|
|
+ YbStatResult result = dao.selectYbStatInfoInProvinceOtherCities(beginTime, endTime, setlType);
|
|
|
+ if(!ObjectUtils.isEmpty(result) && result.getPsnCount() > 0){
|
|
|
+ result.setInsurName("省内异地");
|
|
|
+ result.setInsurType(insurType);
|
|
|
+ ybStatResult.add(result);
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ insuplcAdmdvs.clear();
|
|
|
+ insurtype.clear();
|
|
|
+ med_type.clear();
|
|
|
+ if("43990002".equals(insurType) || "99".equals(insurType)){
|
|
|
+ // 省外异地(包含外伤住院)
|
|
|
+ YbStatResult result = dao.selectYbStatInfoInOutProvinceCities(beginTime, endTime, setlType);
|
|
|
+ if(!ObjectUtils.isEmpty(result) && result.getPsnCount() > 0){
|
|
|
+ result.setInsurName("省外异地");
|
|
|
+ result.setInsurType(insurType);
|
|
|
+ ybStatResult.add(result);
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ insuplcAdmdvs.clear();
|
|
|
+ insurtype.clear();
|
|
|
+ med_type.clear();
|
|
|
+ if("4301002102".equals(insurType) || "99".equals(insurType)){
|
|
|
+ // 市单病种
|
|
|
+ insuplcAdmdvs.add("430102");
|
|
|
+ insuplcAdmdvs.add("430103");
|
|
|
+ insuplcAdmdvs.add("430104");
|
|
|
+ insuplcAdmdvs.add("430105");
|
|
|
+ insuplcAdmdvs.add("430111");
|
|
|
+ insuplcAdmdvs.add("430140");
|
|
|
+ insuplcAdmdvs.add("430199");
|
|
|
+ insuplcAdmdvs.add("430121");
|
|
|
+ insuplcAdmdvs.add("430181");
|
|
|
+ med_type.add("2102");
|
|
|
+ YbStatResult result = dao.selectYbStatInfo(beginTime, endTime, setlType, insuplcAdmdvs, insurtype, med_type);
|
|
|
+ if(!ObjectUtils.isEmpty(result) && result.getPsnCount() > 0){
|
|
|
+ result.setInsurName("市单病种");
|
|
|
+ result.setInsurType(insurType);
|
|
|
+ ybStatResult.add(result);
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ insuplcAdmdvs.clear();
|
|
|
+ insurtype.clear();
|
|
|
+ med_type.clear();
|
|
|
+ if("4399002102".equals(insurType) || "99".equals(insurType)){
|
|
|
+ // 省城职单病种
|
|
|
+ insuplcAdmdvs.add("439900");
|
|
|
+ med_type.add("2102");
|
|
|
+ YbStatResult result = dao.selectYbStatInfo(beginTime, endTime, setlType, insuplcAdmdvs, insurtype, med_type);
|
|
|
+ if(!ObjectUtils.isEmpty(result) && result.getPsnCount() > 0){
|
|
|
+ result.setInsurName("省单病种");
|
|
|
+ result.setInsurType(insurType);
|
|
|
+ ybStatResult.add(result);
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ insuplcAdmdvs.clear();
|
|
|
+ insurtype.clear();
|
|
|
+ med_type.clear();
|
|
|
+ if("4399012102".equals(insurType) || "99".equals(insurType)){
|
|
|
+ // 省内异地单病种
|
|
|
+ YbStatResult result = dao.selectYbStatInfoInProvinceOtherCitiesSingleDisease(beginTime, endTime, setlType);
|
|
|
+ if(!ObjectUtils.isEmpty(result) && result.getPsnCount() > 0){
|
|
|
+ result.setInsurName("省内异地单病种");
|
|
|
+ result.setInsurType(insurType);
|
|
|
+ ybStatResult.add(result);
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ } else {
|
|
|
+ // 门诊
|
|
|
+ if("11".equals(insurType) || "99".equals(insurType)){
|
|
|
+ // 普通门诊
|
|
|
+ med_type.add("11");
|
|
|
+ med_type.add("9903");
|
|
|
+ YbStatResult result = dao.selectYbStatInfo(beginTime, endTime, setlType, insuplcAdmdvs, insurtype, med_type);
|
|
|
+ if(!ObjectUtils.isEmpty(result) && result.getPsnCount() > 0){
|
|
|
+ result.setInsurName("普通门诊");
|
|
|
+ result.setInsurType(insurType);
|
|
|
+ ybStatResult.add(result);
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ insuplcAdmdvs.clear();
|
|
|
+ insurtype.clear();
|
|
|
+ med_type.clear();
|
|
|
+ if("14".equals(insurType) || "99".equals(insurType)){
|
|
|
+ // 门诊慢特病
|
|
|
+ med_type.add("14");
|
|
|
+ YbStatResult result = dao.selectYbStatInfo(beginTime, endTime, setlType, insuplcAdmdvs, insurtype, med_type);
|
|
|
+ if(!ObjectUtils.isEmpty(result) && result.getPsnCount() > 0){
|
|
|
+ result.setInsurName("特殊门诊");
|
|
|
+ result.setInsurType(insurType);
|
|
|
+ ybStatResult.add(result);
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ insuplcAdmdvs.clear();
|
|
|
+ insurtype.clear();
|
|
|
+ med_type.clear();
|
|
|
+ if("51".equals(insurType) || "99".equals(insurType)){
|
|
|
+ // 生育门诊
|
|
|
+ med_type.add("51");
|
|
|
+ YbStatResult result = dao.selectYbStatInfo(beginTime, endTime, setlType, insuplcAdmdvs, insurtype, med_type);
|
|
|
+ if(!ObjectUtils.isEmpty(result) && result.getPsnCount() > 0){
|
|
|
+ result.setInsurName("生育门诊");
|
|
|
+ result.setInsurType(insurType);
|
|
|
+ ybStatResult.add(result);
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ }
|
|
|
+
|
|
|
+ if (null == ybStatResult || ybStatResult.isEmpty()) {
|
|
|
+ return ResultVoUtil.fail(ExceptionEnum.NO_DATA_EXIST);
|
|
|
+ }
|
|
|
+
|
|
|
+ return ResultVoUtil.success(ybStatResult);
|
|
|
+ }
|
|
|
+
|
|
|
+}
|