|
|
@@ -65,6 +65,7 @@ public class UserPatentApiController extends CertifyApiController {
|
|
|
private AftFileService aftFileService;
|
|
|
@Resource
|
|
|
private OrganizationIdentityService organizationIdentityService;
|
|
|
+
|
|
|
|
|
|
@Value(value = "${upload.private.path}")
|
|
|
private String uploadPrivatePath = null;
|
|
|
@@ -331,5 +332,17 @@ public class UserPatentApiController extends CertifyApiController {
|
|
|
return patentInfoService.getClientApplyList(TokenManager.getUserId(), patentNumber, patentName, patentCatagory,
|
|
|
patentState, pNo, pSize);
|
|
|
}
|
|
|
-
|
|
|
+
|
|
|
+ /**
|
|
|
+ * 查询部门下的员工
|
|
|
+ */
|
|
|
+ @RequestMapping(value = "/selectDepartmentStaff", method = RequestMethod.GET)
|
|
|
+ public Result selectDepartmentStaff(String departmentId,String name){
|
|
|
+ Result res = new Result();
|
|
|
+ if (StringUtils.isBlank(departmentId)) {
|
|
|
+ res.getError().add(buildError(ErrorConstants.PARAM_ERROR, "", "部门"));
|
|
|
+ return res;
|
|
|
+ }
|
|
|
+ return res.data(adminService.selectDepartmentStaff(departmentId,name));
|
|
|
+ }
|
|
|
}
|