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
12ebe162
Commit
12ebe162
authored
Dec 04, 2025
by
liudong1993
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
4c019a54
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
30 additions
and
1 deletion
+30
-1
EmployeeModule.cs
REBORN.Module.UserModule/EmployeeModule.cs
+16
-1
EmployeeService.cs
REBORN.Services.UserService/EmployeeService.cs
+14
-0
No files found.
REBORN.Module.UserModule/EmployeeModule.cs
View file @
12ebe162
...
...
@@ -13,6 +13,7 @@ using REBORN.Model.Extend;
using
REBORN.Model.Extend.Finance
;
using
REBORN.Model.File
;
using
REBORN.Repository
;
using
REBORN.Repository.Dmc
;
using
REBORN.Repository.Finance
;
using
REBORN.Repository.Million
;
using
REBORN.Repository.User
;
...
...
@@ -41,6 +42,10 @@ namespace REBORN.Module.UserModule
/// </summary>
private
RB_ClientBankAccountRepository
clientBankAccountRepository
=
new
RB_ClientBankAccountRepository
();
/// <summary>
/// 地接供应商 类型
/// </summary>
private
Rb_Supplier_TypeRepository
supplier_TypeRepository
=
new
Rb_Supplier_TypeRepository
();
/// <summary>
/// 财务日志
/// </summary>
private
RB_Finance_InfoChange_LogRepository
finance_InfoChange_LogRepository
=
new
RB_Finance_InfoChange_LogRepository
();
...
...
@@ -1006,7 +1011,17 @@ namespace REBORN.Module.UserModule
/// <param name="bAId"></param>
public
Model
.
Entity
.
Finance
.
RB_ClientBankAccount
GetEmpBackAccount
(
int
bAId
)
{
return
clientBankAccountRepository
.
GetEntity
(
bAId
);
var
model
=
clientBankAccountRepository
.
GetEntity
(
bAId
);
if
(
model
!=
null
)
{
//默认 老春的新版 供应商 都=1 supplier_Type表 抓关联关系
if
(
model
.
Type
==
Common
.
Enum
.
Finance
.
ClientTypeEnum
.
HotelSupplier
)
{
var
smodel
=
supplier_TypeRepository
.
GetSupplierTypeListRepository
((
model
.
ObjID
??
0
).
ToString
(),
model
.
RB_Group_Id
??
0
).
FirstOrDefault
();
model
.
Type
=
smodel
.
Type
;
//随便赋值
}
}
return
model
;
}
/// <summary>
...
...
REBORN.Services.UserService/EmployeeService.cs
View file @
12ebe162
...
...
@@ -1146,6 +1146,20 @@ namespace REBORN.Services.UserService
dmodel
.
RB_BranchName
=
userInfo
.
BranchName
;
dmodel
.
RB_CreateByName
=
userInfo
.
emName
;
dmodel
.
Status
=
0
;
#
region
特殊处理
Type
if
(
dmodel
.
Type
==
Common
.
Enum
.
Finance
.
ClientTypeEnum
.
HotelSupplier
||
dmodel
.
Type
==
Common
.
Enum
.
Finance
.
ClientTypeEnum
.
TicketSupplier
||
dmodel
.
Type
==
Common
.
Enum
.
Finance
.
ClientTypeEnum
.
CarSupplier
||
dmodel
.
Type
==
Common
.
Enum
.
Finance
.
ClientTypeEnum
.
VisaSupplier
||
dmodel
.
Type
==
Common
.
Enum
.
Finance
.
ClientTypeEnum
.
PlaneTicketSupplier
||
dmodel
.
Type
==
Common
.
Enum
.
Finance
.
ClientTypeEnum
.
Travel
||
dmodel
.
Type
==
Common
.
Enum
.
Finance
.
ClientTypeEnum
.
OtherSupplier
)
{
//统一处理 根据供应商类型 type来区分 供应商,因为 一个供应商对应多个类型
dmodel
.
Type
=
Common
.
Enum
.
Finance
.
ClientTypeEnum
.
HotelSupplier
;
}
#
endregion
bool
flag
=
employeemodule
.
SetEmpBankAccount
(
dmodel
,
isOtherEdit
,
out
int
ClientId
,
out
string
msg
);
if
(
flag
)
{
...
...
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