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
56a53969
Commit
56a53969
authored
Sep 08, 2025
by
吴春
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
6de60969
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
21 additions
and
18 deletions
+21
-18
CustomerOrderModule.cs
REBORN.Module.SellModule/CustomerOrderModule.cs
+21
-18
No files found.
REBORN.Module.SellModule/CustomerOrderModule.cs
View file @
56a53969
...
...
@@ -3688,25 +3688,28 @@ namespace REBORN.Module.SellModule
//更新
foreach
(
var
item
in
updateList
)
{
var
nmodel
=
dlist
.
Where
(
x
=>
x
.
TicketId
==
item
.
TicketId
).
FirstOrDefault
();
Dictionary
<
string
,
object
>
keyValues1
=
new
Dictionary
<
string
,
object
>()
{
{
nameof
(
RB_Customer_TicketOrderDetail_Extend
.
TicketName
),
item
.
TicketName
},
{
nameof
(
RB_Customer_TicketOrderDetail_Extend
.
Unit_Price
),
item
.
Unit_Price
},
{
nameof
(
RB_Customer_TicketOrderDetail_Extend
.
Num
),
item
.
Num
},
{
nameof
(
RB_Customer_TicketOrderDetail_Extend
.
Money
),
item
.
Money
},
{
nameof
(
RB_Customer_TicketOrderDetail_Extend
.
CurrencyId
),
item
.
CurrencyId
},
{
nameof
(
RB_Customer_TicketOrderDetail_Extend
.
CurrentRate
),
item
.
CurrentRate
},
{
nameof
(
RB_Customer_TicketOrderDetail_Extend
.
PriceId
),
item
.
PriceId
},
};
List
<
WhereHelper
>
wheres1
=
new
List
<
WhereHelper
>()
{
new
WhereHelper
(){
FiledName
=
nameof
(
RB_Customer_TicketOrderDetail_Extend
.
Id
),
FiledValue
=
nmodel
.
Id
,
OperatorEnum
=
OperatorEnum
.
Equal
var
nmodel
=
dlist
.
Where
(
x
=>
x
.
Id
==
item
.
Id
).
FirstOrDefault
();
if
(
nmodel
!=
null
&&
nmodel
.
Id
>
0
)
{
Dictionary
<
string
,
object
>
keyValues1
=
new
Dictionary
<
string
,
object
>()
{
{
nameof
(
RB_Customer_TicketOrderDetail_Extend
.
TicketName
),
item
.
TicketName
},
{
nameof
(
RB_Customer_TicketOrderDetail_Extend
.
Unit_Price
),
item
.
Unit_Price
},
{
nameof
(
RB_Customer_TicketOrderDetail_Extend
.
Num
),
item
.
Num
},
{
nameof
(
RB_Customer_TicketOrderDetail_Extend
.
Money
),
item
.
Money
},
{
nameof
(
RB_Customer_TicketOrderDetail_Extend
.
CurrencyId
),
item
.
CurrencyId
},
{
nameof
(
RB_Customer_TicketOrderDetail_Extend
.
CurrentRate
),
item
.
CurrentRate
},
{
nameof
(
RB_Customer_TicketOrderDetail_Extend
.
PriceId
),
item
.
PriceId
},
{
nameof
(
RB_Customer_TicketOrderDetail_Extend
.
TicketId
),
product
.
Id
},
};
List
<
WhereHelper
>
wheres1
=
new
List
<
WhereHelper
>()
{
new
WhereHelper
(){
FiledName
=
nameof
(
RB_Customer_TicketOrderDetail_Extend
.
Id
),
FiledValue
=
nmodel
.
Id
,
OperatorEnum
=
OperatorEnum
.
Equal
}
};
bool
flag1
=
customer_TicketOrderDetailRepository
.
Update
(
keyValues1
,
wheres1
);
}
};
bool
flag1
=
customer_TicketOrderDetailRepository
.
Update
(
keyValues1
,
wheres1
);
}
//删除
foreach
(
var
item
in
delList
)
...
...
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