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
33ceac22
Commit
33ceac22
authored
Sep 16, 2025
by
liudong1993
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
9130e131
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
10 additions
and
1 deletion
+10
-1
TravelContractModule.cs
REBORN.Module.DMCModule/TravelContractModule.cs
+2
-1
RB_ContractRepository.cs
REBORN.Repository/Dmc/RB_ContractRepository.cs
+4
-0
RB_Travel_ContractRepository.cs
REBORN.Repository/Dmc/RB_Travel_ContractRepository.cs
+4
-0
No files found.
REBORN.Module.DMCModule/TravelContractModule.cs
View file @
33ceac22
...
@@ -567,7 +567,8 @@ namespace REBORN.Module.DMCModule
...
@@ -567,7 +567,8 @@ namespace REBORN.Module.DMCModule
htModel
.
Change_Opinion
==
"1"
?
(
int
)
GroupAgreementResolution
.
ChangeRoute
:
htModel
.
Change_Opinion
==
"1"
?
(
int
)
GroupAgreementResolution
.
ChangeRoute
:
htModel
.
Terminate_Opinion
==
"1"
?
(
int
)
GroupAgreementResolution
.
Terminate
:
(
int
)
GroupAgreementResolution
.
Other
,
htModel
.
Terminate_Opinion
==
"1"
?
(
int
)
GroupAgreementResolution
.
Terminate
:
(
int
)
GroupAgreementResolution
.
Other
,
LeastCustomerNumber
=
htModel
.
Min_Number
??
0
,
LeastCustomerNumber
=
htModel
.
Min_Number
??
0
,
AgreeToTransfer
=
htModel
.
Instead_Opinion
==
1
?
true
:
false
,
TransferToCompanyName
=
htModel
.
Instead_Company
,
AgreeToDelay
=
htModel
.
Delay_Opinion
==
"1"
?
true
:
false
,
AgreeToDelay
=
htModel
.
Delay_Opinion
==
"1"
?
true
:
false
,
AgreeToChangeLine
=
htModel
.
Change_Opinion
==
"1"
?
true
:
false
,
AgreeToChangeLine
=
htModel
.
Change_Opinion
==
"1"
?
true
:
false
,
AgreeToTerminate
=
htModel
.
Terminate_Opinion
==
"1"
?
true
:
false
,
AgreeToTerminate
=
htModel
.
Terminate_Opinion
==
"1"
?
true
:
false
,
...
...
REBORN.Repository/Dmc/RB_ContractRepository.cs
View file @
33ceac22
...
@@ -44,6 +44,10 @@ SELECT * FROM RB_Contract WHERE 1=1 AND Status=1
...
@@ -44,6 +44,10 @@ SELECT * FROM RB_Contract WHERE 1=1 AND Status=1
{
{
builder
.
AppendFormat
(
" AND {0}={1} "
,
nameof
(
RB_Contract_Extend
.
OrderType
),
where
.
OrderType
);
builder
.
AppendFormat
(
" AND {0}={1} "
,
nameof
(
RB_Contract_Extend
.
OrderType
),
where
.
OrderType
);
}
}
if
(!
string
.
IsNullOrEmpty
(
where
.
ThirdContractID
))
{
builder
.
AppendFormat
(
" AND {0}='{1}' "
,
nameof
(
RB_Contract_Extend
.
ThirdContractID
),
where
.
ThirdContractID
);
}
}
}
return
Get
<
RB_Contract_Extend
>(
builder
.
ToString
()).
ToList
();
return
Get
<
RB_Contract_Extend
>(
builder
.
ToString
()).
ToList
();
}
}
...
...
REBORN.Repository/Dmc/RB_Travel_ContractRepository.cs
View file @
33ceac22
...
@@ -85,6 +85,10 @@ WHERE 1=1
...
@@ -85,6 +85,10 @@ WHERE 1=1
{
{
builder
.
AppendFormat
(
" AND A.AllianceId={0} "
,
where
.
AllianceId
);
builder
.
AppendFormat
(
" AND A.AllianceId={0} "
,
where
.
AllianceId
);
}
}
if
(!
string
.
IsNullOrEmpty
(
where
.
ThirdContractID
))
{
builder
.
AppendFormat
(
" AND A.ThirdContractID='{0}' "
,
where
.
ThirdContractID
);
}
}
}
return
Get
<
RB_Travel_Contract_Extend
>(
builder
.
ToString
()).
ToList
();
return
Get
<
RB_Travel_Contract_Extend
>(
builder
.
ToString
()).
ToList
();
}
}
...
...
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