Commit c6c8b659 by 吴迪

【修改】机构id返回

parent 0cd03027
...@@ -47,5 +47,7 @@ public class BranchEntityVo implements Serializable { ...@@ -47,5 +47,7 @@ public class BranchEntityVo implements Serializable {
private String personname; private String personname;
private String id;
} }
...@@ -36,7 +36,7 @@ ...@@ -36,7 +36,7 @@
<select id="getListPage" resultType="io.office.modules.manage.vo.response.BranchEntityVo"> <select id="getListPage" resultType="io.office.modules.manage.vo.response.BranchEntityVo">
SELECT SELECT
a.*, b.description, a.*, b.id,b.description,
b.mail, b.mail,
b.website b.website
FROM FROM
...@@ -44,7 +44,6 @@ ...@@ -44,7 +44,6 @@
LEFT JOIN codeagent b ON a.branch_code = b.id LEFT JOIN codeagent b ON a.branch_code = b.id
WHERE WHERE
branch_code &lt;&gt; '0000' branch_code &lt;&gt; '0000'
<if test="params.branchName!=null and params.branchName!=''"> <if test="params.branchName!=null and params.branchName!=''">
and a.branch_name like concat('%',#{params.branchName},'%') and a.branch_name like concat('%',#{params.branchName},'%')
</if> </if>
......
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