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
40af6269
Commit
40af6269
authored
Oct 11, 2025
by
liudong1993
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
e85231b1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
16 additions
and
3 deletions
+16
-3
TravelContractModule.cs
REBORN.Module.DMCModule/TravelContractModule.cs
+15
-2
CRMModule.cs
REBORN.Module.SellModule/CRMModule.cs
+1
-1
No files found.
REBORN.Module.DMCModule/TravelContractModule.cs
View file @
40af6269
...
...
@@ -698,7 +698,13 @@ namespace REBORN.Module.DMCModule
{
//已签名的 更新状态为 待作废签名
Dictionary
<
string
,
object
>
keyValues
=
new
Dictionary
<
string
,
object
>()
{
{
nameof
(
RB_Contract_Extend
.
ThirdContractState
),
5
},
{
nameof
(
RB_Contract_Extend
.
ThirdContractState
),
5
},
};
contractRepository
.
Update
(
keyValues
,
new
WhereHelper
(
nameof
(
RB_Contract_Extend
.
Id
),
Id
));
}
else
if
(
model
.
ThirdContractState
==
1
)
{
Dictionary
<
string
,
object
>
keyValues
=
new
Dictionary
<
string
,
object
>()
{
{
nameof
(
RB_Contract_Extend
.
ThirdContractState
),
3
},
};
contractRepository
.
Update
(
keyValues
,
new
WhereHelper
(
nameof
(
RB_Contract_Extend
.
Id
),
Id
));
}
...
...
@@ -1913,13 +1919,20 @@ namespace REBORN.Module.DMCModule
{
var
result
=
service
.
InvalidateContract
(
model
.
ThirdContractID
);
LogHelper
.
WriteInfo
(
JsonHelper
.
Serialize
(
result
));
if
(
model
.
ThirdContractState
==
2
)
{
if
(
model
.
ThirdContractState
==
2
)
{
//已签名的 更新状态为 待作废签名
Dictionary
<
string
,
object
>
keyValues
=
new
Dictionary
<
string
,
object
>()
{
{
nameof
(
RB_Travel_Contract_Extend
.
ThirdContractState
),
5
}
};
flag
=
travel_ContractRepository
.
Update
(
keyValues
,
new
WhereHelper
(
nameof
(
RB_Travel_Contract_Extend
.
ID
),
Id
));
}
else
if
(
model
.
ThirdContractState
==
1
)
{
Dictionary
<
string
,
object
>
keyValues
=
new
Dictionary
<
string
,
object
>()
{
{
nameof
(
RB_Travel_Contract_Extend
.
ThirdContractState
),
3
}
};
flag
=
travel_ContractRepository
.
Update
(
keyValues
,
new
WhereHelper
(
nameof
(
RB_Travel_Contract_Extend
.
ID
),
Id
));
}
}
#
endregion
}
...
...
REBORN.Module.SellModule/CRMModule.cs
View file @
40af6269
...
...
@@ -572,7 +572,7 @@ namespace REBORN.Module.SellModule
// item.StateName = cmodel?.Code ?? "";
// item.CurrencyName = cmodel?.Name ?? "";
//}
var
cmodel
=
currencyList
.
Where
(
x
=>
x
.
Code
==
"
RMB
"
).
FirstOrDefault
();
//画途 这一套 固定人民币
var
cmodel
=
currencyList
.
Where
(
x
=>
x
.
Code
==
"
CNY
"
).
FirstOrDefault
();
//画途 这一套 固定人民币
item
.
OrderId
=
cmodel
?.
ID
??
0
;
item
.
StateName
=
cmodel
?.
Code
??
""
;
item
.
CurrencyName
=
cmodel
?.
Name
??
""
;
...
...
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