|
|
@ -1,6 +1,9 @@ |
|
|
|
package com.daqing.financial.hrms.controller; |
|
|
|
package com.daqing.financial.hrms.controller; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
import com.daqing.financial.hrauth.annotation.Log; |
|
|
|
|
|
|
|
import com.daqing.financial.hrauth.enums.OperationType; |
|
|
|
|
|
|
|
import com.daqing.financial.hrauth.enums.OperationUnit; |
|
|
|
import com.daqing.financial.hrms.EmployeeControllerApi; |
|
|
|
import com.daqing.financial.hrms.EmployeeControllerApi; |
|
|
|
import com.daqing.financial.hrms.service.EmployeeService; |
|
|
|
import com.daqing.financial.hrms.service.EmployeeService; |
|
|
|
import com.daqing.framework.domain.crms.request.EmployeeDisableRequest; |
|
|
|
import com.daqing.framework.domain.crms.request.EmployeeDisableRequest; |
|
|
@ -41,7 +44,7 @@ public class EmployeeController implements EmployeeControllerApi { |
|
|
|
private EmployeeService employeeService; |
|
|
|
private EmployeeService employeeService; |
|
|
|
|
|
|
|
|
|
|
|
@GetMapping("/list") |
|
|
|
@GetMapping("/list") |
|
|
|
//@Log(detail = "员工列表",level = 3,operationUnit = OperationUnit.ROLE,operationType = OperationType.INSERT)
|
|
|
|
@Log(detail = "员工列表",level = 3,operationUnit = OperationUnit.ROLE,operationType = OperationType.INSERT) |
|
|
|
//@RequiresPermissions("hrms:employee:info")
|
|
|
|
//@RequiresPermissions("hrms:employee:info")
|
|
|
|
public ResponseResult list(@RequestParam("page") Integer page, |
|
|
|
public ResponseResult list(@RequestParam("page") Integer page, |
|
|
|
@RequestParam("size") Integer size, |
|
|
|
@RequestParam("size") Integer size, |
|
|
|