联调问题
This commit is contained in:
parent
2490e40c6c
commit
3a723d1b28
|
|
@ -47,13 +47,13 @@ public class PersonnelController extends BaseController {
|
|||
*/
|
||||
@PreAuthorize("@ss.hasPermi('tb:personnel:list')")
|
||||
@GetMapping("/getPersonnelListSelect")
|
||||
public TableDataInfo getPersonnelListSelect(PersonnelVo personnelVo) {
|
||||
public AjaxResult getPersonnelListSelect(PersonnelVo personnelVo) {
|
||||
try {
|
||||
|
||||
List<PersonnelVo> list = personnelService.getPersonnelList(personnelVo);
|
||||
return getDataTable(list);
|
||||
return AjaxResult.success(list);
|
||||
} catch (Exception e) {
|
||||
return getDataTable(null);
|
||||
return error("接口异常");
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue