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
48ddf722
Commit
48ddf722
authored
Oct 10, 2025
by
suhuiguang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
reafact(jyjc): 报检规则4.0开发
1.代码整理
parent
1749ee5b
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
9 additions
and
9 deletions
+9
-9
DocGenerator.java
...yjc/biz/file/inspectapp/factory/support/DocGenerator.java
+1
-1
GenericDocGeneratorStrategy.java
...file/inspectapp/strategy/GenericDocGeneratorStrategy.java
+3
-3
PipelineDocGeneratorStrategy.java
...ile/inspectapp/strategy/PipelineDocGeneratorStrategy.java
+3
-3
DocGeneratorWrapper.java
...jyjc/biz/file/inspectapp/wrapper/DocGeneratorWrapper.java
+2
-2
No files found.
amos-boot-system-tzs/amos-boot-module-jyjc/amos-boot-module-jyjc-biz/src/main/java/com/yeejoin/amos/boot/module/jyjc/biz/file/inspectapp/factory/support/DocGenerator.java
View file @
48ddf722
package
com
.
yeejoin
.
amos
.
boot
.
module
.
jyjc
.
biz
.
file
.
inspectapp
.
factory
.
support
;
public
interface
DocGenerator
{
String
generate
(
String
app
Id
);
String
generate
(
String
app
Seq
);
}
amos-boot-system-tzs/amos-boot-module-jyjc/amos-boot-module-jyjc-biz/src/main/java/com/yeejoin/amos/boot/module/jyjc/biz/file/inspectapp/strategy/GenericDocGeneratorStrategy.java
View file @
48ddf722
...
...
@@ -44,9 +44,9 @@ public class GenericDocGeneratorStrategy implements SupportableDocGenerator {
}
@Override
public
String
generate
(
String
app
Id
)
{
Map
<
String
,
Object
>
params
=
appDocCmService
.
getBaseInFo
(
app
Id
);
JyjcInspectionApplication
inspectionApplication
=
jyjcInspectionApplicationService
.
getBaseMapper
().
selectById
(
app
Id
);
public
String
generate
(
String
app
Seq
)
{
Map
<
String
,
Object
>
params
=
appDocCmService
.
getBaseInFo
(
app
Seq
);
JyjcInspectionApplication
inspectionApplication
=
jyjcInspectionApplicationService
.
getBaseMapper
().
selectById
(
app
Seq
);
params
.
put
(
"numberOfEquip"
,
inspectionApplication
.
getNumberOfEquip
());
setEquipExcelData
(
inspectionApplication
,
params
);
this
.
setRequestContext
();
...
...
amos-boot-system-tzs/amos-boot-module-jyjc/amos-boot-module-jyjc-biz/src/main/java/com/yeejoin/amos/boot/module/jyjc/biz/file/inspectapp/strategy/PipelineDocGeneratorStrategy.java
View file @
48ddf722
...
...
@@ -39,9 +39,9 @@ public class PipelineDocGeneratorStrategy implements SupportableDocGenerator {
}
@Override
public
String
generate
(
String
app
Id
)
{
Map
<
String
,
Object
>
params
=
appDocCmService
.
getBaseInFo
(
app
Id
);
JyjcInspectionApplication
inspectionApplication
=
jyjcInspectionApplicationService
.
getBaseMapper
().
selectById
(
app
Id
);
public
String
generate
(
String
app
Seq
)
{
Map
<
String
,
Object
>
params
=
appDocCmService
.
getBaseInFo
(
app
Seq
);
JyjcInspectionApplication
inspectionApplication
=
jyjcInspectionApplicationService
.
getBaseMapper
().
selectById
(
app
Seq
);
this
.
setPipelineInfo
(
params
,
inspectionApplication
);
this
.
setRequestContext
();
return
this
.
generatePdfAndUpload
(
params
);
...
...
amos-boot-system-tzs/amos-boot-module-jyjc/amos-boot-module-jyjc-biz/src/main/java/com/yeejoin/amos/boot/module/jyjc/biz/file/inspectapp/wrapper/DocGeneratorWrapper.java
View file @
48ddf722
...
...
@@ -11,7 +11,7 @@ public class DocGeneratorWrapper implements DocGenerator {
}
@Override
public
String
generate
(
String
app
Id
)
{
return
docGenerator
.
generate
(
app
Id
);
public
String
generate
(
String
app
Seq
)
{
return
docGenerator
.
generate
(
app
Seq
);
}
}
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