|
@@ -90,8 +90,8 @@ public class PlannerAction {
|
|
|
//String tokenId= (String) map.get("tokenId");
|
|
|
Integer user_id = ValidationUtil.checkAndAssignInt(req.getHeader("Authorization").split("&")[1]);
|
|
|
userAuthoricationService.queryUserAuthority(user_id, Roles.ADMIN);
|
|
|
- int plannerId = ValidationUtil.checkAndAssignInt(map.get("plannerId"));// 传的是计划员id
|
|
|
- userAuthoricationService.queryUserAuthority(plannerId, Role.PLANNER);//??????由计划员来配置??---TODO
|
|
|
+ int plannerId = ValidationUtil.checkAndAssignInt(map.get("plannerId"));// 管理员根据传计划员id 来配置供应商
|
|
|
+ userAuthoricationService.queryUserAuthority(plannerId);//??????由计划员来配置??---TODO
|
|
|
SupplierList=plannerService.queryAllSupplierByPlannerId(plannerId);
|
|
|
SupplierList2=plannerService.queryAllNoSupplierByPlannerId(plannerId);
|
|
|
Map<String, Object> twolist =new HashMap<String, Object>();
|