Commit 6b3f5713 by 徐高华

企微托管

parent cfc091b5
......@@ -105,4 +105,5 @@ public interface OpenStaffApiService {
List<StaffClerkRelationDTO> listOpenStaffByStore(String wxEnterpriseId , String enterpriseIdList , List<String> storeIdList) ;
List<String> listAllOnlineStaff() ;
}
......@@ -28,7 +28,7 @@ public interface OpenStaffMapper {
TabOpenStaff getByUUID(@Param("uuid") String uuid) ;
void updateValiFlag(@Param("uuid")String uuid);
void updateValidFlag(@Param("uuid")String uuid);
TabOpenStaff getById(Long openStaffId);
......@@ -47,4 +47,7 @@ public interface OpenStaffMapper {
List<StaffClerkRelationDTO> listOpenStaffByClerk(@Param("wxEnterpriseId")String wxEnterpriseId, @Param("enterpriseId")String enterpriseId, @Param("list")List<String> clerkIdList);
List<StaffClerkRelationDTO> listOpenStaffByStore(@Param("wxEnterpriseId")String wxEnterpriseId, @Param("enterpriseId")String enterpriseId, @Param("list")List<String> storeIdList);
List<String> listAll() ;
}
\ No newline at end of file
......@@ -3,7 +3,6 @@ package com.gic.haoban.manage.service.service;
import com.gic.api.base.commons.BasePageInfo;
import com.gic.api.base.commons.Page;
import com.gic.api.base.commons.ServiceResponse;
import com.gic.haoban.manage.api.dto.OpenStaffDTO;
import com.gic.haoban.manage.api.dto.OpenStaffListDTO;
import com.gic.haoban.manage.api.qdto.OpenStaffPageQDTO;
import com.gic.haoban.manage.service.entity.TabOpenStaff;
......
......@@ -57,7 +57,7 @@ public class OpenStaffApiServiceImpl implements OpenStaffApiService {
@Override
public ServiceResponse<Void> updateValiFlag(String uuid) {
this.openStaffMapper.updateValiFlag(uuid) ;
this.openStaffMapper.updateValidFlag(uuid) ;
return ServiceResponse.success();
}
......@@ -256,4 +256,9 @@ public class OpenStaffApiServiceImpl implements OpenStaffApiService {
public List<StaffClerkRelationDTO> listOpenStaffByStore(String wxEnterpriseId, String enterpriseId, List<String> storeIdList) {
return this.openStaffMapper.listOpenStaffByStore(wxEnterpriseId,enterpriseId,storeIdList);
}
@Override
public List<String> listAllOnlineStaff() {
return this.openStaffMapper.listAll();
}
}
......@@ -73,7 +73,7 @@
where open_staff_id = #{openStaffId}
</update>
<update id="updateValiFlag">
<update id="updateValidFlag">
update tab_haoban_open_staff
set valid_flag = 1
where uuid = #{uuid}
......@@ -212,6 +212,9 @@
#{item}
</foreach>
</select>
<select id="listAll" resultType="java.lang.String">
select staff_id from tab_haoban_open_staff where status_flag = 1
</select>
</mapper>
\ No newline at end of file
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