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
c9cc74ca
Commit
c9cc74ca
authored
Sep 16, 2025
by
liudong1993
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
b93d60be
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
21 additions
and
8 deletions
+21
-8
TravelContractModule.cs
REBORN.Module.DMCModule/TravelContractModule.cs
+21
-8
No files found.
REBORN.Module.DMCModule/TravelContractModule.cs
View file @
c9cc74ca
...
@@ -796,8 +796,8 @@ namespace REBORN.Module.DMCModule
...
@@ -796,8 +796,8 @@ namespace REBORN.Module.DMCModule
string
contractType
=
data
.
GetStringValue
(
"contractType"
);
// 暂时没有 补充协议一说
string
contractType
=
data
.
GetStringValue
(
"contractType"
);
// 暂时没有 补充协议一说
string
contractNumber
=
data
.
GetStringValue
(
"contractNumber"
);
string
contractNumber
=
data
.
GetStringValue
(
"contractNumber"
);
//string sign = data.GetStringValue("sign");//暂时不验证签名
//string sign = data.GetStringValue("sign");//暂时不验证签名
JObject
url
=
JObject
.
Parse
(
data
.
GetStringValue
(
"url"
));
//
JObject url = JObject.Parse(data.GetStringValue("url"));
string
fileURL
=
url
.
GetStringValue
(
"fileURL"
);
//
string fileURL = url.GetStringValue("fileURL");
//根据合同编号 查询合同
//根据合同编号 查询合同
var
model
=
contractRepository
.
GetEntityExtRepository
(
new
RB_Contract_Extend
()
{
ThirdContractID
=
contractNumber
}).
FirstOrDefault
();
var
model
=
contractRepository
.
GetEntityExtRepository
(
new
RB_Contract_Extend
()
{
ThirdContractID
=
contractNumber
}).
FirstOrDefault
();
...
@@ -805,7 +805,7 @@ namespace REBORN.Module.DMCModule
...
@@ -805,7 +805,7 @@ namespace REBORN.Module.DMCModule
{
{
Dictionary
<
string
,
object
>
keyValues
=
new
Dictionary
<
string
,
object
>()
{
Dictionary
<
string
,
object
>
keyValues
=
new
Dictionary
<
string
,
object
>()
{
{
nameof
(
RB_Contract_Extend
.
ThirdContractState
),
state
},
{
nameof
(
RB_Contract_Extend
.
ThirdContractState
),
state
},
{
nameof
(
RB_Contract_Extend
.
ThirdContractFileUrl
),
fileURL
},
//
{ nameof(RB_Contract_Extend.ThirdContractFileUrl), fileURL},
};
};
if
(
state
==
2
)
if
(
state
==
2
)
{
{
...
@@ -827,7 +827,7 @@ namespace REBORN.Module.DMCModule
...
@@ -827,7 +827,7 @@ namespace REBORN.Module.DMCModule
{
{
Dictionary
<
string
,
object
>
keyValues
=
new
Dictionary
<
string
,
object
>()
{
Dictionary
<
string
,
object
>
keyValues
=
new
Dictionary
<
string
,
object
>()
{
{
nameof
(
RB_Travel_Contract_Extend
.
ThirdContractState
),
state
},
{
nameof
(
RB_Travel_Contract_Extend
.
ThirdContractState
),
state
},
{
nameof
(
RB_Travel_Contract_Extend
.
ThirdContractFileUrl
),
fileURL
},
//
{ nameof(RB_Travel_Contract_Extend.ThirdContractFileUrl), fileURL},
};
};
if
(
state
==
2
)
if
(
state
==
2
)
{
{
...
@@ -1607,11 +1607,24 @@ namespace REBORN.Module.DMCModule
...
@@ -1607,11 +1607,24 @@ namespace REBORN.Module.DMCModule
foreach
(
var
item
in
termsList
.
Where
(
x
=>
x
.
SNO
==
5
))
foreach
(
var
item
in
termsList
.
Where
(
x
=>
x
.
SNO
==
5
))
{
{
clause
.
Add
(
new
Clause
(
)
if
(
item
.
Name
==
"代订服务的责任约定"
&&
htModel
.
OtherConventionPrice
>
0
&&
htModel
.
RB_Group_Id
==
106
)
{
{
Item
=
item
.
Name
,
//邮轮的 就使用 6
Hint
=
item
.
Content
var
tmodel
=
termsList
.
Where
(
x
=>
x
.
SNO
==
6
).
FirstOrDefault
();
});
clause
.
Add
(
new
Clause
()
{
Item
=
tmodel
.
Name
,
Hint
=
tmodel
.
Content
});
}
else
{
clause
.
Add
(
new
Clause
()
{
Item
=
item
.
Name
,
Hint
=
item
.
Content
});
}
}
}
req
.
SupplementaryClause
=
""
;
req
.
SupplementaryClause
=
""
;
...
...
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