From 376f3de70bfdd7905876123ba5a331c0aa176199 Mon Sep 17 00:00:00 2001
From: 小飞侠 <8277136+liaoxujun@user.noreply.gitee.com>
Date: 星期四, 25 九月 2025 09:10:29 +0800
Subject: [PATCH] 修改注册时可以多模块注册
---
Admin.NET/FZFCGDD.ORDER.Application/Service/TenderOrder/TenderOrderService.cs | 42 ++++++++++++++++++++++++++----------------
1 files changed, 26 insertions(+), 16 deletions(-)
diff --git a/Admin.NET/FZFCGDD.ORDER.Application/Service/TenderOrder/TenderOrderService.cs b/Admin.NET/FZFCGDD.ORDER.Application/Service/TenderOrder/TenderOrderService.cs
index 2b1d6d4..5e5dc03 100644
--- a/Admin.NET/FZFCGDD.ORDER.Application/Service/TenderOrder/TenderOrderService.cs
+++ b/Admin.NET/FZFCGDD.ORDER.Application/Service/TenderOrder/TenderOrderService.cs
@@ -359,6 +359,16 @@
{
tenderOrderBiddingOutput.IsTransferName = "鍚�";
}
+
+ if (tenderOrderBiddingOutput.IsDailiTransfer.HasValue && tenderOrderBiddingOutput.IsDailiTransfer.Value)
+ {
+ tenderOrderBiddingOutput.IsDailiTransferName = "鏄�";
+ }
+ else
+ {
+ tenderOrderBiddingOutput.IsDailiTransferName = "鍚�";
+ }
+
var cusExtend = await _sqlSugarClient.Queryable<FBS_CusExtend>().Where(x => x.Id == tenderOrderBiddingOutput.CusExtendId).FirstAsync();
if (cusExtend != null)
{
@@ -397,7 +407,7 @@
var RealName = App.User?.FindFirstValue(ClaimConst.RealName);
- if (CustomerLogoinType != "DLJG" || CustomerLogoinType != "CGR")
+ if (CustomerLogoinType != "DLJG" && CustomerLogoinType != "CGR")
{
throw Oops.Oh("鍙湁鐧诲綍瑙掕壊鎷涙爣浠g悊鏈烘瀯鎴栬�呴噰璐汉鎵嶈兘鑾峰彇鑱旂郴鏂瑰紡锛�");
}
@@ -408,7 +418,7 @@
.Where(x => x.Id == customerExId).FirstAsync();
if (fBS_CusExtend != null)
{
- if (CustomerLogoinType != "DLJG" )
+ if (CustomerLogoinType == "DLJG" )
{
tenderOrderOutput.Dailijigoumingcheng = fBS_CusExtend.EnterpriseName;
tenderOrderOutput.DailiLianxiren = fBS_CusExtend.OperatorName;
@@ -418,7 +428,7 @@
tenderOrderOutput.DailiXiangmujingli = "";
tenderOrderOutput.DailijingliLianxidianhua = "";
}
- else if (CustomerLogoinType != "CGR")
+ else if (CustomerLogoinType == "CGR")
{
tenderOrderOutput.Caigourenmingcheng = fBS_CusExtend.EnterpriseName;
tenderOrderOutput.Xingzhengquyu = "";
@@ -466,7 +476,7 @@
string? CustomerLogoinType = App.User?.FindFirst(ClaimConst.CustomerLogoinType)?.Value;
- if(CustomerLogoinType!= "DLJG" || CustomerLogoinType != "CGR")
+ if(CustomerLogoinType!= "DLJG" && CustomerLogoinType != "CGR")
{
throw Oops.Oh("鍙湁鐧诲綍瑙掕壊鎷涙爣浠g悊鏈烘瀯鎴栬�呴噰璐汉鎵嶈兘鍙戝竷鎷涙爣锛�");
}
@@ -506,7 +516,7 @@
string? CustomerLogoinType = App.User?.FindFirst(ClaimConst.CustomerLogoinType)?.Value;
- if (CustomerLogoinType != "DLJG" || CustomerLogoinType != "CGR")
+ if (CustomerLogoinType != "DLJG" && CustomerLogoinType != "CGR")
{
throw Oops.Oh("鍙湁鐧诲綍瑙掕壊鎷涙爣浠g悊鏈烘瀯鎴栬�呴噰璐汉鎵嶈兘鏇存柊鎷涙爣锛�");
}
@@ -549,7 +559,7 @@
string? CustomerLogoinType = App.User?.FindFirst(ClaimConst.CustomerLogoinType)?.Value;
- if (CustomerLogoinType != "DLJG" || CustomerLogoinType != "CGR")
+ if (CustomerLogoinType != "DLJG" && CustomerLogoinType != "CGR")
{
throw Oops.Oh("鍙湁鐧诲綍瑙掕壊鎷涙爣浠g悊鏈烘瀯鎴栬�呴噰璐汉鎵嶈兘鏇存柊闈炴斂搴滆鍗曡川鐤戯紒");
}
@@ -589,7 +599,7 @@
string? CustomerLogoinType = App.User?.FindFirst(ClaimConst.CustomerLogoinType)?.Value;
- if (CustomerLogoinType != "DLJG" || CustomerLogoinType != "CGR")
+ if (CustomerLogoinType != "DLJG" && CustomerLogoinType != "CGR")
{
throw Oops.Oh("鍙湁鐧诲綍瑙掕壊鎷涙爣浠g悊鏈烘瀯鎴栬�呴噰璐汉鎵嶈兘鏇存柊闈炴斂搴滆鍗曟姇璇夛紒");
}
@@ -621,7 +631,7 @@
{
string? CustomerLogoinType = App.User?.FindFirst(ClaimConst.CustomerLogoinType)?.Value;
- if (CustomerLogoinType != "DLJG" || CustomerLogoinType != "CGR")
+ if (CustomerLogoinType != "DLJG" && CustomerLogoinType != "CGR")
{
throw Oops.Oh("鍙湁鐧诲綍瑙掕壊鎷涙爣浠g悊鏈烘瀯鎴栬�呴噰璐汉鎵嶈兘鍒犻櫎鎷涙爣锛�");
}
@@ -644,7 +654,7 @@
string? CustomerLogoinType = App.User?.FindFirst(ClaimConst.CustomerLogoinType)?.Value;
- if (CustomerLogoinType != "DLJG" || CustomerLogoinType != "CGR")
+ if (CustomerLogoinType != "DLJG" && CustomerLogoinType != "CGR")
{
throw Oops.Oh("鍙湁鐧诲綍瑙掕壊鎷涙爣浠g悊鏈烘瀯鎴栬�呴噰璐汉鎵嶈兘鎵归噺鍒犻櫎鎷涙爣锛�");
}
@@ -750,7 +760,7 @@
string? CustomerLogoinType = App.User?.FindFirst(ClaimConst.CustomerLogoinType)?.Value;
- if (CustomerLogoinType != "DLJG" || CustomerLogoinType != "CGR")
+ if (CustomerLogoinType != "DLJG" && CustomerLogoinType != "CGR")
{
throw Oops.Oh("鍙湁鐧诲綍瑙掕壊鎷涙爣浠g悊鏈烘瀯鎴栬�呴噰璐汉鎵嶈兘鍙戝竷鎷涙爣锛�");
}
@@ -796,7 +806,7 @@
string? CustomerLogoinType = App.User?.FindFirst(ClaimConst.CustomerLogoinType)?.Value;
- if (CustomerLogoinType != "DLJG" || CustomerLogoinType != "CGR")
+ if (CustomerLogoinType != "DLJG" && CustomerLogoinType != "CGR")
{
throw Oops.Oh("鍙湁鐧诲綍瑙掕壊鎷涙爣浠g悊鏈烘瀯鎴栬�呴噰璐汉鎵嶈兘鏇存柊闈炴斂搴滆鍗曟爣棰橈紒");
}
@@ -836,7 +846,7 @@
string? CustomerLogoinType = App.User?.FindFirst(ClaimConst.CustomerLogoinType)?.Value;
- if (CustomerLogoinType != "DLJG" || CustomerLogoinType != "CGR")
+ if (CustomerLogoinType != "DLJG" && CustomerLogoinType != "CGR")
{
throw Oops.Oh("鍙湁鐧诲綍瑙掕壊鎷涙爣浠g悊鏈烘瀯鎴栬�呴噰璐汉鎵嶈兘鍙戝竷鍙樻洿鍏憡锛�");
}
@@ -935,7 +945,7 @@
{
string? CustomerLogoinType = App.User?.FindFirst(ClaimConst.CustomerLogoinType)?.Value;
- if (CustomerLogoinType != "DLJG" || CustomerLogoinType != "CGR")
+ if (CustomerLogoinType != "DLJG" && CustomerLogoinType != "CGR")
{
throw Oops.Oh("鍙湁鐧诲綍瑙掕壊鎷涙爣浠g悊鏈烘瀯鎴栬�呴噰璐汉鎵嶈兘鍒犻櫎鍙樻洿鍏憡锛�");
}
@@ -970,7 +980,7 @@
string? CustomerLogoinType = App.User?.FindFirst(ClaimConst.CustomerLogoinType)?.Value;
- if (CustomerLogoinType != "DLJG" || CustomerLogoinType != "CGR")
+ if (CustomerLogoinType != "DLJG" && CustomerLogoinType != "CGR")
{
throw Oops.Oh("鍙湁鐧诲綍瑙掕壊鎷涙爣浠g悊鏈烘瀯鎴栬�呴噰璐汉鎵嶈兘纭渚涘簲鍟嗗凡鏀粯鎶ュ悕璐癸紒");
}
@@ -1028,7 +1038,7 @@
string? CustomerLogoinType = App.User?.FindFirst(ClaimConst.CustomerLogoinType)?.Value;
- if (CustomerLogoinType != "DLJG" || CustomerLogoinType != "CGR")
+ if (CustomerLogoinType != "DLJG" && CustomerLogoinType != "CGR")
{
throw Oops.Oh("鍙湁鐧诲綍瑙掕壊鎷涙爣浠g悊鏈烘瀯鎴栬�呴噰璐汉鎵嶈兘鍙戝竷涓爣鏂囦欢锛�");
}
@@ -1150,7 +1160,7 @@
string? CustomerLogoinType = App.User?.FindFirst(ClaimConst.CustomerLogoinType)?.Value;
- if (CustomerLogoinType != "DLJG" || CustomerLogoinType != "CGR")
+ if (CustomerLogoinType != "DLJG" && CustomerLogoinType != "CGR")
{
throw Oops.Oh("鍙湁鐧诲綍瑙掕壊鎷涙爣浠g悊鏈烘瀯鎴栬�呴噰璐汉鎵嶈兘纭渚涘簲鍟嗗凡鏀粯浠g悊璐癸紒");
}
--
Gitblit v1.9.1