综合服务
This commit is contained in:
1 parent
e83043d688
commit
818cd9b55c
4 files changed
+6
-3
No files matched your search
@@ -227,3 +227,4 @@ NodeUser approver = NodeUser.builder()
|
||||
3. **部门规则**: 根据部门特殊规则确定审批人
|
||||
4. **用户角色**: 根据用户角色确定审批人
|
||||
|
||||
|
||||
@@ -134,3 +134,4 @@ curl -X GET "http://your-domain/meetingDeskLayout/app/list" \
|
||||
- **v1.0.0** (2025-01-27): 初始版本,提供基本的摆放形式选择功能
|
||||
|
||||
|
||||
|
||||
+3
-3
@@ -141,7 +141,7 @@ public class MaintenanceOrderController {
|
||||
@PostMapping("/app/apply")
|
||||
@Operation(summary = "App端-维修申请新增", description = "App端用户提交维修申请")
|
||||
@SysLog("App端-维修申请新增")
|
||||
@PreAuthorize("@pms.hasPermission('integrated_maintenanceOrder_add')")
|
||||
// @PreAuthorize("@pms.hasPermission('integrated_maintenanceOrder_add')")
|
||||
public R appApply(@RequestBody MaintenanceOrderAppCreateDTO dto) {
|
||||
PjcloudUser user = SecurityUtils.getUser();
|
||||
Long userId = user.getId();
|
||||
@@ -159,7 +159,7 @@ public class MaintenanceOrderController {
|
||||
*/
|
||||
@GetMapping("/app/my")
|
||||
@Operation(summary = "App端-我的维修分页列表", description = "App端用户分页查询自己的维修单")
|
||||
@PreAuthorize("@pms.hasPermission('integrated_maintenanceOrder_view')")
|
||||
// @PreAuthorize("@pms.hasPermission('integrated_maintenanceOrder_view')")
|
||||
public R myMaintenanceOrders(@ParameterObject Page page) {
|
||||
Long userId = SecurityUtils.getUser().getId();
|
||||
LambdaQueryWrapper<MaintenanceOrderEntity> wrapper = Wrappers.lambdaQuery();
|
||||
@@ -174,7 +174,7 @@ public class MaintenanceOrderController {
|
||||
*/
|
||||
@GetMapping("/app/my/{id}")
|
||||
@Operation(summary = "App端-我的维修单详情", description = "App端用户查看自己维修单详情")
|
||||
@PreAuthorize("@pms.hasPermission('integrated_maintenanceOrder_view')")
|
||||
// @PreAuthorize("@pms.hasPermission('integrated_maintenanceOrder_view')")
|
||||
public R myMaintenanceOrderDetail(@PathVariable("id") Long id) {
|
||||
Long userId = SecurityUtils.getUser().getId();
|
||||
MaintenanceOrderEntity entity = maintenanceOrderService.getById(id);
|
||||
|
||||
+1
@@ -55,3 +55,4 @@ public class MeetingDeskLayoutAppVO implements Serializable {
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in new issue
Block a user