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
d9252b72
Commit
d9252b72
authored
Aug 28, 2025
by
吴春
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of
http://gitlab.oytour.com/liudong1993/huatu_api
parents
e121be70
f4b2112f
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
7 additions
and
4 deletions
+7
-4
FinancialModule.cs
REBORN.Module.FinanceModule/FinancialModule.cs
+3
-1
RB_ClientBankAccountRepository.cs
REBORN.Repository/Finance/RB_ClientBankAccountRepository.cs
+2
-2
FinanceInfoService.cs
REBORN.Services.FinanceService/FinanceInfoService.cs
+2
-1
No files found.
REBORN.Module.FinanceModule/FinancialModule.cs
View file @
d9252b72
...
...
@@ -3370,7 +3370,9 @@ namespace REBORN.Module.FinanceModule
model
.
DutyNo
=
clientModel
.
DutyNo
??
"暂无"
;
if
(
string
.
IsNullOrEmpty
(
model
.
DutyNo
)
&&
!(
",7,8,9,10,"
).
Contains
(
","
+
(
int
)
model
.
ClientType
+
","
))
{
model
.
DutyNo
=
Rb_SupplierRepository
.
GetEntity
(
clientModel
.
ObjID
)?.
DutyParagraph
??
""
;
var
ssmodel
=
Rb_SupplierRepository
.
GetEntity
(
clientModel
.
ObjID
);
model
.
DutyNo
=
ssmodel
?.
DutyParagraph
??
""
;
model
.
SupplierName
=
ssmodel
?.
Name
??
""
;
}
model
.
AccountTypeStr
=
(
clientModel
.
Type
==
Common
.
Enum
.
Finance
.
ClientTypeEnum
.
Employee
||
clientModel
.
Type
==
Common
.
Enum
.
Finance
.
ClientTypeEnum
.
Leader
||
clientModel
.
Type
==
Common
.
Enum
.
Finance
.
ClientTypeEnum
.
Other
)
?
"1"
:
"0"
;
model
.
AccountCreateTime
=
StringHelper
.
FormatDateTimeStr
(
clientModel
.
CreateDate
);
...
...
REBORN.Repository/Finance/RB_ClientBankAccountRepository.cs
View file @
d9252b72
...
...
@@ -147,10 +147,10 @@ namespace REBORN.Repository.Finance
parameters
.
Add
(
"@keyWord"
,
"%"
+
keyWord
+
"%"
);
}
string
sql
=
$@"select* from
{
TableName
}
c
{
where
}
"
;
string
sql
=
$@"select
c.
* from
{
TableName
}
c
{
where
}
"
;
if
(
model
.
Type
>
0
&&
!(
",7,8,9,10,"
).
Contains
(
","
+
(
int
)
model
.
Type
+
","
))
{
sql
=
$@"select* from
{
TableName
}
c
sql
=
$@"select
c.
* from
{
TableName
}
c
left join
{(
Config
.
IsOnline
?
"uat_reborn_dmc"
:
"reborn_dmc"
)}
.rb_supplier s on c.ObjID =s.ID and c.Type=1
left join
{(
Config
.
IsOnline
?
"uat_reborn_dmc"
:
"reborn_dmc"
)}
.rb_supplier_type t on s.ID =t.SupplierId and t.Status=0
{
where
}
group by c.ID"
;
...
...
REBORN.Services.FinanceService/FinanceInfoService.cs
View file @
d9252b72
...
...
@@ -1018,8 +1018,9 @@ namespace REBORN.Services.FinanceService
list
=
list
.
Where
(
x
=>
x
.
Value
!=
"11"
&&
x
.
Value
!=
"12"
&&
x
.
Value
!=
"13"
&&
x
.
Value
!=
"14"
&&
x
.
Value
!=
"3"
).
ToList
();
int
MaxId
=
list
.
Max
(
x
=>
Convert
.
ToInt32
(
x
.
Value
))
+
1
;
var
SortList
=
list
.
Where
(
x
=>
x
.
Value
==
"15"
).
ToList
();
SortList
.
AddRange
(
list
.
Where
(
x
=>
(
",1,2,3,4,5,6,"
).
Contains
(
x
.
Value
)).
OrderBy
(
x
=>
Convert
.
ToInt32
(
x
.
Value
)).
ToList
());
SortList
.
AddRange
(
list
.
Where
(
x
=>
x
.
Value
==
"16"
).
ToList
());
SortList
.
AddRange
(
list
.
Where
(
x
=>
x
.
Value
!=
"15"
&&
x
.
Value
!=
"16"
).
OrderBy
(
x
=>
Convert
.
ToInt32
(
x
.
Value
)).
ToList
());
SortList
.
AddRange
(
list
.
Where
(
x
=>
(
",9,10,"
).
Contains
(
x
.
Value
)
).
OrderBy
(
x
=>
Convert
.
ToInt32
(
x
.
Value
)).
ToList
());
list
=
SortList
;
foreach
(
var
item
in
list
)
{
...
...
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