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
a4cb62ac
Commit
a4cb62ac
authored
Feb 14, 2025
by
韩桐桐
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix(jg):使用登记表
parent
683c3b75
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
5 deletions
+5
-5
CommonController.java
.../amos/boot/module/jg/biz/controller/CommonController.java
+3
-1
ICommonService.java
...ejoin/amos/boot/module/jg/biz/service/ICommonService.java
+1
-1
CommonServiceImpl.java
...os/boot/module/jg/biz/service/impl/CommonServiceImpl.java
+1
-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/controller/CommonController.java
View file @
a4cb62ac
...
@@ -753,7 +753,9 @@ public class CommonController extends BaseController {
...
@@ -753,7 +753,9 @@ public class CommonController extends BaseController {
@ApiOperation
(
httpMethod
=
"POST"
,
value
=
"使用登记表生成"
,
notes
=
"使用登记表生成"
)
@ApiOperation
(
httpMethod
=
"POST"
,
value
=
"使用登记表生成"
,
notes
=
"使用登记表生成"
)
@PostMapping
(
value
=
"/getRegistrationFormUrl"
)
@PostMapping
(
value
=
"/getRegistrationFormUrl"
)
public
ResponseModel
<
Map
<
String
,
Object
>>
getRegistrationFormUrl
(
@RequestBody
JSONObject
map
)
{
public
ResponseModel
<
Map
<
String
,
Object
>>
getRegistrationFormUrl
(
@RequestBody
JSONObject
map
)
{
return
ResponseHelper
.
buildResponse
(
commonService
.
getRegistrationFormUrl
(
map
));
JSONObject
formData
=
JSONObject
.
parseObject
(
JSONObject
.
toJSONString
(
map
.
get
(
"formData"
)));
String
manageType
=
String
.
valueOf
(
map
.
get
(
"manageType"
));
return
ResponseHelper
.
buildResponse
(
commonService
.
getRegistrationFormUrl
(
manageType
,
formData
));
}
}
@TycloudOperation
(
ApiLevel
=
UserType
.
AGENCY
)
@TycloudOperation
(
ApiLevel
=
UserType
.
AGENCY
)
...
...
amos-boot-system-tzs/amos-boot-module-jg/amos-boot-module-jg-biz/src/main/java/com/yeejoin/amos/boot/module/jg/biz/service/ICommonService.java
View file @
a4cb62ac
...
@@ -253,7 +253,7 @@ public interface ICommonService {
...
@@ -253,7 +253,7 @@ public interface ICommonService {
List
<
EquipmentClassifyDto
>
getEquClassifyByCode
(
String
parentCode
);
List
<
EquipmentClassifyDto
>
getEquClassifyByCode
(
String
parentCode
);
Map
<
String
,
Object
>
getRegistrationFormUrl
(
JSONObject
map
);
Map
<
String
,
Object
>
getRegistrationFormUrl
(
String
manageType
,
JSONObject
formData
);
void
getRegistrationFormStream
(
JSONObject
map
,
HttpServletResponse
response
);
void
getRegistrationFormStream
(
JSONObject
map
,
HttpServletResponse
response
);
}
}
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 @
a4cb62ac
...
@@ -2213,9 +2213,7 @@ public class CommonServiceImpl implements ICommonService {
...
@@ -2213,9 +2213,7 @@ public class CommonServiceImpl implements ICommonService {
}
}
@Override
@Override
public
Map
<
String
,
Object
>
getRegistrationFormUrl
(
JSONObject
map
){
public
Map
<
String
,
Object
>
getRegistrationFormUrl
(
String
manageType
,
JSONObject
formData
)
{
JSONObject
formData
=
JSONObject
.
parseObject
(
JSONObject
.
toJSONString
(
map
.
get
(
"formData"
)));
String
manageType
=
String
.
valueOf
(
map
.
get
(
"manageType"
));
String
wordPath
;
String
wordPath
;
String
fileName
;
String
fileName
;
if
(
UNIT
.
equals
(
manageType
)){
if
(
UNIT
.
equals
(
manageType
)){
...
...
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