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
0fc93991
Commit
0fc93991
authored
Aug 22, 2025
by
liudong1993
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1 财务单抬头
parent
ec52770d
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
17 additions
and
0 deletions
+17
-0
RbBranchMongoCache.cs
REBORN.CacheManager/User/RbBranchMongoCache.cs
+1
-0
RB_Branch.cs
REBORN.Model/Entity/User/RB_Branch.cs
+5
-0
BranchModule.cs
REBORN.Module.PlatformModule/BranchModule.cs
+2
-0
FinancialService.cs
REBORN.Services.FinanceService/FinancialService.cs
+2
-0
BranchService.cs
REBORN.Services.PlatformService/BranchService.cs
+7
-0
No files found.
REBORN.CacheManager/User/RbBranchMongoCache.cs
View file @
0fc93991
...
...
@@ -88,6 +88,7 @@ namespace REBORN.CacheManager.User
.
Set
(
d
=>
d
.
B2BShow
,
branch
.
B2BShow
)
.
Set
(
d
=>
d
.
StandardCurrencyId
,
branch
.
StandardCurrencyId
)
.
Set
(
d
=>
d
.
StandardCurrencyName
,
branch
.
StandardCurrencyName
)
.
Set
(
d
=>
d
.
FinanceTitle
,
branch
.
FinanceTitle
)
;
try
{
...
...
REBORN.Model/Entity/User/RB_Branch.cs
View file @
0fc93991
...
...
@@ -267,5 +267,10 @@ namespace REBORN.Model.Entity
/// 本位币名称
/// </summary>
public
string
StandardCurrencyName
{
get
;
set
;
}
/// <summary>
/// 财务单据抬头 (没有就使用集团名称)
/// </summary>
public
string
FinanceTitle
{
get
;
set
;
}
}
}
\ No newline at end of file
REBORN.Module.PlatformModule/BranchModule.cs
View file @
0fc93991
...
...
@@ -193,6 +193,7 @@ namespace REBORN.Module.PlatformModule
bmodel
.
ServiceFee
=
demodel
.
ServiceFee
;
bmodel
.
StandardCurrencyId
=
demodel
.
StandardCurrencyId
;
bmodel
.
StandardCurrencyName
=
demodel
.
StandardCurrencyName
;
bmodel
.
FinanceTitle
=
demodel
.
FinanceTitle
;
flag
=
respository
.
Update
(
bmodel
);
if
(
flag
)
{
...
...
@@ -266,6 +267,7 @@ namespace REBORN.Module.PlatformModule
IsFreeFee
=
demodel
.
IsFreeFee
,
ServiceFee
=
demodel
.
ServiceFee
,
StandardCurrencyId
=
demodel
.
StandardCurrencyId
,
FinanceTitle
=
demodel
.
FinanceTitle
};
flag
=
respository
.
Insert
(
bmodel
)
>
0
;
branchMCache
.
Set
(
bmodel
);
...
...
REBORN.Services.FinanceService/FinancialService.cs
View file @
0fc93991
...
...
@@ -1862,6 +1862,7 @@ namespace REBORN.Services.FinanceService
KingdeeClientBankAccountList
=
clientBankAccountRepository
.
GetList
(
new
RB_ClientBankAccount
()
{
RB_Group_Id
=
userInfo
.
RB_Group_id
},
""
,
model
.
KingdeeClientID
.
ToString
());
}
if
(
model
.
vorcherInos
==
null
||
!
model
.
vorcherInos
.
Any
())
{
model
.
vorcherInos
.
Add
(
new
RB_Voucher_Extend
()
{
ID
=
0
,
Type
=
VoucherEnum
.
Picture
,
VoucherType
=
0
,
Content
=
""
});
}
model
.
RB_GroupName
=
new
CacheManager
.
User
.
RbBranchMongoCache
().
GetBranch
(
model
.
RB_Branch_Id
.
Value
)?.
FinanceTitle
??
""
;
//集团使用配置的
var
obj
=
new
{
model
.
FrID
,
...
...
@@ -2329,6 +2330,7 @@ namespace REBORN.Services.FinanceService
{
KingdeeClientBankAccountList
=
clientBankAccountRepository
.
GetList
(
new
RB_ClientBankAccount
()
{
RB_Group_Id
=
userInfo
.
RB_Group_id
},
""
,
model
.
KingdeeClientID
.
ToString
());
}
model
.
RB_GroupName
=
new
CacheManager
.
User
.
RbBranchMongoCache
().
GetBranch
(
model
.
RB_Branch_Id
.
Value
)?.
FinanceTitle
??
""
;
//集团使用配置的
obj
=
new
{
model
.
FrID
,
...
...
REBORN.Services.PlatformService/BranchService.cs
View file @
0fc93991
...
...
@@ -66,6 +66,12 @@ namespace REBORN.Services.PlatformService
list
=
list
.
Where
(
x
=>
x
.
Id
!=
1250
).
ToList
();
}
}
if
(
list
.
Where
(
x
=>
string
.
IsNullOrEmpty
(
x
.
FinanceTitle
)).
Any
())
{
string
GroupName
=
CacheManager
.
User
.
RbGroupCache
.
GetGroup
(
userInfo
.
RB_Group_id
)?.
GroupName
??
""
;
foreach
(
var
item
in
list
.
Where
(
x
=>
string
.
IsNullOrEmpty
(
x
.
FinanceTitle
)))
{
item
.
FinanceTitle
=
GroupName
;
}
}
return
ApiResult
.
Success
(
""
,
list
);
}
...
...
@@ -112,6 +118,7 @@ namespace REBORN.Services.PlatformService
dmodel
.
IsFreeFee
,
dmodel
.
ServiceFee
,
dmodel
.
StandardCurrencyId
,
dmodel
.
FinanceTitle
,
TravelLogo
=
Config
.
GetFileUrl
(
dmodel
.
TravelLogo
)
});
}
...
...
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