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
9226949f
Commit
9226949f
authored
May 26, 2023
by
tianyiming
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
增加一码通列表行数据详情查询接口
parent
3293ec6a
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
37 additions
and
1 deletion
+37
-1
IEquipmentCategoryService.java
...oot/module/tzs/api/service/IEquipmentCategoryService.java
+2
-0
IdxFeignService.java
...n/amos/boot/module/tzs/flc/api/feign/IdxFeignService.java
+6
-0
EquipmentCategoryController.java
...odule/tzs/biz/controller/EquipmentCategoryController.java
+12
-0
EquipmentCategoryServiceImpl.java
...le/tzs/biz/service/impl/EquipmentCategoryServiceImpl.java
+17
-1
No files found.
amos-boot-system-tzs/amos-boot-module-tzs-api/src/main/java/com/yeejoin/amos/boot/module/tzs/api/service/IEquipmentCategoryService.java
View file @
9226949f
...
...
@@ -32,4 +32,6 @@ public interface IEquipmentCategoryService {
List
<
CategoryOtherInfo
>
checkCode
(
Map
<
String
,
Object
>
obj
);
List
<
String
>
updateOtherInfo
(
Map
<
String
,
Object
>
map
);
Map
<
String
,
Map
<
String
,
Object
>>
getFormRecordById
(
Map
<
String
,
Object
>
map
);
}
amos-boot-system-tzs/amos-boot-module-tzs-api/src/main/java/com/yeejoin/amos/boot/module/tzs/flc/api/feign/IdxFeignService.java
View file @
9226949f
...
...
@@ -29,4 +29,10 @@ public interface IdxFeignService {
* */
@RequestMapping
(
value
=
"/table/getPage"
,
method
=
RequestMethod
.
GET
)
ResponseModel
<
Page
<
Map
<
String
,
Object
>>>
getPage
(
@RequestParam
Map
map
);
/**
*根据record查询表格数据详情
*/
@RequestMapping
(
value
=
"/report/form/getFormRecordById"
,
method
=
RequestMethod
.
GET
)
ResponseModel
<
Map
<
String
,
Map
<
String
,
Object
>>>
getFormRecordById
(
@RequestParam
Map
map
);
}
amos-boot-system-tzs/amos-boot-module-tzs-biz/src/main/java/com/yeejoin/amos/boot/module/tzs/biz/controller/EquipmentCategoryController.java
View file @
9226949f
...
...
@@ -209,6 +209,18 @@ public class EquipmentCategoryController extends BaseController {
return
ResponseHelper
.
buildResponse
(
equipmentCategoryService
.
updateOtherInfo
(
map
));
}
/**
* 根据record查询表格数据详情
*
* @return
*/
@TycloudOperation
(
ApiLevel
=
UserType
.
AGENCY
,
needAuth
=
false
)
@RequestMapping
(
value
=
"/getFormRecordById"
,
method
=
RequestMethod
.
GET
)
@ApiOperation
(
httpMethod
=
"GET"
,
value
=
"表格查询详情"
,
notes
=
"表格查询详情"
)
public
ResponseModel
<
Object
>
getFormRecordById
(
@RequestParam
Map
<
String
,
Object
>
map
)
{
return
ResponseHelper
.
buildResponse
(
equipmentCategoryService
.
getFormRecordById
(
map
));
}
@TycloudOperation
(
ApiLevel
=
UserType
.
AGENCY
,
needAuth
=
false
)
@RequestMapping
(
value
=
"/checkCode"
,
method
=
RequestMethod
.
POST
)
@ApiOperation
(
httpMethod
=
"post"
,
value
=
"校验96333码"
,
notes
=
"校验96333码"
)
...
...
amos-boot-system-tzs/amos-boot-module-tzs-biz/src/main/java/com/yeejoin/amos/boot/module/tzs/biz/service/impl/EquipmentCategoryServiceImpl.java
View file @
9226949f
...
...
@@ -80,8 +80,11 @@ public class EquipmentCategoryServiceImpl extends BaseService<EquipmentCategoryD
private
static
final
String
XIAN
=
"610100"
;
//判断行政区划查询市还是区
private
static
final
String
END_CODE
=
"0000"
;
//一码通监督管理表单id
private
static
final
String
SUPERVISION_FROM_ID
=
"1627903532906602497"
;
//一码通复制功能url参数key
private
static
final
String
COPY_KEY
=
"stashType"
;
/**
* 分页查询
*/
...
...
@@ -539,6 +542,19 @@ public class EquipmentCategoryServiceImpl extends BaseService<EquipmentCategoryD
}
@Override
public
Map
<
String
,
Map
<
String
,
Object
>>
getFormRecordById
(
Map
<
String
,
Object
>
map
)
{
ResponseModel
<
Map
<
String
,
Map
<
String
,
Object
>>>
responseModel
=
idxFeignService
.
getFormRecordById
(
map
);
Map
<
String
,
Map
<
String
,
Object
>>
result
=
responseModel
.
getResult
();
if
(!
ObjectUtils
.
isEmpty
(
map
.
get
(
COPY_KEY
)))
{
result
.
get
(
SUPERVISION_FROM_ID
).
remove
(
"CLAIM_STATUS"
);
result
.
get
(
SUPERVISION_FROM_ID
).
remove
(
"CODE96333"
);
result
.
get
(
SUPERVISION_FROM_ID
).
remove
(
"SUPERVISORY_CODE"
);
}
return
result
;
}
/**
* levlel=company,是企业,如果不是都是监管单位,
* * 在接口中查询当前登录人所属单位是监管单位还是企业。
...
...
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