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
83fdbae4
Commit
83fdbae4
authored
Mar 01, 2024
by
tianbo
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
使用登记证-登记证(套打)、登记证(普打)
parent
69e9e962
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
71 additions
and
1 deletion
+71
-1
PrintingTypeEnum.java
...ejoin/amos/boot/module/jg/api/enums/PrintingTypeEnum.java
+33
-0
CommonServiceImpl.java
...os/boot/module/jg/biz/service/impl/CommonServiceImpl.java
+3
-1
equipment-registration-certificate-report.ftl
...s/templates/equipment-registration-certificate-report.ftl
+35
-0
No files found.
amos-boot-system-tzs/amos-boot-module-jg/amos-boot-module-jg-api/src/main/java/com/yeejoin/amos/boot/module/jg/api/enums/PrintingTypeEnum.java
0 → 100644
View file @
83fdbae4
package
com
.
yeejoin
.
amos
.
boot
.
module
.
jg
.
api
.
enums
;
/**
* 办理状态枚举
*/
public
enum
PrintingTypeEnum
{
/**
* 登记证(普打)
*/
REGULAR
(
2
,
"登记证(普打)"
),
/**
* 登记证(电子版)
*/
ELECTRONIC
(
1
,
"登记证(电子版)"
);
private
final
Integer
code
;
private
final
String
name
;
PrintingTypeEnum
(
Integer
code
,
String
name
)
{
this
.
code
=
code
;
this
.
name
=
name
;
}
public
Integer
getCode
()
{
return
code
;
}
public
String
getName
()
{
return
name
;
}
}
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/CommonServiceImpl.java
View file @
83fdbae4
...
...
@@ -23,6 +23,7 @@ import com.yeejoin.amos.boot.biz.common.utils.RedisUtils;
import
com.yeejoin.amos.boot.module.jg.api.dto.*
;
import
com.yeejoin.amos.boot.module.jg.api.enums.BusinessTypeEnum
;
import
com.yeejoin.amos.boot.module.jg.api.enums.EquipTypeEnum
;
import
com.yeejoin.amos.boot.module.jg.api.enums.PrintingTypeEnum
;
import
com.yeejoin.amos.boot.module.jg.api.mapper.CommonMapper
;
import
com.yeejoin.amos.boot.module.jg.api.service.IJgChangeRegistrationTransferService
;
import
com.yeejoin.amos.boot.module.jg.api.service.IJgInstallationNoticeService
;
...
...
@@ -611,7 +612,8 @@ public class CommonServiceImpl implements ICommonService {
// 生成二维码,之前为设备监管码,调整为申请单号
String
qrCode
=
ImageUtils
.
generateQRCode
(
Optional
.
ofNullable
(
map
.
get
(
"applyNo"
)).
orElse
(
""
).
toString
(),
100
,
100
);
map
.
put
(
"supervisoryCode"
,
qrCode
);
// 监管二维码
// 默认普打
map
.
put
(
"printingType"
,
PrintingTypeEnum
.
REGULAR
.
getCode
());
// word转pdf
File
pdfFile
;
try
{
...
...
amos-boot-system-tzs/amos-boot-module-jg/amos-boot-module-jg-biz/src/main/resources/templates/equipment-registration-certificate-report.ftl
View file @
83fdbae4
...
...
@@ -130376,6 +130376,7 @@ AAAAAAAAAAAAAAAAAAAAAAAAAAAAHCEWdd8QA8gAAAAASUVORK5CYII=
<o:lock
v:ext=
"edit"
aspectratio=
"f"
/>
<v:textbox>
<w:txbxContent>
<
#if printingType == 1>
<w:p>
<w:pPr>
<w:keepNext
w:val=
"off"
/>
...
...
@@ -130408,6 +130409,40 @@ AAAAAAAAAAAAAAAAAAAAAAAAAAAAHCEWdd8QA8gAAAAASUVORK5CYII=
<w:t>
${(receiveOrgName)!''}
</w:t>
</w:r>
</w:p>
<
#elseif printingType == 2>
<w:p>
<w:pPr>
<w:keepNext
w:val=
"off"
/>
<w:keepLines
w:val=
"off"
/>
<w:pageBreakBefore
w:val=
"off"
/>
<w:widowControl
w:val=
"off"
/>
<w:kinsoku/>
<w:wordWrap/>
<w:overflowPunct/>
<w:topLinePunct
w:val=
"off"
/>
<w:adjustRightInd/>
<w:snapToGrid/>
<w:spacing
w:line=
"120"
w:line-rule=
"auto"
/>
<w:jc
w:val=
"left"
/>
<w:textAlignment
w:val=
"auto"
/>
<w:rPr>
<w:rFonts
w:ascii=
"黑体"
w:h-ansi=
"黑体"
w:fareast=
"黑体"
w:cs=
"黑体"
w:hint=
"default"
/>
<w:sz
w:val=
"32"
/>
<w:sz-cs
w:val=
"32"
/>
<w:lang
w:val=
"EN-US"
w:fareast=
"ZH-CN"
/>
</w:rPr>
</w:pPr>
<w:r>
<w:rPr>
<w:rFonts
w:ascii=
"黑体"
w:h-ansi=
"黑体"
w:fareast=
"黑体"
w:cs=
"黑体"
w:hint=
"default"
/>
<w:sz
w:val=
"32"
/>
<w:sz-cs
w:val=
"32"
/>
<w:lang
w:val=
"EN-US"
w:fareast=
"ZH-CN"
/>
</w:rPr>
<w:t>
(名称与公章)
</w:t>
</w:r>
</w:p>
<
/#if>
</w:txbxContent>
</v:textbox>
</v:shape>
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