|
@@ -20,6 +20,7 @@ import com.huaxu.util.UserUtil;
|
|
|
import io.swagger.annotations.Api;
|
|
|
import io.swagger.annotations.ApiOperation;
|
|
|
import io.swagger.annotations.ApiParam;
|
|
|
+import org.apache.ibatis.annotations.Param;
|
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
|
import org.springframework.beans.factory.annotation.Value;
|
|
|
import org.springframework.stereotype.Controller;
|
|
@@ -301,7 +302,9 @@ public class UserController {
|
|
|
@RequestMapping(value = "/findUserIdsByPermissonOrg", method = RequestMethod.POST)
|
|
|
@ResponseBody
|
|
|
public List<Integer> findUserIdsByPermissonOrg(
|
|
|
- String tenantId,Integer companyOrgId,Integer deptOrgId){
|
|
|
+ @RequestParam(value = "tenantId", required = false) String tenantId,
|
|
|
+ @RequestParam(value = "companyOrgId", required = false)Integer companyOrgId,
|
|
|
+ @RequestParam(value = "deptOrgId", required = false)Integer deptOrgId){
|
|
|
return userService.findUserIdsByPermissonOrg(tenantId,companyOrgId,deptOrgId);
|
|
|
}
|
|
|
|