班组管理,班组出入场,考勤机管理

This commit is contained in:
马三炮 2025-08-16 18:03:12 +08:00
parent 22d4e25530
commit 4c95d2b3cd
1 changed files with 16 additions and 0 deletions

View File

@ -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<>());
}
}