|
|
@@ -132,9 +132,9 @@ public class BlockedRateServiceImpl extends ServiceImpl<BlockedRateMapper, Block
|
|
132
|
132
|
List<SysDept> deptListAll = sysDeptService.selectDeptInfoAll(new SysDept());
|
|
133
|
133
|
Map<String, Long> deptMap = deptListAll.stream().collect(Collectors.toMap(SysDept::getDeptName, SysDept::getDeptId, (oldValue, newValue) -> newValue));
|
|
134
|
134
|
|
|
135
|
|
- SysDictData query = new SysDictData();
|
|
136
|
|
- query.setDictType("shift");
|
|
137
|
|
- List<SysDictData> shiftList = sysDictDataService.selectDictDataList(query);
|
|
|
135
|
+ SysDictData shiftQuery = new SysDictData();
|
|
|
136
|
+ shiftQuery.setDictType("shift");
|
|
|
137
|
+ List<SysDictData> shiftList = sysDictDataService.selectDictDataList(shiftQuery);
|
|
138
|
138
|
Map<String, String> shiftMap = shiftList.stream().collect(Collectors.toMap(SysDictData::getDictLabel, SysDictData::getDictValue));
|
|
139
|
139
|
|
|
140
|
140
|
int successNum = 0;
|