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
e29b6763
Commit
e29b6763
authored
Feb 25, 2025
by
chenzhao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
属地监管部门增加 筛选限制 企业eq 监管部门查看like
parent
55428ecc
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
28 additions
and
6 deletions
+28
-6
JgInstallationNoticeMapper.xml
.../src/main/resources/mapper/JgInstallationNoticeMapper.xml
+8
-1
JgUseRegistrationMapper.xml
...api/src/main/resources/mapper/JgUseRegistrationMapper.xml
+10
-1
JgVehicleInformationMapper.xml
.../src/main/resources/mapper/JgVehicleInformationMapper.xml
+8
-2
IdxBizJgProjectContraptionServiceImpl.java
...z/service/impl/IdxBizJgProjectContraptionServiceImpl.java
+1
-1
IdxBizJgRegisterInfoServiceImpl.java
.../jg/biz/service/impl/IdxBizJgRegisterInfoServiceImpl.java
+1
-1
No files found.
amos-boot-system-tzs/amos-boot-module-jg/amos-boot-module-jg-api/src/main/resources/mapper/JgInstallationNoticeMapper.xml
View file @
e29b6763
...
...
@@ -74,7 +74,14 @@
AND isn.use_unit_credit_code = #{param.useUnitCreditCode}
</if>
<if
test=
"param.orgBranchCode != null and param.orgBranchCode != ''"
>
AND isn.org_branch_code LIKE concat(#{param.orgBranchCode},'%')
<choose>
<when
test=
"client == 'jgAudit'"
>
AND isn.org_branch_code= #{param.orgBranchCode}
</when>
<otherwise>
AND isn.org_branch_code LIKE concat(#{param.orgBranchCode},'%')
</otherwise>
</choose>
</if>
</if>
<if
test=
"type == 'supervision'"
>
...
...
amos-boot-system-tzs/amos-boot-module-jg/amos-boot-module-jg-api/src/main/resources/mapper/JgUseRegistrationMapper.xml
View file @
e29b6763
...
...
@@ -266,7 +266,16 @@
AND use_unit_credit_code = #{dto.useUnitCode}
</if>
<if
test=
"dto.orgBranchCode != null and dto.orgBranchCode != ''"
>
and supervisionOrgCode like concat(#{dto.orgBranchCode},'%')
<choose>
<when
test=
"client == 'jgAudit'"
>
and supervisionOrgCode = #{dto.orgBranchCode}
</when>
<otherwise>
and supervisionOrgCode like concat(#{dto.orgBranchCode},'%')
</otherwise>
</choose>
</if>
<if
test=
"dto.auditPassDateStart != null and dto.auditPassDateEnd != null"
>
AND auditPassDate BETWEEN #{dto.auditPassDateStart} AND #{dto.auditPassDateEnd}
...
...
amos-boot-system-tzs/amos-boot-module-jg/amos-boot-module-jg-api/src/main/resources/mapper/JgVehicleInformationMapper.xml
View file @
e29b6763
...
...
@@ -43,8 +43,14 @@
and tjvi.use_unit_credit_code = #{dto.useUnitCreditCode}
</if>
<if
test=
"dto.orgBranchCode != null and dto.orgBranchCode != ''"
>
and tjvi.org_branch_code like concat(#{dto.orgBranchCode}, '%')
</if>
<choose>
<when
test=
"client == 'jgAudit'"
>
and tjvi.org_branch_code = #{dto.orgBranchCode}
</when>
<otherwise>
and tjvi.org_branch_code LIKE CONCAT(#{dto.orgBranchCode}, '%')
</otherwise>
</choose>
</if>
</where>
order by
<if
test=
"sort != null"
>
...
...
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 @
e29b6763
...
...
@@ -199,7 +199,7 @@ public class IdxBizJgProjectContraptionServiceImpl extends BaseService<IdxBizJgP
.
eq
(!
ValidationUtil
.
isEmpty
(
equCategory
),
IdxBizJgProjectContraption:
:
getEquCategory
,
equCategory
)
.
eq
(!
ValidationUtil
.
isEmpty
(
equDefine
),
IdxBizJgProjectContraption:
:
getEquDefine
,
equDefine
)
.
like
(!
ValidationUtil
.
isEmpty
(
projectContraption
),
IdxBizJgProjectContraption:
:
getProjectContraption
,
projectContraption
)
.
like
(!
ValidationUtil
.
isEmpty
(
orgBranchCode
),
IdxBizJgProjectContraption:
:
getOrgCode
,
orgBranchCode
)
.
eq
(!
ValidationUtil
.
isEmpty
(
orgBranchCode
),
IdxBizJgProjectContraption:
:
getOrgCode
,
orgBranchCode
)
.
like
(!
ValidationUtil
.
isEmpty
(
projectContraptionNo
),
IdxBizJgProjectContraption:
:
getProjectContraptionNo
,
projectContraptionNo
)
.
isNull
(!
ValidationUtil
.
isEmpty
(
regCodeIsNull
)
&&
Boolean
.
TRUE
.
equals
(
Boolean
.
valueOf
(
regCodeIsNull
)),
IdxBizJgProjectContraption:
:
getUseRegistrationCode
)
.
isNotNull
(!
ValidationUtil
.
isEmpty
(
regCodeIsNull
)
&&
Boolean
.
FALSE
.
equals
(
Boolean
.
valueOf
(
regCodeIsNull
)),
IdxBizJgProjectContraption:
:
getUseRegistrationCode
)
...
...
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/IdxBizJgRegisterInfoServiceImpl.java
View file @
e29b6763
...
...
@@ -2588,7 +2588,7 @@ public class IdxBizJgRegisterInfoServiceImpl extends BaseService<IdxBizJgRegiste
}
// 增加监管端查询, 查询规则看到本级及之下的设备
if
(!
ObjectUtils
.
isEmpty
(
map
.
getString
(
"ORG_BRANCH_CODE"
))){
boolMust
.
must
(
QueryBuilders
.
wildcardQuery
(
"ORG_BRANCH_CODE.keyword"
,
QueryParser
.
escape
(
map
.
getString
(
"ORG_BRANCH_CODE"
))
+
"*"
));
boolMust
.
must
(
QueryBuilders
.
termQuery
(
"ORG_BRANCH_CODE.keyword"
,
map
.
getString
(
"ORG_BRANCH_CODE"
)
));
}
builder
.
query
(
boolMust
);
builder
.
sort
(
"REC_DATE"
,
SortOrder
.
DESC
);
...
...
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