From 08a02f3c7990c563e6c770c1957e929377a3083f Mon Sep 17 00:00:00 2001
From: username@email.com <yzy2002yzy@163.com>
Date: 星期三, 19 二月 2025 13:39:33 +0800
Subject: [PATCH] 删除投递
---
cylsg/cylsg.Application/CyOS/CyOSStaffController.cs | 7 +------
1 files changed, 1 insertions(+), 6 deletions(-)
diff --git a/cylsg/cylsg.Application/CyOS/CyOSStaffController.cs b/cylsg/cylsg.Application/CyOS/CyOSStaffController.cs
index e4e014e..a888020 100644
--- a/cylsg/cylsg.Application/CyOS/CyOSStaffController.cs
+++ b/cylsg/cylsg.Application/CyOS/CyOSStaffController.cs
@@ -42,6 +42,7 @@
[HttpPost]
public async Task<WorekPlandto> getplanelist(SearchOaWorekPlan param)
{
+
if(! await CheckRols())
{
throw Oops.Oh("娌℃湁鏉冮檺");
@@ -196,12 +197,6 @@
pram.RewardMoney = 0;
pram.RewardType = 1;
pram.Keyid = null;
-
-
-
-
-
-
await _SugarClient.InsertNav(pram).Include(x=>x.WorkPlanAttachments).ExecuteCommandAsync();
return true;
--
Gitblit v1.9.1