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
b46ff792
Commit
b46ff792
authored
Jun 03, 2023
by
tianyiming
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改问题
parent
e89c404f
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
4 deletions
+5
-4
CheckController.java
...join/amos/patrol/business/controller/CheckController.java
+3
-2
EmergencyMapper.xml
...ystem-equip/src/main/resources/mapper/EmergencyMapper.xml
+2
-2
No files found.
amos-boot-module/amos-boot-module-biz/amos-boot-module-patrol-biz/src/main/java/com/yeejoin/amos/patrol/business/controller/CheckController.java
View file @
b46ff792
...
...
@@ -124,8 +124,9 @@ public class CheckController extends AbstractBaseController {
@ApiParam
(
value
=
"分页参数"
,
required
=
true
)
CommonPageable
commonPageable
)
{
ReginParams
reginParams
=
getSelectedOrgInfo
();
param
.
setOrderBy
(
"checkDate desc"
);
param
.
setBizOrgCode
(
"3"
.
equals
(
param
.
getIsOK
())
?
null
:
ObjectUtils
.
isEmpty
(
param
.
getBizOrgCode
())
?
reginParams
.
getPersonIdentity
().
getBizOrgCode
()
:
param
.
getBizOrgCode
());
param
.
setBizOrgCode
(
ObjectUtils
.
isEmpty
(
param
.
getBizOrgCode
())
?
"3"
.
equals
(
param
.
getIsOK
())
?
null
:
reginParams
.
getPersonIdentity
().
getBizOrgCode
()
:
param
.
getBizOrgCode
());
if
(
commonPageable
!=
null
){
param
.
setPageNumber
(
commonPageable
.
getPageNumber
()-
1
);
param
.
setPageSize
(
commonPageable
.
getPageSize
());
...
...
amos-boot-system-equip/src/main/resources/mapper/EmergencyMapper.xml
View file @
b46ff792
...
...
@@ -81,7 +81,7 @@
sys.status = #{status}
</if>
<if
test=
"bizOrgCode != null and bizOrgCode != ''"
>
sys.bizOrgCode like concat('%',#{bizOrgCode},'%')
and
sys.bizOrgCode like concat('%',#{bizOrgCode},'%')
</if>
</where>
</select>
...
...
@@ -132,7 +132,7 @@
sys.status = #{status}
</if>
<if
test=
"bizOrgCode != null and bizOrgCode != ''"
>
sys.bizOrgCode like concat('%',#{bizOrgCode},'%')
and
sys.bizOrgCode like concat('%',#{bizOrgCode},'%')
</if>
</where>
LIMIT #{current},#{size}
...
...
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