班组管理,班组出入场,考勤机管理
This commit is contained in:
parent
22d4e25530
commit
4c95d2b3cd
|
|
@ -83,4 +83,20 @@ public class PmPostTypeController extends BaseController{
|
|||
}
|
||||
return error("系统异常,请联系管理员");
|
||||
}
|
||||
|
||||
/**
|
||||
* 工种类型列表
|
||||
*/
|
||||
@RequiresPermissionsOrInnerAuth(innerAuth = @InnerAuth, requiresPermissions = @RequiresPermissions("post:type:list"))
|
||||
@GetMapping("/listAll")
|
||||
@SysLog(title = "工种类型管理", businessType = OperaType.QUERY, logType = 0, module = "工种类型管理->工种类型列表")
|
||||
public TableDataInfo listAll(PmPostType pmPostType) {
|
||||
try {
|
||||
List<PmPostType> list = pmPostTypeService.selectPostTypeList(pmPostType);
|
||||
return getDataTable(list);
|
||||
} catch (Exception e) {
|
||||
log.error(e.toString(), e);
|
||||
}
|
||||
return getDataTableError(new ArrayList<>());
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue