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
d022b045
Commit
d022b045
authored
Mar 14, 2025
by
hezhuozhi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
27436 监管业务系统,改造告知单发起申请时,地市/区县/街道信息选择之后,工程装置并没有根据所选区域进行筛选
parent
fcaec8e8
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
31 additions
and
0 deletions
+31
-0
IdxBizJgProjectContraptionServiceImpl.java
...z/service/impl/IdxBizJgProjectContraptionServiceImpl.java
+31
-0
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/service/impl/IdxBizJgProjectContraptionServiceImpl.java
View file @
d022b045
...
@@ -35,6 +35,7 @@ import org.springframework.stereotype.Service;
...
@@ -35,6 +35,7 @@ import org.springframework.stereotype.Service;
import
org.springframework.transaction.annotation.Transactional
;
import
org.springframework.transaction.annotation.Transactional
;
import
org.springframework.util.ObjectUtils
;
import
org.springframework.util.ObjectUtils
;
import
org.springframework.util.StopWatch
;
import
org.springframework.util.StopWatch
;
import
org.springframework.util.StringUtils
;
import
org.typroject.tyboot.core.foundation.context.RequestContext
;
import
org.typroject.tyboot.core.foundation.context.RequestContext
;
import
org.typroject.tyboot.core.foundation.utils.Bean
;
import
org.typroject.tyboot.core.foundation.utils.Bean
;
import
org.typroject.tyboot.core.foundation.utils.ValidationUtil
;
import
org.typroject.tyboot.core.foundation.utils.ValidationUtil
;
...
@@ -191,6 +192,31 @@ public class IdxBizJgProjectContraptionServiceImpl extends BaseService<IdxBizJgP
...
@@ -191,6 +192,31 @@ public class IdxBizJgProjectContraptionServiceImpl extends BaseService<IdxBizJgP
String
useRegDetail
=
params
.
get
(
"useRegDetail"
);
String
useRegDetail
=
params
.
get
(
"useRegDetail"
);
// 登录人公司类型:企业,监管
// 登录人公司类型:企业,监管
String
companyLevel
=
this
.
getCompanyLevel
(
company
);
String
companyLevel
=
this
.
getCompanyLevel
(
company
);
//获取省
String
province
=
params
.
get
(
"province"
);
if
(!
StringUtils
.
isEmpty
(
province
)
&&
province
.
contains
(
"_"
)){
province
=
province
.
split
(
"_"
)[
0
];
}
//获取市
String
city
=
params
.
get
(
"city"
);
if
(!
StringUtils
.
isEmpty
(
city
)
&&
city
.
contains
(
"_"
)){
city
=
city
.
split
(
"_"
)[
0
];
}
//获取区
String
county
=
params
.
get
(
"county"
);
if
(!
StringUtils
.
isEmpty
(
county
)
&&
county
.
contains
(
"_"
)){
county
=
county
.
split
(
"_"
)[
0
];
}
//获取街道
String
street
=
params
.
get
(
"street"
);
if
(!
StringUtils
.
isEmpty
(
street
)
&&
street
.
contains
(
"_"
)){
street
=
street
.
split
(
"_"
)[
0
];
}
//获取街道
String
useUnitCreditCode
=
params
.
get
(
"useUnitCreditCode"
);
if
(!
StringUtils
.
isEmpty
(
useUnitCreditCode
)
&&
useUnitCreditCode
.
contains
(
"_"
)){
useUnitCreditCode
=
useUnitCreditCode
.
split
(
"_"
)[
0
];
}
IPage
<
IdxBizJgProjectContraption
>
pageList
=
lambdaQuery
()
IPage
<
IdxBizJgProjectContraption
>
pageList
=
lambdaQuery
()
// 企业按照公司类型进行过滤
// 企业按照公司类型进行过滤
.
eq
(
BaseController
.
COMPANY_TYPE_COMPANY
.
equals
(
companyLevel
)
&&
CompanyTypeEnum
.
CONSTRUCTION
.
getName
().
equals
(
companyType
),
IdxBizJgProjectContraption:
:
getUscUnitCreditCode
,
companyCode
)
.
eq
(
BaseController
.
COMPANY_TYPE_COMPANY
.
equals
(
companyLevel
)
&&
CompanyTypeEnum
.
CONSTRUCTION
.
getName
().
equals
(
companyType
),
IdxBizJgProjectContraption:
:
getUscUnitCreditCode
,
companyCode
)
...
@@ -202,6 +228,11 @@ public class IdxBizJgProjectContraptionServiceImpl extends BaseService<IdxBizJgP
...
@@ -202,6 +228,11 @@ public class IdxBizJgProjectContraptionServiceImpl extends BaseService<IdxBizJgP
.
eq
(!
ValidationUtil
.
isEmpty
(
useRegistrationCode
),
IdxBizJgProjectContraption:
:
getUseRegistrationCode
,
useRegistrationCode
)
.
eq
(!
ValidationUtil
.
isEmpty
(
useRegistrationCode
),
IdxBizJgProjectContraption:
:
getUseRegistrationCode
,
useRegistrationCode
)
.
eq
(!
ValidationUtil
.
isEmpty
(
equCategory
),
IdxBizJgProjectContraption:
:
getEquCategory
,
equCategory
)
.
eq
(!
ValidationUtil
.
isEmpty
(
equCategory
),
IdxBizJgProjectContraption:
:
getEquCategory
,
equCategory
)
.
eq
(!
ValidationUtil
.
isEmpty
(
equDefine
),
IdxBizJgProjectContraption:
:
getEquDefine
,
equDefine
)
.
eq
(!
ValidationUtil
.
isEmpty
(
equDefine
),
IdxBizJgProjectContraption:
:
getEquDefine
,
equDefine
)
.
eq
(!
ValidationUtil
.
isEmpty
(
province
),
IdxBizJgProjectContraption:
:
getProvince
,
province
)
.
eq
(!
ValidationUtil
.
isEmpty
(
city
),
IdxBizJgProjectContraption:
:
getCity
,
city
)
.
eq
(!
ValidationUtil
.
isEmpty
(
county
),
IdxBizJgProjectContraption:
:
getCounty
,
county
)
.
eq
(!
ValidationUtil
.
isEmpty
(
street
),
IdxBizJgProjectContraption:
:
getStreet
,
street
)
.
eq
(!
ValidationUtil
.
isEmpty
(
useUnitCreditCode
),
IdxBizJgProjectContraption:
:
getUseUnitCreditCode
,
useUnitCreditCode
)
.
like
(!
ValidationUtil
.
isEmpty
(
projectContraption
),
IdxBizJgProjectContraption:
:
getProjectContraption
,
projectContraption
)
.
like
(!
ValidationUtil
.
isEmpty
(
projectContraption
),
IdxBizJgProjectContraption:
:
getProjectContraption
,
projectContraption
)
.
eq
(!
ValidationUtil
.
isEmpty
(
orgBranchCode
)
&&
BaseController
.
COMPANY_TYPE_COMPANY
.
equals
(
companyLevel
),
IdxBizJgProjectContraption:
:
getOrgCode
,
orgBranchCode
)
// 企业 等于匹配
.
eq
(!
ValidationUtil
.
isEmpty
(
orgBranchCode
)
&&
BaseController
.
COMPANY_TYPE_COMPANY
.
equals
(
companyLevel
),
IdxBizJgProjectContraption:
:
getOrgCode
,
orgBranchCode
)
// 企业 等于匹配
.
likeRight
(!
ValidationUtil
.
isEmpty
(
orgBranchCode
)
&&
BaseController
.
COMPANY_TYPE_SUPERVISION
.
equals
(
companyLevel
),
IdxBizJgProjectContraption:
:
getOrgCode
,
orgBranchCode
)
// 监管 右模糊匹配
.
likeRight
(!
ValidationUtil
.
isEmpty
(
orgBranchCode
)
&&
BaseController
.
COMPANY_TYPE_SUPERVISION
.
equals
(
companyLevel
),
IdxBizJgProjectContraption:
:
getOrgCode
,
orgBranchCode
)
// 监管 右模糊匹配
...
...
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