| | |
| | | using cylsg.Model.utilityViewModel; |
| | | using ECTESTOA; |
| | | using Furion.LinqBuilder; |
| | | using Models; |
| | | using System; |
| | | using System.Collections.Generic; |
| | | using System.Linq; |
| | |
| | | data.Operator = Permissions.Name; |
| | | await _SugarClient.Updateable(data).ExecuteCommandAsync(); |
| | | |
| | | //设置设备weixiu状态为拒绝 |
| | | var shenpis = await _SugarClient.Queryable<OA_ShebeiWeixiu>().Where(x => x.FukuanShebeiId == data.Keyid).FirstAsync(); |
| | | if (shenpis != null) |
| | | { |
| | | shenpis.ApprovalStatus = (int )PlanStatusType.No; |
| | | |
| | | await _SugarClient.Updateable(shenpis).ExecuteCommandAsync(); |
| | | } |
| | | |
| | | } |
| | | |
| | | shenpi = new OaWorkPlanShenpi() |