|
|
@@ -142,7 +142,17 @@ public class StatisticsServiceImpl extends BaseService implements StatisticsServ
|
|
|
@Override
|
|
|
public List<StatisticsBean> getFeeStationCheckedScore(StatisticsBean obj) {
|
|
|
// 获取收费站信息收费站人数
|
|
|
- List<StatisticsBean> lists = departmentDao.selectFeeStationGroup(obj);
|
|
|
+ Constant t = CodeUtil.getCodeByFlagAndValue("feestation_check_jobs", "1");
|
|
|
+ String[] postions = t.getCode_name().split(",");
|
|
|
+ User user = new User();
|
|
|
+ List<Integer> positionList = new ArrayList<Integer>();
|
|
|
+ for(int i =0 ;i<postions.length;i++){
|
|
|
+ positionList.add(Integer.parseInt(postions[i]));
|
|
|
+ }
|
|
|
+ user.setPosition_ids(positionList);
|
|
|
+
|
|
|
+
|
|
|
+ List<StatisticsBean> lists = departmentDao.selectFeeStationGroup(user);
|
|
|
Map<Long, StatisticsBean> mapStationInfos = new HashMap<>();
|
|
|
int i = 0;
|
|
|
for (StatisticsBean sta : lists) {
|
|
|
@@ -219,7 +229,15 @@ public class StatisticsServiceImpl extends BaseService implements StatisticsServ
|
|
|
public List<StatisticsBean> getFeeStationCheckItemScore(StatisticsBean obj) {
|
|
|
|
|
|
// 获取收费站信息收费站人数
|
|
|
- List<StatisticsBean> lists = departmentDao.selectFeeStationGroup(obj);
|
|
|
+ Constant t = CodeUtil.getCodeByFlagAndValue("feestation_check_jobs", "1");
|
|
|
+ String[] postions = t.getCode_name().split(",");
|
|
|
+ User user = new User();
|
|
|
+ List<Integer> positionList = new ArrayList<Integer>();
|
|
|
+ for(int i =0 ;i<postions.length;i++){
|
|
|
+ positionList.add(Integer.parseInt(postions[i]));
|
|
|
+ }
|
|
|
+ user.setPosition_ids(positionList);
|
|
|
+ List<StatisticsBean> lists = departmentDao.selectFeeStationGroup(user);
|
|
|
Map<Long, StatisticsBean> mapStationInfos = new HashMap<>();
|
|
|
int i = 0;
|
|
|
for (StatisticsBean sta : lists) {
|
|
|
@@ -577,7 +595,16 @@ public class StatisticsServiceImpl extends BaseService implements StatisticsServ
|
|
|
}
|
|
|
}
|
|
|
|
|
|
- List<StatisticsBean> lists = departmentDao.selectFeeStationGroup(obj);
|
|
|
+ Constant t = CodeUtil.getCodeByFlagAndValue("feestation_check_jobs", "1");
|
|
|
+ String[] postions = t.getCode_name().split(",");
|
|
|
+ User user = new User();
|
|
|
+ List<Integer> positionList = new ArrayList<Integer>();
|
|
|
+ for(int i =0 ;i<postions.length;i++){
|
|
|
+ positionList.add(Integer.parseInt(postions[i]));
|
|
|
+ }
|
|
|
+ user.setPosition_ids(positionList);
|
|
|
+
|
|
|
+ List<StatisticsBean> lists = departmentDao.selectFeeStationGroup(user);
|
|
|
int i = 0;
|
|
|
for (StatisticsBean sta : lists) {
|
|
|
if (i < 7) {
|