Commit b455320f by 徐高华

画布

parent 6ae3fd0d
......@@ -223,6 +223,8 @@ public interface StaffClerkRelationApiService {
List<String> listAllClerkIdsByEnterpriseId(String enterpriseId);
List<String> listAlStoreIdsByEnterpriseId(String enterpriseId);
/**
* 画布查询关联好办的的导购
* @param wxEnterpriseId
......
......@@ -125,6 +125,8 @@ public interface TabHaobanStaffClerkRelationMapper {
List<String> listAllClerkIdsByEnterpriseId(@Param("enterpriseId") String enterpriseId);
List<String> listAlStoreIdsByEnterpriseId(@Param("enterpriseId") String enterpriseId);
/**
* 根据staffId查询gic品牌id
* @param wxEnterpriseId 企业微信id
......
......@@ -184,6 +184,8 @@ public interface StaffClerkRelationService {
*/
List<String> listAllClerkIdsByEnterpriseId(String enterpriseId);
List<String> listAlStoreIdsByEnterpriseId(String enterpriseId);
/**
* 根据staffId查询gic品牌id
* @param wxEnterpriseId 企业微信id
......
......@@ -661,6 +661,11 @@ public class StaffClerkRelationApiServiceImpl implements StaffClerkRelationApiSe
}
@Override
public List<String> listAlStoreIdsByEnterpriseId(String enterpriseId) {
return this.staffClerkRelationService.listAlStoreIdsByEnterpriseId(enterpriseId);
}
@Override
public ServiceResponse<Map<String, List<String>>> listClerkForCanvas(String wxEnterpriseId, String enterpriseId, String creatorId, String storeFilterId) {
return staffClerkRelationService.listClerkForCanvas(wxEnterpriseId,enterpriseId,creatorId,storeFilterId);
}
......
......@@ -439,6 +439,12 @@
where a.enterprise_id = #{enterpriseId} and a.status_flag=1 and b.status_flag = 1
</select>
<select id="listAlStoreIdsByEnterpriseId" resultType="java.lang.String">
select distinct(a.store_id) storeId
from tab_haoban_staff_clerk_relation a inner join tab_haoban_staff b on b.staff_id = a.staff_id
where a.enterprise_id = #{enterpriseId} and a.status_flag=1 and b.status_flag = 1
</select>
<select id="listByWxEnterpriseIdAndStaffId" resultType="com.gic.haoban.manage.api.dto.StaffClerkRelationDTO">
select
staff_id staffId,
......
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