From 4c87e40a3ca38b3fc2dab600cb033946e80bcbbd Mon Sep 17 00:00:00 2001
From: 小飞侠 <8277136+liaoxujun@user.noreply.gitee.com>
Date: 星期二, 07 四月 2026 13:05:18 +0800
Subject: [PATCH] no message
---
cylsg/cylsg.Application/CyOS/CyOSSDriver.cs | 15 ++++++++++++++-
1 files changed, 14 insertions(+), 1 deletions(-)
diff --git a/cylsg/cylsg.Application/CyOS/CyOSSDriver.cs b/cylsg/cylsg.Application/CyOS/CyOSSDriver.cs
index 66543aa..b851afc 100644
--- a/cylsg/cylsg.Application/CyOS/CyOSSDriver.cs
+++ b/cylsg/cylsg.Application/CyOS/CyOSSDriver.cs
@@ -2,6 +2,7 @@
using cylsg.Model.utilityViewModel;
using ECTESTOA;
using EzCoreNet.Redis;
+using EzInitqMessageDef;
using Furion.LinqBuilder;
using Microsoft.AspNetCore.Http.HttpResults;
using Models;
@@ -47,7 +48,7 @@
Expression<Func<OA_DeliverPlanPaiche, bool>> SearchList = (x) => true;
SearchList = SearchList.And(x => x.FirmId == _oAServices.firmId);
SearchList = SearchList.And(x => x.DriverId == Permissions.KeyId);//鍙湅鑷繁
- SearchList = SearchList.And(x => x.ShifouDelivery != 2);//杩囨护鏈夋晥
+ SearchList = SearchList.And(x => x.ShifouDelivery != 2 && x.ShifouDelivery != 0);//杩囨护鏈夋晥
if (Param.DeliverKeyID != null)
{
SearchList = SearchList.And(x => x.DriverId == Param.DeliverKeyID);
@@ -214,6 +215,18 @@
if(Param.Deliveredstatus== DeliveredType.Delivered)
a.DeliveredTime = DateTime.Now;
a.Wentifankui = Param.Wentifankui;
+ if( !string.IsNullOrEmpty( Param.Wentifankui))
+ {
+
+ //闂鍙嶉涓嶄负绌猴紝鍒欐彃鍏ュ弽棣堜俊鎭�
+
+ await InitQMessages.SendMessageAsync<CY_OSDeiverWentiFankuaiModes>(InitQMessages.CYOSDeiverWentiFankuai, new CY_OSDeiverWentiFankuaiModes
+ {
+ CreateTime = DateTime.Now,
+ OA_DeliverPlanPaicheID = a.Keyid,
+ WenTi = Param.Wentifankui,
+ });
+ }
a.Deliveredstatus= Param.Deliveredstatus;
a.Attachments = Param.Attachments;
--
Gitblit v1.9.1