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
d0db343d
Commit
d0db343d
authored
Aug 22, 2025
by
刘林
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix(jg):管道合并get请求体超长问题处理
parent
8bc5d3a3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
14 additions
and
11 deletions
+14
-11
JgInstallationNoticeController.java
...ule/jg/biz/controller/JgInstallationNoticeController.java
+4
-4
JgUseRegistrationController.java
...module/jg/biz/controller/JgUseRegistrationController.java
+9
-6
JgUseRegistrationServiceImpl.java
...ule/jg/biz/service/impl/JgUseRegistrationServiceImpl.java
+1
-1
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/JgInstallationNoticeController.java
View file @
d0db343d
...
@@ -182,11 +182,11 @@ public class JgInstallationNoticeController extends BaseController {
...
@@ -182,11 +182,11 @@ public class JgInstallationNoticeController extends BaseController {
}
}
@TycloudOperation
(
ApiLevel
=
UserType
.
AGENCY
)
@TycloudOperation
(
ApiLevel
=
UserType
.
AGENCY
)
@ApiOperation
(
httpMethod
=
"
GE
T"
,
value
=
"查询工程装置下的所有未做安装告知、不在安装告知流程、安装告知作废的设备"
,
@ApiOperation
(
httpMethod
=
"
POS
T"
,
value
=
"查询工程装置下的所有未做安装告知、不在安装告知流程、安装告知作废的设备"
,
notes
=
"查询工程装置下的所有未做安装告知、不在安装告知流程、安装告知作废的设备"
)
notes
=
"查询工程装置下的所有未做安装告知、不在安装告知流程、安装告知作废的设备"
)
@
Ge
tMapping
(
value
=
"/getDeviceListByProjectContraptionSeq"
)
@
Pos
tMapping
(
value
=
"/getDeviceListByProjectContraptionSeq"
)
public
ResponseModel
<
Object
>
getDeviceListByProjectContraption
(
@Request
Param
Map
<
String
,
Object
>
params
)
{
public
ResponseModel
<
Object
>
getDeviceListByProjectContraption
(
@Request
Body
JSONObject
map
)
{
String
projectContraptionSeq
=
ValidationUtil
.
isEmpty
(
params
.
get
(
"sequenceNbr"
))
?
String
.
valueOf
(
params
.
get
(
"record"
))
:
params
.
get
(
"sequenceNbr"
).
toString
();
String
projectContraptionSeq
=
ValidationUtil
.
isEmpty
(
map
.
get
(
"sequenceNbr"
))
?
String
.
valueOf
(
map
.
get
(
"record"
))
:
map
.
get
(
"sequenceNbr"
).
toString
();
return
ResponseHelper
.
buildResponse
(
iJgInstallationNoticeService
.
getDeviceListByProjectContraption
(
projectContraptionSeq
));
return
ResponseHelper
.
buildResponse
(
iJgInstallationNoticeService
.
getDeviceListByProjectContraption
(
projectContraptionSeq
));
}
}
...
...
amos-boot-system-tzs/amos-boot-module-jg/amos-boot-module-jg-biz/src/main/java/com/yeejoin/amos/boot/module/jg/biz/controller/JgUseRegistrationController.java
View file @
d0db343d
package
com
.
yeejoin
.
amos
.
boot
.
module
.
jg
.
biz
.
controller
;
package
com
.
yeejoin
.
amos
.
boot
.
module
.
jg
.
biz
.
controller
;
import
com.alibaba.fastjson.JSONArray
;
import
com.alibaba.fastjson.JSONObject
;
import
com.alibaba.fastjson.JSONObject
;
import
com.baomidou.mybatisplus.core.metadata.IPage
;
import
com.baomidou.mybatisplus.core.metadata.IPage
;
import
com.baomidou.mybatisplus.extension.plugins.pagination.Page
;
import
com.baomidou.mybatisplus.extension.plugins.pagination.Page
;
...
@@ -173,8 +174,8 @@ public class JgUseRegistrationController extends BaseController {
...
@@ -173,8 +174,8 @@ public class JgUseRegistrationController extends BaseController {
}
}
@TycloudOperation
(
ApiLevel
=
UserType
.
AGENCY
)
@TycloudOperation
(
ApiLevel
=
UserType
.
AGENCY
)
@ApiOperation
(
httpMethod
=
"
GE
T"
,
value
=
"详情"
,
notes
=
"详情"
)
@ApiOperation
(
httpMethod
=
"
POS
T"
,
value
=
"详情"
,
notes
=
"详情"
)
@
Ge
tMapping
(
value
=
"/getDetail"
)
@
Pos
tMapping
(
value
=
"/getDetail"
)
public
ResponseModel
<
Map
<
String
,
Object
>>
getDetail
(
@RequestParam
(
value
=
"record"
,
required
=
false
)
String
record
,
public
ResponseModel
<
Map
<
String
,
Object
>>
getDetail
(
@RequestParam
(
value
=
"record"
,
required
=
false
)
String
record
,
@RequestParam
(
value
=
"sequenceNbr"
,
required
=
false
)
Long
sequenceNbr
)
{
@RequestParam
(
value
=
"sequenceNbr"
,
required
=
false
)
Long
sequenceNbr
)
{
return
ResponseHelper
.
buildResponse
(
jgUseRegistrationServiceImpl
.
getDetail
(
record
,
sequenceNbr
,
getSelectedOrgInfo
()));
return
ResponseHelper
.
buildResponse
(
jgUseRegistrationServiceImpl
.
getDetail
(
record
,
sequenceNbr
,
getSelectedOrgInfo
()));
...
@@ -393,10 +394,12 @@ public class JgUseRegistrationController extends BaseController {
...
@@ -393,10 +394,12 @@ public class JgUseRegistrationController extends BaseController {
}
}
@TycloudOperation
(
ApiLevel
=
UserType
.
AGENCY
)
@TycloudOperation
(
ApiLevel
=
UserType
.
AGENCY
)
@ApiOperation
(
httpMethod
=
"GET"
,
value
=
"查询工程装置下的所有做过安装告知但是为做使用登记的管道"
,
notes
=
"查询工程装置下的所有做过安装告知但是为做使用登记的管道"
)
@ApiOperation
(
httpMethod
=
"POST"
,
value
=
"查询工程装置下的所有做过安装告知但是未做使用登记的管道"
,
notes
=
"查询工程装置下的所有做过安装告知但是未做使用登记的管道"
)
@GetMapping
(
value
=
"/getDeviceListByProjectContraptionSeq"
)
@PostMapping
(
value
=
"/getDeviceListByProjectContraptionSeq"
)
public
ResponseModel
<
Object
>
getDeviceListByProjectContraption
(
@RequestParam
(
"record"
)
String
projectContraptionSeq
,
public
ResponseModel
<
Object
>
getDeviceListByProjectContraption
(
@RequestBody
JSONObject
map
)
{
@RequestParam
(
"originProjectContraptionIds"
)
String
[]
originProjectContraptionIds
)
{
String
projectContraptionSeq
=
map
.
getString
(
"record"
);
JSONArray
idsArray
=
map
.
getJSONArray
(
"originProjectContraptionIds"
);
String
[]
originProjectContraptionIds
=
idsArray
.
toArray
(
new
String
[
0
]);
return
ResponseHelper
.
buildResponse
(
jgUseRegistrationServiceImpl
.
getDeviceListByProjectContraption
(
projectContraptionSeq
,
originProjectContraptionIds
));
return
ResponseHelper
.
buildResponse
(
jgUseRegistrationServiceImpl
.
getDeviceListByProjectContraption
(
projectContraptionSeq
,
originProjectContraptionIds
));
}
}
...
...
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/JgUseRegistrationServiceImpl.java
View file @
d0db343d
...
@@ -4960,7 +4960,7 @@ public class JgUseRegistrationServiceImpl extends BaseService<JgUseRegistrationD
...
@@ -4960,7 +4960,7 @@ public class JgUseRegistrationServiceImpl extends BaseService<JgUseRegistrationD
item
.
put
(
"inspectReport"
,
JSON
.
parse
(
item
.
get
(
"inspectReport"
).
toString
()));
item
.
put
(
"inspectReport"
,
JSON
.
parse
(
item
.
get
(
"inspectReport"
).
toString
()));
});
});
// 根据设备判断工程装置安装位置是否西咸
// 根据设备判断工程装置安装位置是否西咸
String
isXixian
=
Optional
.
ofNullable
(
equList
.
get
(
0
))
String
isXixian
=
equList
.
isEmpty
()?
"0"
:
Optional
.
ofNullable
(
equList
.
get
(
0
))
.
map
(
equ
->
equ
.
get
(
"record"
))
.
map
(
equ
->
equ
.
get
(
"record"
))
.
map
(
String:
:
valueOf
)
.
map
(
String:
:
valueOf
)
.
flatMap
(
recordStr
->
Optional
.
ofNullable
(
idxBizJgUseInfoService
.
getOneData
(
recordStr
)))
.
flatMap
(
recordStr
->
Optional
.
ofNullable
(
idxBizJgUseInfoService
.
getOneData
(
recordStr
)))
...
...
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