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
79a832a1
Commit
79a832a1
authored
Oct 21, 2021
by
tianbo
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
bug修改
parent
ed6d59af
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
3 deletions
+5
-3
OrgUsrServiceImpl.java
...oot/module/common/biz/service/impl/OrgUsrServiceImpl.java
+1
-1
dbTemplate_plan.xml
...ervision/src/main/resources/db/mapper/dbTemplate_plan.xml
+4
-2
No files found.
amos-boot-module/amos-boot-module-biz/amos-boot-module-common-biz/src/main/java/com/yeejoin/amos/boot/module/common/biz/service/impl/OrgUsrServiceImpl.java
View file @
79a832a1
...
@@ -1737,7 +1737,7 @@ public class OrgUsrServiceImpl extends BaseService<OrgUsrDto, OrgUsr, OrgUsrMapp
...
@@ -1737,7 +1737,7 @@ public class OrgUsrServiceImpl extends BaseService<OrgUsrDto, OrgUsr, OrgUsrMapp
throw
new
Exception
(
"账号不存在"
);
throw
new
Exception
(
"账号不存在"
);
}
}
return
amosUserList
.
stream
().
map
(
AgencyUserModel:
:
getUser
Name
).
collect
(
Collectors
.
toList
());
return
amosUserList
.
stream
().
map
(
AgencyUserModel:
:
getUser
Id
).
collect
(
Collectors
.
toList
());
}
}
@Override
@Override
...
...
amos-boot-system-supervision/src/main/resources/db/mapper/dbTemplate_plan.xml
View file @
79a832a1
...
@@ -124,7 +124,8 @@
...
@@ -124,7 +124,8 @@
<if
test=
"routeId!=null"
>
and a.route_Id = #{routeId}
</if>
<if
test=
"routeId!=null"
>
and a.route_Id = #{routeId}
</if>
<if
test=
"remark!=null"
>
and a.remark1 like concat(concat("%",#{remark}),"%")
</if>
<if
test=
"remark!=null"
>
and a.remark1 like concat(concat("%",#{remark}),"%")
</if>
<if
test=
"userId!=null"
>
and FIND_IN_SET(#{userId},a.user_id)
</if>
<if
test=
"userId!=null"
>
and FIND_IN_SET(#{userId},a.user_id)
</if>
<if
test=
"orgCode!=null"
>
and (a.org_Code like concat (#{orgCode},"-%")or a.org_Code= #{orgCode})
</if>
<if
test=
"orgCode!=null"
>
and (a.org_Code like concat (#{orgCode},"*%") or a.org_Code like concat
(#{orgCode},"-%") or a.org_Code= #{orgCode})
</if>
<if
test=
"ownerId!=null"
>
and b.owner_id = #{ownerId}
</if>
<if
test=
"ownerId!=null"
>
and b.owner_id = #{ownerId}
</if>
<if
test=
"planStatus!=null and planStatus != '' "
>
and a.`status` = #{planStatus}
</if>
<if
test=
"planStatus!=null and planStatus != '' "
>
and a.`status` = #{planStatus}
</if>
</select>
</select>
...
@@ -173,7 +174,8 @@
...
@@ -173,7 +174,8 @@
<if
test=
"routeId!=null"
>
and a.route_Id = #{routeId}
</if>
<if
test=
"routeId!=null"
>
and a.route_Id = #{routeId}
</if>
<if
test=
"remark!=null"
>
and a.remark1 like concat(concat("%",#{remark}),"%")
</if>
<if
test=
"remark!=null"
>
and a.remark1 like concat(concat("%",#{remark}),"%")
</if>
<if
test=
"userId!=null"
>
and FIND_IN_SET(#{userId},a.user_id)
</if>
<if
test=
"userId!=null"
>
and FIND_IN_SET(#{userId},a.user_id)
</if>
<if
test=
"orgCode!=null"
>
and (a.org_Code like concat (#{orgCode},"-%")or a.org_Code= #{orgCode})
</if>
<if
test=
"orgCode!=null"
>
and (a.org_Code like concat (#{orgCode},"*%") or a.org_Code like concat
(#{orgCode},"-%")or a.org_Code= #{orgCode})
</if>
<if
test=
"ownerId!=null"
>
and b.owner_id = #{ownerId}
</if>
<if
test=
"ownerId!=null"
>
and b.owner_id = #{ownerId}
</if>
<if
test=
"planStatus!=null and planStatus != '' "
>
and a.`status` = #{planStatus}
</if>
<if
test=
"planStatus!=null and planStatus != '' "
>
and a.`status` = #{planStatus}
</if>
order by a.id desc
order by a.id 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