Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
customer-service
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
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
QG
customer-service
Commits
0f5a8fa6
Commit
0f5a8fa6
authored
Mar 08, 2022
by
吴琼
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
huifu
parent
5662dd83
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
TransactionReceiptRecordServiceImpl.java
...mer/service/impl/TransactionReceiptRecordServiceImpl.java
+4
-4
No files found.
src/main/java/cn/quantgroup/customer/service/impl/TransactionReceiptRecordServiceImpl.java
View file @
0f5a8fa6
...
...
@@ -807,11 +807,11 @@ public class TransactionReceiptRecordServiceImpl implements ITransactionReceiptR
if
(
logisticsVOList
.
size
()
>
1
){
//展示多个
for
(
int
j
=
0
;
j
<
logisticsVOList
.
size
();
j
++){
table
=
generateMultiParagraph
(
font
,
table
,
logisticsVOList
,
skuVOList
,
receiverVO
,
j
);
table
=
generateMultiParagraph
(
cell
,
font
,
table
,
logisticsVOList
,
skuVOList
,
receiverVO
,
j
);
}
}
else
{
//展示一个
table
=
generateMultiParagraph
(
font
,
table
,
logisticsVOList
,
skuVOList
,
receiverVO
,
0
);
table
=
generateMultiParagraph
(
cell
,
font
,
table
,
logisticsVOList
,
skuVOList
,
receiverVO
,
0
);
}
log
.
info
(
"generatePDF 开始生成pdf end"
,
LOG_PRE
,
table
.
getBody
());
document
.
add
(
table
);
...
...
@@ -831,10 +831,10 @@ public class TransactionReceiptRecordServiceImpl implements ITransactionReceiptR
* @param count
* @return
*/
private
PdfPTable
generateMultiParagraph
(
Font
font
,
private
PdfPTable
generateMultiParagraph
(
PdfPCell
cell
,
Font
font
,
PdfPTable
table
,
List
<
LogisticsVO
>
logisticsVOList
,
List
<
SkuVO
>
skuVOList
,
ReceiverVO
receiverVO
,
int
count
){
//物流信息
PdfPCell
cell
=
new
PdfPCell
(
new
Phrase
(
ITextPDFUtil
.
getUTF8String
(
"物流信息"
),
font
));
cell
=
new
PdfPCell
(
new
Phrase
(
ITextPDFUtil
.
getUTF8String
(
"物流信息"
),
font
));
cell
.
setColspan
(
6
);
cell
.
setMinimumHeight
(
18
);
table
.
addCell
(
cell
);
...
...
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