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
a180c222
Commit
a180c222
authored
Mar 13, 2025
by
刘林
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/develop_tzs_register_test' into develop_tzs_register_test
parents
82e381f5
140088d1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
39 additions
and
0 deletions
+39
-0
IdxBizJgProjectContraptionServiceImpl.java
...z/service/impl/IdxBizJgProjectContraptionServiceImpl.java
+39
-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 @
a180c222
...
@@ -191,6 +191,44 @@ public class IdxBizJgProjectContraptionServiceImpl extends BaseService<IdxBizJgP
...
@@ -191,6 +191,44 @@ 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
);
// 未在业务流程中
boolean
isNotInBusiness
=
!
ValidationUtil
.
isEmpty
(
params
.
get
(
"isNotInBusiness"
))
&&
params
.
get
(
"isNotInBusiness"
).
equals
(
"true"
);
// 查询在业务流程中sql
String
inBusinessSQL
=
"SELECT 1 FROM tzs_jg_change_registration_reform A WHERE\n"
+
" idx_biz_jg_project_contraption.sequence_nbr = A.\"project_contraption_id\" \n"
+
" AND A.\"is_delete\" = 0 \n"
+
" AND A.audit_status <> '使用单位待提交' \n"
+
" AND A.audit_status <> '一级受理已驳回' \n"
+
" AND A.audit_status <> '使用单位已撤回' \n"
+
" AND A.audit_status <> '已完成' \n"
+
" AND A.audit_status <> '已作废' UNION ALL\n"
+
"SELECT 1 FROM tzs_jg_installation_notice A \n"
+
"WHERE\n"
+
" idx_biz_jg_project_contraption.sequence_nbr = A.\"project_contraption_id\" \n"
+
" AND A.\"is_delete\" = 0 \n"
+
" AND A.notice_status <> '6614' \n"
+
" AND A.notice_status <> '6615' \n"
+
" AND A.notice_status <> '6610' \n"
+
" AND A.notice_status <> '6616' \n"
+
" AND A.notice_status <> '6617' UNION ALL\n"
+
"SELECT 1 FROM tzs_jg_reform_notice A \n"
+
"WHERE\n"
+
" idx_biz_jg_project_contraption.sequence_nbr = A.\"project_contraption_id\" \n"
+
" AND A.\"is_delete\" = 0 \n"
+
" AND A.notice_status <> '6614' \n"
+
" AND A.notice_status <> '6615' \n"
+
" AND A.notice_status <> '6610' \n"
+
" AND A.notice_status <> '6616' \n"
+
" AND A.notice_status <> '6617' UNION ALL\n"
+
"SELECT 1 FROM tzs_jg_use_registration A \n"
+
"WHERE\n"
+
" idx_biz_jg_project_contraption.sequence_nbr = A.\"project_contraption_id\" \n"
+
" AND A.\"is_delete\" = 0 \n"
+
" AND A.status <> '使用单位待提交' \n"
+
" AND A.status <> '一级受理已驳回' \n"
+
" AND A.status <> '使用单位已撤回' \n"
+
" AND A.status <> '已完成' \n"
+
" AND A.status <> '已作废'"
;
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
)
...
@@ -209,6 +247,7 @@ public class IdxBizJgProjectContraptionServiceImpl extends BaseService<IdxBizJgP
...
@@ -209,6 +247,7 @@ public class IdxBizJgProjectContraptionServiceImpl extends BaseService<IdxBizJgP
.
isNull
(!
ValidationUtil
.
isEmpty
(
regCodeIsNull
)
&&
Boolean
.
TRUE
.
equals
(
Boolean
.
valueOf
(
regCodeIsNull
)),
IdxBizJgProjectContraption:
:
getUseRegistrationCode
)
.
isNull
(!
ValidationUtil
.
isEmpty
(
regCodeIsNull
)
&&
Boolean
.
TRUE
.
equals
(
Boolean
.
valueOf
(
regCodeIsNull
)),
IdxBizJgProjectContraption:
:
getUseRegistrationCode
)
.
isNotNull
(!
ValidationUtil
.
isEmpty
(
regCodeIsNull
)
&&
Boolean
.
FALSE
.
equals
(
Boolean
.
valueOf
(
regCodeIsNull
)),
IdxBizJgProjectContraption:
:
getUseRegistrationCode
)
.
isNotNull
(!
ValidationUtil
.
isEmpty
(
regCodeIsNull
)
&&
Boolean
.
FALSE
.
equals
(
Boolean
.
valueOf
(
regCodeIsNull
)),
IdxBizJgProjectContraption:
:
getUseRegistrationCode
)
.
isNull
(
IdxBizJgProjectContraption:
:
getProjectContraptionParentId
)
.
isNull
(
IdxBizJgProjectContraption:
:
getProjectContraptionParentId
)
.
notExists
(
isNotInBusiness
,
inBusinessSQL
)
.
orderByDesc
(
IdxBizJgProjectContraption:
:
getRecDate
)
.
orderByDesc
(
IdxBizJgProjectContraption:
:
getRecDate
)
.
page
(
page
);
.
page
(
page
);
if
(!
ValidationUtil
.
isEmpty
(
pageList
.
getRecords
()))
{
if
(!
ValidationUtil
.
isEmpty
(
pageList
.
getRecords
()))
{
...
...
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