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
0c58fd9f
Commit
0c58fd9f
authored
Aug 21, 2025
by
liudong1993
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
bbde2ef0
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
8 additions
and
5 deletions
+8
-5
AllianceModule.cs
REBORN.Module.SellModule/AllianceModule.cs
+3
-3
EmployeeModule.cs
REBORN.Module.UserModule/EmployeeModule.cs
+1
-1
RB_FinancialInstitutionsRepository.cs
....Repository/Finance/RB_FinancialInstitutionsRepository.cs
+4
-1
No files found.
REBORN.Module.SellModule/AllianceModule.cs
View file @
0c58fd9f
...
...
@@ -458,7 +458,7 @@ namespace REBORN.Module.SellModule
RB_Finance_Infochange_Log
financeLog
=
new
Model
.
Entity
.
Log
.
RB_Finance_Infochange_Log
();
#
region
添加银行机构
var
tempFlag
=
true
;
var
FinancialInstitutions
=
new
RB_FinancialInstitutionsRepository
().
GetByNameList
(
dmodel
.
BankName
)?.
FirstOrDefault
();
var
FinancialInstitutions
=
new
RB_FinancialInstitutionsRepository
().
GetByNameList
(
dmodel
.
BankName
,
userInfo
.
RB_Group_id
)?.
FirstOrDefault
();
if
(
FinancialInstitutions
==
null
)
{
FinancialInstitutions
=
new
RB_FinancialInstitutions_Extend
()
...
...
@@ -684,7 +684,7 @@ namespace REBORN.Module.SellModule
RB_Finance_Infochange_Log
financeLog
=
new
Model
.
Entity
.
Log
.
RB_Finance_Infochange_Log
();
#
region
添加银行机构
var
tempFlag
=
true
;
var
FinancialInstitutions
=
new
RB_FinancialInstitutionsRepository
().
GetByNameList
(
dmodel
.
BankName
)?.
FirstOrDefault
();
var
FinancialInstitutions
=
new
RB_FinancialInstitutionsRepository
().
GetByNameList
(
dmodel
.
BankName
,
userInfo
.
RB_Group_id
)?.
FirstOrDefault
();
if
(
FinancialInstitutions
==
null
)
{
FinancialInstitutions
=
new
RB_FinancialInstitutions_Extend
()
...
...
@@ -1381,7 +1381,7 @@ namespace REBORN.Module.SellModule
RB_FinancialInstitutions_Extend
rB_Financial
=
new
RB_FinancialInstitutions_Extend
();
RB_Finance_Infochange_Log
financeLog
=
new
Model
.
Entity
.
Log
.
RB_Finance_Infochange_Log
();
#
region
添加银行机构
var
FinancialInstitutions
=
new
RB_FinancialInstitutionsRepository
().
GetByNameList
(
dmodel
.
BankName
)?.
FirstOrDefault
();
var
FinancialInstitutions
=
new
RB_FinancialInstitutionsRepository
().
GetByNameList
(
dmodel
.
BankName
,
userInfo
.
RB_Group_id
)?.
FirstOrDefault
();
if
(
FinancialInstitutions
==
null
)
{
FinancialInstitutions
=
new
RB_FinancialInstitutions_Extend
()
...
...
REBORN.Module.UserModule/EmployeeModule.cs
View file @
0c58fd9f
...
...
@@ -1154,7 +1154,7 @@ namespace REBORN.Module.UserModule
}
RB_FinancialInstitutions_Extend
rB_Financial
=
new
RB_FinancialInstitutions_Extend
();
#
region
添加银行机构
var
FinancialInstitutions
=
new
RB_FinancialInstitutionsRepository
().
GetByNameList
(
dmodel
.
BankName
)?.
FirstOrDefault
();
var
FinancialInstitutions
=
new
RB_FinancialInstitutionsRepository
().
GetByNameList
(
dmodel
.
BankName
,
dmodel
.
RB_Group_Id
??
0
)?.
FirstOrDefault
();
if
(
FinancialInstitutions
==
null
)
{
FinancialInstitutions
=
new
RB_FinancialInstitutions_Extend
()
...
...
REBORN.Repository/Finance/RB_FinancialInstitutionsRepository.cs
View file @
0c58fd9f
...
...
@@ -173,9 +173,12 @@ left join rb_accountrelation al on t.BankType=al.AccountType and t.ID=al.Account
/// </summary>
/// <param name="Name"></param>
/// <returns></returns>
public
List
<
RB_FinancialInstitutions_Extend
>
GetByNameList
(
string
Name
)
public
List
<
RB_FinancialInstitutions_Extend
>
GetByNameList
(
string
Name
,
int
GroupId
=
0
)
{
string
where
=
string
.
Format
(
" where "
+
nameof
(
RB_FinancialInstitutions
.
Status
)
+
"={0}"
,
(
int
)
Common
.
Enum
.
DateStateEnum
.
Normal
);
if
(
GroupId
>
0
)
{
where
+=
string
.
Format
(
" AND "
+
nameof
(
RB_FinancialInstitutions
.
GroupId
)
+
"={0}"
,
GroupId
);
}
if
(!
string
.
IsNullOrWhiteSpace
(
Name
))
{
where
+=
string
.
Format
(
" AND "
+
nameof
(
RB_FinancialInstitutions
.
Name
)
+
"='{0}'"
,
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