Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
H
huatu_API
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
liudong1993
huatu_API
Commits
f2d17246
Commit
f2d17246
authored
Dec 11, 2025
by
liudong1993
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
2edeb5eb
Hide whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
41 additions
and
8 deletions
+41
-8
RB_Sell_VisaOrder.cs
REBORN.Model/Entity/Dmc/RB_Sell_VisaOrder.cs
+10
-0
RB_Ticket_Order.cs
REBORN.Model/Entity/Sell/RB_Ticket_Order.cs
+11
-0
VisaModule.cs
REBORN.Module.DMCModule/VisaModule.cs
+2
-0
CRMModule.cs
REBORN.Module.SellModule/CRMModule.cs
+2
-2
CustomerOrderModule.cs
REBORN.Module.SellModule/CustomerOrderModule.cs
+2
-0
RB_Sell_VisaOrderRepository.cs
REBORN.Repository/Dmc/RB_Sell_VisaOrderRepository.cs
+1
-1
RB_CRMTicket_OrderRepository.cs
REBORN.Repository/Sell/RB_CRMTicket_OrderRepository.cs
+2
-2
VisaService.cs
REBORN.Services.DMCService/VisaService.cs
+8
-2
CustomerOrderService.cs
REBORN.Services.SellService/CustomerOrderService.cs
+3
-1
No files found.
REBORN.Model/Entity/Dmc/RB_Sell_VisaOrder.cs
View file @
f2d17246
...
@@ -367,6 +367,16 @@ namespace REBORN.Model.Entity.Dmc
...
@@ -367,6 +367,16 @@ namespace REBORN.Model.Entity.Dmc
/// 销售提成比例 (=0 取配置表)
/// 销售提成比例 (=0 取配置表)
/// </summary>
/// </summary>
public
decimal
SaleRate
{
get
;
set
;
}
public
decimal
SaleRate
{
get
;
set
;
}
/// <summary>
/// 联系人
/// </summary>
public
string
ContactLXName
{
get
;
set
;
}
/// <summary>
/// 联系人电话
/// </summary>
public
string
ContactLXNumber
{
get
;
set
;
}
#
endregion
#
endregion
}
}
}
}
REBORN.Model/Entity/Sell/RB_Ticket_Order.cs
View file @
f2d17246
...
@@ -331,5 +331,16 @@ namespace REBORN.Model.Entity.Sell
...
@@ -331,5 +331,16 @@ namespace REBORN.Model.Entity.Sell
/// 销售提成比例 (=0 取配置表)
/// 销售提成比例 (=0 取配置表)
/// </summary>
/// </summary>
public
decimal
SaleRate
{
get
;
set
;
}
public
decimal
SaleRate
{
get
;
set
;
}
/// <summary>
/// 联系人
/// </summary>
public
string
ContactName
{
get
;
set
;
}
/// <summary>
/// 联系人电话
/// </summary>
public
string
ContactNumber
{
get
;
set
;
}
}
}
}
}
REBORN.Module.DMCModule/VisaModule.cs
View file @
f2d17246
...
@@ -3223,6 +3223,8 @@ TEL:03-3779-9111";
...
@@ -3223,6 +3223,8 @@ TEL:03-3779-9111";
{
nameof
(
RB_Sell_VisaOrder
.
VisaId
),
model
.
VisaId
},
{
nameof
(
RB_Sell_VisaOrder
.
VisaId
),
model
.
VisaId
},
{
nameof
(
RB_Sell_VisaOrder
.
RB_Branch_Id
),
model
.
RB_Branch_Id
},
{
nameof
(
RB_Sell_VisaOrder
.
RB_Branch_Id
),
model
.
RB_Branch_Id
},
{
nameof
(
RB_Sell_VisaOrder
.
CreateBy
),
model
.
CreateBy
},
{
nameof
(
RB_Sell_VisaOrder
.
CreateBy
),
model
.
CreateBy
},
{
nameof
(
RB_Sell_VisaOrder
.
ContactLXName
),
model
.
ContactLXName
},
{
nameof
(
RB_Sell_VisaOrder
.
ContactLXNumber
),
model
.
ContactLXNumber
},
};
};
IList
<
WhereHelper
>
whereHelpers
=
new
List
<
WhereHelper
>()
IList
<
WhereHelper
>
whereHelpers
=
new
List
<
WhereHelper
>()
{
{
...
...
REBORN.Module.SellModule/CRMModule.cs
View file @
f2d17246
...
@@ -212,7 +212,7 @@ namespace REBORN.Module.SellModule
...
@@ -212,7 +212,7 @@ namespace REBORN.Module.SellModule
var
rairModel
=
rairlist
.
Where
(
x
=>
x
.
OrderId
==
item
.
OrderId
).
FirstOrDefault
();
var
rairModel
=
rairlist
.
Where
(
x
=>
x
.
OrderId
==
item
.
OrderId
).
FirstOrDefault
();
item
.
StartDate
=
rairModel
.
DepartTime
.
HasValue
?
rairModel
.
DepartTime
.
Value
.
ToString
(
"yyyy-MM-dd"
)
:
""
;
item
.
StartDate
=
rairModel
.
DepartTime
.
HasValue
?
rairModel
.
DepartTime
.
Value
.
ToString
(
"yyyy-MM-dd"
)
:
""
;
item
.
TCNUM
=
""
;
item
.
TCNUM
=
""
;
item
.
GuestName
=
rairModel
.
Gues
tName
;
item
.
GuestName
=
rairModel
.
Contac
tName
;
item
.
GuestId
=
rairModel
.
GuestId
;
item
.
GuestId
=
rairModel
.
GuestId
;
item
.
Name
=
rairModel
.
StartCityName
;
item
.
Name
=
rairModel
.
StartCityName
;
item
.
Description
=
rairModel
.
Remark
;
item
.
Description
=
rairModel
.
Remark
;
...
@@ -459,7 +459,7 @@ namespace REBORN.Module.SellModule
...
@@ -459,7 +459,7 @@ namespace REBORN.Module.SellModule
var
rmodel
=
rtlist
.
Where
(
x
=>
x
.
Id
==
item
.
OrderId
).
FirstOrDefault
();
var
rmodel
=
rtlist
.
Where
(
x
=>
x
.
Id
==
item
.
OrderId
).
FirstOrDefault
();
item
.
StartDate
=
rmodel
.
SendVisaDate
.
HasValue
?
rmodel
.
SendVisaDate
.
Value
.
ToString
(
"yyyy-MM-dd"
)
:
""
;
item
.
StartDate
=
rmodel
.
SendVisaDate
.
HasValue
?
rmodel
.
SendVisaDate
.
Value
.
ToString
(
"yyyy-MM-dd"
)
:
""
;
item
.
TCNUM
=
rmodel
.
VisaTCNUM
;
item
.
TCNUM
=
rmodel
.
VisaTCNUM
;
item
.
GuestName
=
rmodel
.
C
RMGuestId
>
0
?
guestList
.
Where
(
x
=>
x
.
Id
==
rmodel
.
CRMGuestId
)?.
Select
(
x
=>
x
.
SurName
+
x
.
Name
)?.
FirstOrDefault
()
??
""
:
rmodel
.
PeopleNum
+
"人"
;
item
.
GuestName
=
rmodel
.
C
ontactLXName
;
item
.
GuestId
=
rmodel
.
CRMGuestId
;
item
.
GuestId
=
rmodel
.
CRMGuestId
;
item
.
Name
=
rmodel
.
Name
;
item
.
Name
=
rmodel
.
Name
;
item
.
Description
=
rmodel
.
Remark
;
item
.
Description
=
rmodel
.
Remark
;
...
...
REBORN.Module.SellModule/CustomerOrderModule.cs
View file @
f2d17246
...
@@ -5592,6 +5592,8 @@ namespace REBORN.Module.SellModule
...
@@ -5592,6 +5592,8 @@ namespace REBORN.Module.SellModule
{
nameof
(
RB_CRMTicket_Order_Extend
.
GuestInfo
),
demodel
.
GuestInfo
},
{
nameof
(
RB_CRMTicket_Order_Extend
.
GuestInfo
),
demodel
.
GuestInfo
},
{
nameof
(
RB_CRMTicket_Order_Extend
.
EnterID
),
demodel
.
EnterID
},
{
nameof
(
RB_CRMTicket_Order_Extend
.
EnterID
),
demodel
.
EnterID
},
{
nameof
(
RB_CRMTicket_Order_Extend
.
EmpBranchId
),
demodel
.
EmpBranchId
},
{
nameof
(
RB_CRMTicket_Order_Extend
.
EmpBranchId
),
demodel
.
EmpBranchId
},
{
nameof
(
RB_CRMTicket_Order_Extend
.
ContactName
),
demodel
.
ContactName
},
{
nameof
(
RB_CRMTicket_Order_Extend
.
ContactNumber
),
demodel
.
ContactNumber
},
};
};
List
<
WhereHelper
>
wheres
=
new
List
<
WhereHelper
>()
{
List
<
WhereHelper
>
wheres
=
new
List
<
WhereHelper
>()
{
new
WhereHelper
(){
new
WhereHelper
(){
...
...
REBORN.Repository/Dmc/RB_Sell_VisaOrderRepository.cs
View file @
f2d17246
...
@@ -319,7 +319,7 @@ left join {nameof(RB_Visa_Management)} m on A.{nameof(RB_Sell_VisaProduct.VisaMa
...
@@ -319,7 +319,7 @@ left join {nameof(RB_Visa_Management)} m on A.{nameof(RB_Sell_VisaProduct.VisaMa
}
}
if
(!
string
.
IsNullOrWhiteSpace
(
model
.
ContactName
))
if
(!
string
.
IsNullOrWhiteSpace
(
model
.
ContactName
))
{
{
where
+=
$@" AND
g.Name like '%
{
model
.
ContactName
}
%'
"
;
where
+=
$@" AND
(A.
{
nameof
(
RB_Sell_VisaOrder
.
ContactLXName
)}
like '%
{
model
.
ContactName
}
%' or g.Name like '%
{
model
.
ContactName
}
%')
"
;
}
}
if
(
model
.
OpEmpId
>
0
)
if
(
model
.
OpEmpId
>
0
)
{
{
...
...
REBORN.Repository/Sell/RB_CRMTicket_OrderRepository.cs
View file @
f2d17246
...
@@ -232,7 +232,7 @@ WHERE o.GroupId ={rB_Group_id} and o.IsSaleDrainage =1 and o.OrderStatus <>2 and
...
@@ -232,7 +232,7 @@ WHERE o.GroupId ={rB_Group_id} and o.IsSaleDrainage =1 and o.OrderStatus <>2 and
}
}
if
(!
string
.
IsNullOrEmpty
(
demodel
.
GuestName
))
if
(!
string
.
IsNullOrEmpty
(
demodel
.
GuestName
))
{
{
where
+=
$@" and
g.Name like @GuestName
"
;
where
+=
$@" and
( t.
{
nameof
(
RB_CRMTicket_Order_Extend
.
ContactName
)}
like @GuestName or g.Name like @GuestName)
"
;
parameters
.
Add
(
"GuestName"
,
"%"
+
demodel
.
GuestName
.
Trim
()
+
"%"
);
parameters
.
Add
(
"GuestName"
,
"%"
+
demodel
.
GuestName
.
Trim
()
+
"%"
);
}
}
if
(
demodel
.
IsMyOrder
==
1
)
if
(
demodel
.
IsMyOrder
==
1
)
...
@@ -364,7 +364,7 @@ ORDER BY t.CreateTime DESC";
...
@@ -364,7 +364,7 @@ ORDER BY t.CreateTime DESC";
}
}
if
(!
string
.
IsNullOrEmpty
(
demodel
.
GuestName
))
if
(!
string
.
IsNullOrEmpty
(
demodel
.
GuestName
))
{
{
where
+=
$@" and
g.Name like @GuestName
"
;
where
+=
$@" and
( t.
{
nameof
(
RB_CRMTicket_Order_Extend
.
ContactName
)}
like @GuestName or g.Name like @GuestName)
"
;
parameters
.
Add
(
"GuestName"
,
"%"
+
demodel
.
GuestName
.
Trim
()
+
"%"
);
parameters
.
Add
(
"GuestName"
,
"%"
+
demodel
.
GuestName
.
Trim
()
+
"%"
);
}
}
if
(
demodel
.
IsMyOrder
==
1
)
if
(
demodel
.
IsMyOrder
==
1
)
...
...
REBORN.Services.DMCService/VisaService.cs
View file @
f2d17246
...
@@ -5027,6 +5027,8 @@ namespace REBORN.Services.DMCService
...
@@ -5027,6 +5027,8 @@ namespace REBORN.Services.DMCService
FinalPriceTips
=
parm
.
GetInt
(
"FinalPriceTips"
),
FinalPriceTips
=
parm
.
GetInt
(
"FinalPriceTips"
),
Meet
=
parm
.
GetDecimal
(
"Meet"
),
Meet
=
parm
.
GetDecimal
(
"Meet"
),
TotalPrice
=
parm
.
GetDecimal
(
"TotalPrice"
),
TotalPrice
=
parm
.
GetDecimal
(
"TotalPrice"
),
ContactLXName
=
parm
.
GetStringValue
(
"ContactLXName"
),
ContactLXNumber
=
parm
.
GetStringValue
(
"ContactLXNumber"
),
};
};
int
createBy
=
parm
.
GetInt
(
"CreateBy"
,
0
);
int
createBy
=
parm
.
GetInt
(
"CreateBy"
,
0
);
if
(
createBy
>
0
)
if
(
createBy
>
0
)
...
@@ -5548,7 +5550,9 @@ namespace REBORN.Services.DMCService
...
@@ -5548,7 +5550,9 @@ namespace REBORN.Services.DMCService
ContractType
=
Common
.
Enum
.
ResourceTypeEnum
.
Visa
,
ContractType
=
Common
.
Enum
.
ResourceTypeEnum
.
Visa
,
SupplierModel
=
new
{
SupplierId
=
x
?.
SupplierModel
?.
ID
??
0
,
SupplierName
=
x
?.
SupplierModel
?.
Name
??
""
,
Tel
=
x
?.
SupplierModel
?.
Tel
??
""
,
Contact
=
x
?.
SupplierModel
?.
Contact
??
""
,
CompanyName
=
x
?.
SupplierModel
?.
CompanyName
??
""
,
DutyParagraph
=
x
?.
SupplierModel
?.
DutyParagraph
??
""
,
CompanyPhone
=
x
?.
SupplierModel
?.
CompanyPhone
??
""
,
OpeningBank
=
x
?.
SupplierModel
?.
OpeningBank
??
""
,
BankNo
=
x
?.
SupplierModel
?.
BankNo
??
""
},
SupplierModel
=
new
{
SupplierId
=
x
?.
SupplierModel
?.
ID
??
0
,
SupplierName
=
x
?.
SupplierModel
?.
Name
??
""
,
Tel
=
x
?.
SupplierModel
?.
Tel
??
""
,
Contact
=
x
?.
SupplierModel
?.
Contact
??
""
,
CompanyName
=
x
?.
SupplierModel
?.
CompanyName
??
""
,
DutyParagraph
=
x
?.
SupplierModel
?.
DutyParagraph
??
""
,
CompanyPhone
=
x
?.
SupplierModel
?.
CompanyPhone
??
""
,
OpeningBank
=
x
?.
SupplierModel
?.
OpeningBank
??
""
,
BankNo
=
x
?.
SupplierModel
?.
BankNo
??
""
},
AppointOPList
=
x
.
AppointOPList
?.
Select
(
z
=>
new
{
z
.
OPId
,
OPName
=
CacheManager
.
User
.
RbUserCache
.
GetUserLoginInfo
(
z
.
OPId
.
ToString
())?.
emName
??
""
}),
AppointOPList
=
x
.
AppointOPList
?.
Select
(
z
=>
new
{
z
.
OPId
,
OPName
=
CacheManager
.
User
.
RbUserCache
.
GetUserLoginInfo
(
z
.
OPId
.
ToString
())?.
emName
??
""
}),
x
.
SaleRate
x
.
SaleRate
,
x
.
ContactLXName
,
x
.
ContactLXNumber
});
});
pmodel
.
count
=
int
.
Parse
(
count
.
ToString
());
pmodel
.
count
=
int
.
Parse
(
count
.
ToString
());
pmodel
.
pageData
=
data
;
pmodel
.
pageData
=
data
;
...
@@ -5688,7 +5692,9 @@ namespace REBORN.Services.DMCService
...
@@ -5688,7 +5692,9 @@ namespace REBORN.Services.DMCService
ContractType
=
Common
.
Enum
.
ResourceTypeEnum
.
Visa
,
ContractType
=
Common
.
Enum
.
ResourceTypeEnum
.
Visa
,
SupplierModel
=
new
{
SupplierId
=
x
?.
SupplierModel
?.
ID
??
0
,
SupplierName
=
x
?.
SupplierModel
?.
Name
??
""
,
Tel
=
x
?.
SupplierModel
?.
Tel
??
""
,
Contact
=
x
?.
SupplierModel
?.
Contact
??
""
,
CompanyName
=
x
?.
SupplierModel
?.
CompanyName
??
""
,
DutyParagraph
=
x
?.
SupplierModel
?.
DutyParagraph
??
""
,
CompanyPhone
=
x
?.
SupplierModel
?.
CompanyPhone
??
""
,
OpeningBank
=
x
?.
SupplierModel
?.
OpeningBank
??
""
,
BankNo
=
x
?.
SupplierModel
?.
BankNo
??
""
},
SupplierModel
=
new
{
SupplierId
=
x
?.
SupplierModel
?.
ID
??
0
,
SupplierName
=
x
?.
SupplierModel
?.
Name
??
""
,
Tel
=
x
?.
SupplierModel
?.
Tel
??
""
,
Contact
=
x
?.
SupplierModel
?.
Contact
??
""
,
CompanyName
=
x
?.
SupplierModel
?.
CompanyName
??
""
,
DutyParagraph
=
x
?.
SupplierModel
?.
DutyParagraph
??
""
,
CompanyPhone
=
x
?.
SupplierModel
?.
CompanyPhone
??
""
,
OpeningBank
=
x
?.
SupplierModel
?.
OpeningBank
??
""
,
BankNo
=
x
?.
SupplierModel
?.
BankNo
??
""
},
AppointOPList
=
x
.
AppointOPList
?.
Select
(
z
=>
new
{
z
.
OPId
,
OPName
=
CacheManager
.
User
.
RbUserCache
.
GetUserLoginInfo
(
z
.
OPId
.
ToString
())?.
emName
??
""
,
z
.
CommissionRate
,
z
.
CommissionMoney
}),
AppointOPList
=
x
.
AppointOPList
?.
Select
(
z
=>
new
{
z
.
OPId
,
OPName
=
CacheManager
.
User
.
RbUserCache
.
GetUserLoginInfo
(
z
.
OPId
.
ToString
())?.
emName
??
""
,
z
.
CommissionRate
,
z
.
CommissionMoney
}),
x
.
SaleRate
x
.
SaleRate
,
x
.
ContactLXName
,
x
.
ContactLXNumber
});
});
pmodel
.
pageData
=
data
;
pmodel
.
pageData
=
data
;
}
}
...
...
REBORN.Services.SellService/CustomerOrderService.cs
View file @
f2d17246
...
@@ -3452,7 +3452,9 @@ namespace REBORN.Services.SellService
...
@@ -3452,7 +3452,9 @@ namespace REBORN.Services.SellService
SupplierModel
=
new
{
SupplierId
=
x
?.
SupplierModel
?.
ID
??
0
,
SupplierName
=
x
?.
SupplierModel
?.
Name
??
""
,
Tel
=
x
?.
SupplierModel
?.
Tel
??
""
,
Contact
=
x
?.
SupplierModel
?.
Contact
??
""
,
CompanyName
=
x
?.
SupplierModel
?.
CompanyName
??
""
,
DutyParagraph
=
x
?.
SupplierModel
?.
DutyParagraph
??
""
,
CompanyPhone
=
x
?.
SupplierModel
?.
CompanyPhone
??
""
,
OpeningBank
=
x
?.
SupplierModel
?.
OpeningBank
??
""
,
BankNo
=
x
?.
SupplierModel
?.
BankNo
??
""
},
SupplierModel
=
new
{
SupplierId
=
x
?.
SupplierModel
?.
ID
??
0
,
SupplierName
=
x
?.
SupplierModel
?.
Name
??
""
,
Tel
=
x
?.
SupplierModel
?.
Tel
??
""
,
Contact
=
x
?.
SupplierModel
?.
Contact
??
""
,
CompanyName
=
x
?.
SupplierModel
?.
CompanyName
??
""
,
DutyParagraph
=
x
?.
SupplierModel
?.
DutyParagraph
??
""
,
CompanyPhone
=
x
?.
SupplierModel
?.
CompanyPhone
??
""
,
OpeningBank
=
x
?.
SupplierModel
?.
OpeningBank
??
""
,
BankNo
=
x
?.
SupplierModel
?.
BankNo
??
""
},
AppointOPList
=
x
.
AppointOPList
?.
Select
(
z
=>
new
{
z
.
OPId
,
OPName
=
CacheManager
.
User
.
RbUserCache
.
GetUserLoginInfo
(
z
.
OPId
.
ToString
())?.
emName
??
""
,
z
.
CommissionRate
,
z
.
CommissionMoney
}),
AppointOPList
=
x
.
AppointOPList
?.
Select
(
z
=>
new
{
z
.
OPId
,
OPName
=
CacheManager
.
User
.
RbUserCache
.
GetUserLoginInfo
(
z
.
OPId
.
ToString
())?.
emName
??
""
,
z
.
CommissionRate
,
z
.
CommissionMoney
}),
AppointOPIdList
=
x
.
AppointOPList
?.
Select
(
z
=>
z
.
OPId
).
Distinct
().
ToList
(),
AppointOPIdList
=
x
.
AppointOPList
?.
Select
(
z
=>
z
.
OPId
).
Distinct
().
ToList
(),
x
.
SaleRate
x
.
SaleRate
,
x
.
ContactName
,
x
.
ContactNumber
});
});
return
ApiResult
.
Success
(
""
,
new
return
ApiResult
.
Success
(
""
,
new
{
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment