同步用户空指针
This commit is contained in:
@@ -49,8 +49,10 @@ public class DataSyncController {
|
|||||||
//存放岗位信息
|
//存放岗位信息
|
||||||
Map<String, String> positionMap = new HashMap<>();
|
Map<String, String> positionMap = new HashMap<>();
|
||||||
Map<String, String> useDistinct = new HashMap<>();
|
Map<String, String> useDistinct = new HashMap<>();
|
||||||
|
TsPosition position = new TsPosition();
|
||||||
IPage<TsPosition> iPage = tsPositionService.getPosition(new TsPosition());
|
position.setCurrent(1);
|
||||||
|
position.setPageSize(100000);
|
||||||
|
IPage<TsPosition> iPage = tsPositionService.getPosition(position);
|
||||||
List<TsPosition> positions=iPage.getRecords();
|
List<TsPosition> positions=iPage.getRecords();
|
||||||
if (!positions.isEmpty()) {
|
if (!positions.isEmpty()) {
|
||||||
positions.forEach(tsPosition -> {
|
positions.forEach(tsPosition -> {
|
||||||
|
|||||||
Reference in New Issue
Block a user