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
b07bc64a
Commit
b07bc64a
authored
Sep 23, 2025
by
suhuiguang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix(jyjc): 报检规则4.0开发
1.区县为空前端送none时后端去掉过滤条件
parent
7698a144
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
14 additions
and
0 deletions
+14
-0
BizCommonConstant.java
...n/amos/boot/module/jyjc/api/common/BizCommonConstant.java
+6
-0
JyjcInspectionApplicationServiceImpl.java
...iz/service/impl/JyjcInspectionApplicationServiceImpl.java
+8
-0
No files found.
amos-boot-system-tzs/amos-boot-module-jyjc/amos-boot-module-jyjc-api/src/main/java/com/yeejoin/amos/boot/module/jyjc/api/common/BizCommonConstant.java
View file @
b07bc64a
...
@@ -89,4 +89,10 @@ public interface BizCommonConstant {
...
@@ -89,4 +89,10 @@ public interface BizCommonConstant {
* 行政区划-雁塔
* 行政区划-雁塔
*/
*/
Integer
REGION_CODE_YT
=
610113
;
Integer
REGION_CODE_YT
=
610113
;
/**
* 空标识
*/
String
NONE
=
"none"
;
}
}
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/JyjcInspectionApplicationServiceImpl.java
View file @
b07bc64a
...
@@ -1593,6 +1593,10 @@ public class JyjcInspectionApplicationServiceImpl extends BaseService<JyjcInspec
...
@@ -1593,6 +1593,10 @@ public class JyjcInspectionApplicationServiceImpl extends BaseService<JyjcInspec
if
(
ObjectUtils
.
isEmpty
(
map
.
getString
(
"COUNTY"
)))
{
if
(
ObjectUtils
.
isEmpty
(
map
.
getString
(
"COUNTY"
)))
{
return
;
return
;
}
}
// 前端需要此字段,无值时为none, 后端在空标识时不使用此字段作为过滤条件
if
(
BizCommonConstant
.
NONE
.
equals
(
map
.
getString
(
"COUNTY"
)))
{
return
;
}
// 雁塔时去掉高新数据
// 雁塔时去掉高新数据
if
(
String
.
valueOf
(
BizCommonConstant
.
REGION_CODE_YT
).
equals
(
map
.
getString
(
"COUNTY"
)))
{
if
(
String
.
valueOf
(
BizCommonConstant
.
REGION_CODE_YT
).
equals
(
map
.
getString
(
"COUNTY"
)))
{
// 区县筛选
// 区县筛选
...
@@ -1700,6 +1704,10 @@ public class JyjcInspectionApplicationServiceImpl extends BaseService<JyjcInspec
...
@@ -1700,6 +1704,10 @@ public class JyjcInspectionApplicationServiceImpl extends BaseService<JyjcInspec
if
(
companyCode
.
contains
(
"_"
))
{
if
(
companyCode
.
contains
(
"_"
))
{
companyCode
=
companyCode
.
split
(
"_"
)[
1
];
companyCode
=
companyCode
.
split
(
"_"
)[
1
];
}
}
// 前端需要此字段无值时为none, 后端在空标识时设置为null,
if
(
BizCommonConstant
.
NONE
.
equals
(
queryParams
.
getCounty
()))
{
queryParams
.
setCounty
(
null
);
}
// 定期检验,查询当前使用单位,工业管道: 查询当前使用单位下已纳管且有使用登记证的装置,且非流程中的 ;公用管道、长输管道:已纳管且做过检验的,且非流程中的
// 定期检验,查询当前使用单位,工业管道: 查询当前使用单位下已纳管且有使用登记证的装置,且非流程中的 ;公用管道、长输管道:已纳管且做过检验的,且非流程中的
return
idxBizJgProjectContraptionMapper
.
queryJgProjectContraptionPage
(
page
,
queryParams
,
companyCode
);
return
idxBizJgProjectContraptionMapper
.
queryJgProjectContraptionPage
(
page
,
queryParams
,
companyCode
);
}
}
...
...
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