diff --git a/mallinkService/src/main/resources/mapper/WxOrderGroupMapper.xml b/mallinkService/src/main/resources/mapper/WxOrderGroupMapper.xml index b37c49be9..4d916c7fe 100644 --- a/mallinkService/src/main/resources/mapper/WxOrderGroupMapper.xml +++ b/mallinkService/src/main/resources/mapper/WxOrderGroupMapper.xml @@ -76,7 +76,7 @@ left join wx_order_group g on o.order_group_id=g.id left join wx_c_user u on o.c_user_id=u.id where o.tenant_id=#{tenantId} - and `sub_tenant_id` = #{subTenantId} + and o.`sub_tenant_id` = #{subTenantId} and c.type=9 and o.c_user_id=#{cUserId}