Commit 79a832a1 authored by tianbo's avatar tianbo

bug修改

parent ed6d59af
...@@ -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::getUserName).collect(Collectors.toList()); return amosUserList.stream().map(AgencyUserModel::getUserId).collect(Collectors.toList());
} }
@Override @Override
......
...@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment