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
7154906a
Commit
7154906a
authored
Dec 15, 2023
by
xixinzhao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
检测结果修改
parent
99b3ecbd
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
19 additions
and
12 deletions
+19
-12
JyjcInspectionResultController.java
...e/jyjc/biz/controller/JyjcInspectionResultController.java
+13
-11
JyjcInspectionResultServiceImpl.java
...yjc/biz/service/impl/JyjcInspectionResultServiceImpl.java
+6
-1
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/controller/JyjcInspectionResultController.java
View file @
7154906a
...
@@ -135,17 +135,19 @@ public class JyjcInspectionResultController extends BaseController {
...
@@ -135,17 +135,19 @@ public class JyjcInspectionResultController extends BaseController {
return
ResponseHelper
.
buildResponse
(
jyjcInspectionResultServiceImpl
.
queryForJyjcInspectionResultPage
(
page
,
model
,
true
));
return
ResponseHelper
.
buildResponse
(
jyjcInspectionResultServiceImpl
.
queryForJyjcInspectionResultPage
(
page
,
model
,
true
));
}
}
/**
* 检验结果-上传结果和编辑结果
/**
*
* 检验结果-上传结果和编辑结果
* @return
*
*/
* @return
@TycloudOperation
(
ApiLevel
=
UserType
.
AGENCY
)
*/
@PutMapping
(
value
=
"/updateResult"
)
@TycloudOperation
(
ApiLevel
=
UserType
.
AGENCY
)
@ApiOperation
(
httpMethod
=
"PUT"
,
value
=
"检验结果-上传结果和编辑结果"
,
notes
=
"检验结果-上传结果和编辑结果"
)
@PutMapping
(
value
=
"/updateResult"
)
public
ResponseModel
<
JyjcInspectionResultModel
>
updateJyjcInspectionResult
(
@RequestBody
JyjcInspectionResultModel
model
)
{
@ApiOperation
(
httpMethod
=
"PUT"
,
value
=
"检验结果-上传结果和编辑结果"
,
notes
=
"检验结果-上传结果和编辑结果"
)
return
ResponseHelper
.
buildResponse
(
jyjcInspectionResultServiceImpl
.
updateJyjcInspectionResult
(
model
));
public
ResponseModel
<
JyjcInspectionResultModel
>
updateJyjcInspectionResult
(
@RequestBody
Map
<
String
,
JyjcInspectionResultModel
>
model
)
{
}
JyjcInspectionResultModel
inspectResult
=
model
.
get
(
"inspectResult"
);
return
ResponseHelper
.
buildResponse
(
jyjcInspectionResultServiceImpl
.
updateJyjcInspectionResult
(
inspectResult
));
}
/**
/**
...
...
amos-boot-system-tzs/amos-boot-module-jyjc/amos-boot-module-jyjc-biz/src/main/java/com/yeejoin/amos/boot/module/jyjc/biz/service/impl/JyjcInspectionResultServiceImpl.java
View file @
7154906a
...
@@ -72,6 +72,9 @@ public class JyjcInspectionResultServiceImpl extends BaseService<JyjcInspectionR
...
@@ -72,6 +72,9 @@ public class JyjcInspectionResultServiceImpl extends BaseService<JyjcInspectionR
public
Page
<
JyjcInspectionResultModel
>
queryForJyjcInspectionResultPage
(
Page
<
JyjcInspectionResultModel
>
page
,
JyjcInspectionResultModel
model
,
boolean
type
)
{
public
Page
<
JyjcInspectionResultModel
>
queryForJyjcInspectionResultPage
(
Page
<
JyjcInspectionResultModel
>
page
,
JyjcInspectionResultModel
model
,
boolean
type
)
{
ReginParams
reginParams
=
JSON
.
parseObject
(
redisUtils
.
get
(
RedisKey
.
buildReginKey
(
RequestContext
.
getExeUserId
(),
ReginParams
reginParams
=
JSON
.
parseObject
(
redisUtils
.
get
(
RedisKey
.
buildReginKey
(
RequestContext
.
getExeUserId
(),
RequestContext
.
getToken
())).
toString
(),
ReginParams
.
class
);
RequestContext
.
getToken
())).
toString
(),
ReginParams
.
class
);
if
(
ObjectUtils
.
isEmpty
(
model
))
{
model
=
new
JyjcInspectionResultModel
();
}
if
(
type
)
{
if
(
type
)
{
//检验检测单位分页查询
//检验检测单位分页查询
model
.
setInspectionUnitCode
(
reginParams
.
getCompany
().
getCompanyCode
());
model
.
setInspectionUnitCode
(
reginParams
.
getCompany
().
getCompanyCode
());
...
@@ -134,7 +137,9 @@ public class JyjcInspectionResultServiceImpl extends BaseService<JyjcInspectionR
...
@@ -134,7 +137,9 @@ public class JyjcInspectionResultServiceImpl extends BaseService<JyjcInspectionR
map
.
put
(
"paramJson"
,
mapParam
);
map
.
put
(
"paramJson"
,
mapParam
);
}
}
}
}
return
map
;
Map
<
String
,
Object
>
resultMap
=
new
HashMap
<>();
resultMap
.
put
(
"inspectResult"
,
map
);
return
resultMap
;
}
}
@Override
@Override
...
...
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