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
b9f0d4b5
Commit
b9f0d4b5
authored
Mar 26, 2026
by
liudong1993
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
5d1180d2
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
TravelContractModule.cs
REBORN.Module.DMCModule/TravelContractModule.cs
+2
-2
No files found.
REBORN.Module.DMCModule/TravelContractModule.cs
View file @
b9f0d4b5
...
...
@@ -341,7 +341,7 @@ namespace REBORN.Module.DMCModule
if
(!
string
.
IsNullOrEmpty
(
model
.
DmcName
))
{
var
list
=
dictvalueRepository
.
GetList
(
new
RB_Dictvalue_Extend
()
{
RB_Group_id
=
model
.
RB_Group_Id
??
0
,
DictKey
=
"Contract_Dmc"
,
Name
=
model
.
DmcName
});
if
(!
list
.
Any
(
x
=>
x
.
Content
==
model
.
DmcName
))
if
(!
list
.
Any
(
x
=>
x
.
Name
==
model
.
DmcName
))
{
//新增
dictvalueRepository
.
Insert
(
new
RB_Dictvalue
()
...
...
@@ -389,7 +389,7 @@ namespace REBORN.Module.DMCModule
if
(
flag
&&
!
string
.
IsNullOrEmpty
(
model
.
DmcName
))
{
//添加地接社
var
list
=
dictvalueRepository
.
GetList
(
new
RB_Dictvalue_Extend
()
{
RB_Group_id
=
model
.
RB_Group_Id
??
0
,
DictKey
=
"Contract_Dmc"
,
Name
=
model
.
DmcName
});
if
(!
list
.
Any
(
x
=>
x
.
Content
==
model
.
DmcName
))
if
(!
list
.
Any
(
x
=>
x
.
Name
==
model
.
DmcName
))
{
//新增
dictvalueRepository
.
Insert
(
new
RB_Dictvalue
()
...
...
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