|
@@ -53,12 +53,12 @@ public class SupplyChainServiceImpl implements ISupplyChainService {
|
|
|
jsonObject.put("topOrders", topOrders);
|
|
|
map.put(promoterId, promoterId);
|
|
|
}
|
|
|
- Map<Long, String> userMap = new HashMap<>();
|
|
|
+ Map<String, String> userMap = new HashMap<>();
|
|
|
if (!Check.isNullMap(map)) {
|
|
|
List<JSONObject> userList = supplyChainMapper.getUserList(map);
|
|
|
for (int i = 0; i < userList.size(); i++) {
|
|
|
JSONObject jsonObject = userList.get(i);
|
|
|
- userMap.put(jsonObject.getLong("promoterId"), jsonObject.getString("userName"));
|
|
|
+ userMap.put(jsonObject.getString("promoterId"), jsonObject.getString("userName"));
|
|
|
}
|
|
|
}
|
|
|
|