|
|
@ -56,6 +56,21 @@ public class DcEmployeesController extends BaseController |
|
|
|
List<DcEmployees> list = dcEmployeesService.selectDcEmployeesList(dcEmployees); |
|
|
|
return getDataTable(list); |
|
|
|
} |
|
|
|
/** |
|
|
|
* 查询值班人员信息列表不分页 |
|
|
|
*/ |
|
|
|
@ApiOperation("获取人员信息列表") |
|
|
|
@PreAuthorize("@ss.hasPermi('business:employees:list')") |
|
|
|
@GetMapping("/listAll") |
|
|
|
public AjaxResult listAll(DcEmployees dcEmployees) |
|
|
|
{ |
|
|
|
String name = dcEmployees.getName(); |
|
|
|
if (name != null && !name.isEmpty()) { |
|
|
|
name = name.replace(" ", ""); // 去掉空格
|
|
|
|
dcEmployees.setName(name); |
|
|
|
} |
|
|
|
return AjaxResult.success(dcEmployeesService.selectDcEmployeesList(dcEmployees)); |
|
|
|
} |
|
|
|
/** |
|
|
|
* 导出值班人员信息列表 |
|
|
|
*/ |
|
|
|