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
2b566d61
Commit
2b566d61
authored
Aug 19, 2025
by
吴春
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
b50ccb98
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
16 additions
and
2 deletions
+16
-2
RB_Customer_Invoice.cs
REBORN.Model/Entity/Finance/RB_Customer_Invoice.cs
+8
-0
RB_Travel_InvoiceApplyModule.cs
REBORN.Module.DMCModule/RB_Travel_InvoiceApplyModule.cs
+3
-2
RB_Customer_InvoiceRepository.cs
REBORN.Repository/Finance/RB_Customer_InvoiceRepository.cs
+4
-0
RB_Travel_InvoiceApplyService.cs
REBORN.Services.DMCService/RB_Travel_InvoiceApplyService.cs
+1
-0
No files found.
REBORN.Model/Entity/Finance/RB_Customer_Invoice.cs
View file @
2b566d61
...
...
@@ -61,5 +61,13 @@ namespace REBORN.Model.Entity.Finance
/// 申请人
/// </summary>
public
int
?
CreateBy
{
get
;
set
;
}
/// <summary>
/// 集团
/// </summary>
public
int
?
RB_Group_Id
{
get
;
set
;
}
}
}
REBORN.Module.DMCModule/RB_Travel_InvoiceApplyModule.cs
View file @
2b566d61
...
...
@@ -87,7 +87,7 @@ namespace REBORN.Module.DMCModule
item
.
CustomerName
=
item
.
InvoiceApplyList
.
FirstOrDefault
()?.
CompanyName
??
""
;
}
}
if
(
list
.
Where
(
x
=>
x
.
Type
==
0
).
Any
())
if
(
list
.
Where
(
x
=>
x
.
Type
==
0
).
Any
())
{
string
orderIds
=
string
.
Join
(
","
,
list
.
Where
(
x
=>
x
.
Type
==
0
).
Select
(
x
=>
x
.
OrderId
));
var
invoiceApplyList
=
GetInvoiceApplyList
(
new
RB_Travel_InvoiceApply_Extend
{
QOrderIds
=
orderIds
,
InvoiceApplyType
=
model
.
InvoiceApplyType
});
...
...
@@ -203,7 +203,8 @@ namespace REBORN.Module.DMCModule
Address
=
model
.
Address
,
CompanyPhone
=
model
.
CompanyPhone
,
OpeningBank
=
model
.
OpeningBank
,
BankNo
=
model
.
BankNo
BankNo
=
model
.
BankNo
,
RB_Group_Id
=
model
.
RB_Group_Id
,
};
if
(
model
.
CustomerInvoiceId
==
0
)
{
...
...
REBORN.Repository/Finance/RB_Customer_InvoiceRepository.cs
View file @
2b566d61
...
...
@@ -30,6 +30,10 @@ namespace REBORN.Repository.Finance
{
where
+=
string
.
Format
(
" AND A."
+
nameof
(
RB_Customer_Invoice
.
CreateBy
)
+
"={0}"
,
model
.
CreateBy
);
}
if
((
model
?.
RB_Group_Id
??
0
)
>
0
)
{
where
+=
string
.
Format
(
" AND A."
+
nameof
(
RB_Customer_Invoice
.
RB_Group_Id
)
+
"={0}"
,
model
.
RB_Group_Id
);
}
if
(
model
.
CustomerID
>
0
)
{
where
+=
string
.
Format
(
" AND A."
+
nameof
(
RB_Customer_Invoice
.
CustomerID
)
+
"={0}"
,
model
.
CustomerID
);
...
...
REBORN.Services.DMCService/RB_Travel_InvoiceApplyService.cs
View file @
2b566d61
...
...
@@ -1034,6 +1034,7 @@ namespace REBORN.Services.DMCService
}
//
// JsonConvert.DeserializeObject<Model.Entity.Finance.RB_Customer_Invoice>(request.msg.ToString());
model
.
RB_Group_Id
=
userInfo
.
RB_Group_id
;
List
<
Model
.
Entity
.
Finance
.
RB_Customer_Invoice
>
customerInfoList
=
module
.
GetCustomerInvoiceList
(
model
);
return
ApiResult
.
Success
(
"获取成功"
,
customerInfoList
);
}
...
...
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