Commit 55301ef1 by 徐高华

sql

parent 41d25d0f
...@@ -141,6 +141,9 @@ ...@@ -141,6 +141,9 @@
a.clerk_id clerkId, a.clerk_id clerkId,
a.clerk_code clerkCode, a.clerk_code clerkCode,
a.status_flag statusFlag, a.status_flag statusFlag,
a.open_concat_flag openConcatFlag ,
a.clerk_type clerkType ,
a.manage_flag manageFlag ,
b.wx_user_id qwUserId, b.wx_user_id qwUserId,
b.wx_open_user_id openUserId b.wx_open_user_id openUserId
from tab_haoban_staff_clerk_relation a left join tab_haoban_staff b on b.staff_id = a.staff_id from tab_haoban_staff_clerk_relation a left join tab_haoban_staff b on b.staff_id = a.staff_id
...@@ -277,7 +280,7 @@ ...@@ -277,7 +280,7 @@
</select> </select>
<select id="listBindByStoreId" resultType="com.gic.haoban.manage.api.dto.StaffClerkRelationDTO"> <select id="listBindByStoreId" resultType="com.gic.haoban.manage.api.dto.StaffClerkRelationDTO">
select a.staff_clerk_relation_id staffClerkRelationId, a.staff_clerk_relation_id staffClerkRelationId,
a.staff_id staffId, a.staff_id staffId,
a.wx_enterprise_id wxEnterpriseId, a.wx_enterprise_id wxEnterpriseId,
a.enterprise_id enterpriseId, a.enterprise_id enterpriseId,
...@@ -285,6 +288,9 @@ ...@@ -285,6 +288,9 @@
a.clerk_id clerkId, a.clerk_id clerkId,
a.clerk_code clerkCode, a.clerk_code clerkCode,
a.status_flag statusFlag, a.status_flag statusFlag,
a.open_concat_flag openConcatFlag ,
a.clerk_type clerkType ,
a.manage_flag manageFlag ,
b.wx_user_id qwUserId, b.wx_user_id qwUserId,
b.wx_open_user_id openUserId b.wx_open_user_id openUserId
from tab_haoban_staff_clerk_relation a left join tab_haoban_staff b on b.staff_id = a.staff_id from tab_haoban_staff_clerk_relation a left join tab_haoban_staff b on b.staff_id = a.staff_id
......
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