Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
A
amos-boot-biz
Project
Project
Details
Activity
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
项目统一框架
amos-boot-biz
Commits
abd6ee98
Commit
abd6ee98
authored
May 15, 2025
by
刘林
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix(jg):证打印标记功能开发
parent
62b1de02
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
14 additions
and
3 deletions
+14
-3
IdxBizJgProjectContraptionServiceImpl.java
...z/service/impl/IdxBizJgProjectContraptionServiceImpl.java
+7
-0
JgInstallationNoticeServiceImpl.java
.../jg/biz/service/impl/JgInstallationNoticeServiceImpl.java
+7
-3
No files found.
amos-boot-system-tzs/amos-boot-module-jg/amos-boot-module-jg-biz/src/main/java/com/yeejoin/amos/boot/module/jg/biz/service/impl/IdxBizJgProjectContraptionServiceImpl.java
View file @
abd6ee98
...
...
@@ -85,6 +85,7 @@ public class IdxBizJgProjectContraptionServiceImpl extends BaseService<IdxBizJgP
private
static
final
String
EQUIP_INFO_FORM_ID
=
"equipInfo"
;
public
static
final
String
USE_UNIT_CREDIT_CODE
=
"useUnitCreditCode"
;
public
static
final
String
USE_UNIT_NAME
=
"useUnitName"
;
public
static
final
String
EXPORT_SUMMARY_TABLE
=
"exportSummaryTable"
;
@Resource
private
IdxBizJgUseInfoServiceImpl
useInfoService
;
@Resource
...
...
@@ -505,6 +506,11 @@ public class IdxBizJgProjectContraptionServiceImpl extends BaseService<IdxBizJgP
if
(
ValidationUtil
.
isEmpty
(
idxBizJgProjectContraption
))
{
throw
new
BadRequest
(
"没有查询到汇总信息!"
);
}
JSONObject
tagJson
=
Optional
.
ofNullable
(
idxBizJgProjectContraption
.
getCertificatePrintTag
())
.
map
(
JSONObject:
:
parseObject
)
.
orElse
(
new
JSONObject
());
tagJson
.
put
(
EXPORT_SUMMARY_TABLE
,
2
);
idxBizJgProjectContraption
.
setCertificatePrintTag
(
JSONObject
.
toJSONString
(
tagJson
));
List
<
Map
<
String
,
Object
>>
allEquipment
=
baseMapper
.
selectEquipListByExport
(
sequenceNbr
);
total
=
allEquipment
.
size
();
AgencyUserModel
result
=
new
AgencyUserModel
();
...
...
@@ -523,6 +529,7 @@ public class IdxBizJgProjectContraptionServiceImpl extends BaseService<IdxBizJgP
List
<
CompletableFuture
<
byte
[]>>
futures
=
pressurePipeDataPreparation
(
page
,
idxBizJgProjectContraption
,
size
,
total
,
allEquipment
,
wordPath
,
filePrefix
,
result
,
category
);
// byte[]压缩zip
toZipFile
(
response
,
futures
,
filePrefix
,
customFileName
);
baseMapper
.
updateById
(
idxBizJgProjectContraption
);
}
}
...
...
amos-boot-system-tzs/amos-boot-module-jg/amos-boot-module-jg-biz/src/main/java/com/yeejoin/amos/boot/module/jg/biz/service/impl/JgInstallationNoticeServiceImpl.java
View file @
abd6ee98
...
...
@@ -122,7 +122,7 @@ public class JgInstallationNoticeServiceImpl extends BaseService<JgInstallationN
private
static
final
String
TABLE_PAGE_ID
=
"1734141426742095873"
;
public
static
final
String
CONSTRUCTION_TYPE
=
"SGLX"
;
public
static
final
String
CONSTRUCTION_TYPE_NAME
=
"安装"
;
public
static
final
String
EXPORT_SUMMARY_TABLE
=
"exportSummaryTable"
;
@Autowired
JgInstallationNoticeEqMapper
jgInstallationNoticeEqMapper
;
@Autowired
...
...
@@ -695,8 +695,12 @@ public class JgInstallationNoticeServiceImpl extends BaseService<JgInstallationN
maps
.
add
(
placeholders
);
});
}
JSONObject
tagJson
=
Optional
.
ofNullable
(
jgInstallationNotice
.
getCertificatePrintTag
())
.
map
(
JSONObject:
:
parseObject
)
.
orElse
(
new
JSONObject
());
tagJson
.
put
(
EXPORT_SUMMARY_TABLE
,
2
);
jgInstallationNotice
.
setCertificatePrintTag
(
JSONObject
.
toJSONString
(
tagJson
));
jgInstallationNoticeMapper
.
updateById
(
jgInstallationNotice
);
String
tempFileName
=
"安装告知单_"
+
System
.
currentTimeMillis
()
+
"_temp"
;
// String url = WordTemplateUtils.templateToPdf(tempFileName, "installation-notification-report.ftl", placeholders);
//
...
...
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