|
@@ -30,7 +30,7 @@ import javax.validation.Valid;
|
|
|
*/
|
|
|
@Api(tags = "组织架构Controller")
|
|
|
@RestController
|
|
|
-@RequestMapping(ApiConstant.DEFAULT_URI_PREFIX + SystemConstant.PREFIX_URL_SYS + "/org")
|
|
|
+@RequestMapping(ApiConstant.DEFAULT_URI_PREFIX + SystemConstant.PREFIX_URL_SYS + "/org")
|
|
|
public class SysOrgController {
|
|
|
|
|
|
@Resource
|
|
@@ -48,8 +48,9 @@ public class SysOrgController {
|
|
|
@RequestMapping(value = "/list", method = RequestMethod.POST)
|
|
|
@OperationLogDetail(customizedOperationType = CustomizedOperationTypeEnum.SEARCH)
|
|
|
public Result list(@RequestParam(value = "specialPrivilege", required = false) SpecialPrivilegeEnum specialPrivilege,
|
|
|
- @RequestParam(value = "withoutPrintingRoom", required = false) boolean withoutPrintingRoom) {
|
|
|
- return ResultUtil.ok(sysOrgService.listOrgTree(specialPrivilege, withoutPrintingRoom));
|
|
|
+ @RequestParam(value = "withoutPrintingRoom", required = false) boolean withoutPrintingRoom,
|
|
|
+ @ApiParam(value = "科目编码") @RequestParam(required = false) String courseCode) {
|
|
|
+ return ResultUtil.ok(sysOrgService.listOrgTree(specialPrivilege, withoutPrintingRoom, courseCode));
|
|
|
}
|
|
|
|
|
|
/**
|