xiaoyunquan 2 年之前
父节点
当前提交
36521e9263

+ 7 - 4
svr/svr-wlyy-specialist/src/main/java/com/yihu/jw/service/SpecialistScreenResultService.java

@ -14,10 +14,7 @@ import org.springframework.jdbc.core.JdbcTemplate;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import java.util.*;
/**
 * Created by zhangdan on 2018/7/6.
@ -96,6 +93,12 @@ public class SpecialistScreenResultService {
            surveyScreenResultVoList = jdbcTemplate.query(sql.toString(),new BeanPropertyRowMapper(SurveyScreenResultVo.class));
            if(CollectionUtils.isNotEmpty(surveyScreenResultVoList)){
                count = surveyScreenResultVoList.size();
                surveyScreenResultVoList.sort(new Comparator<SurveyScreenResultVo>() {
                    @Override
                    public int compare(SurveyScreenResultVo o1, SurveyScreenResultVo o2) {
                        return o1.getCzrq().before(o2.getCzrq())?1:-1;
                    }
                });
            }
        }
        for(SurveyScreenResultVo vo : surveyScreenResultVoList){