Commit f38f2bd5 by guojuxing

Merge remote-tracking branch 'origin/developer' into developer

parents 7b08df3b daa2747c
......@@ -265,4 +265,15 @@ public interface TabClerkMapper {
* @throws
*/
List<Integer> listStoreInfoIdByStoreInfoId(@Param("enterpriseId") Integer enterpriseId, @Param("ids") List<Integer> storeInfoIdList);
/**
* listClerkIdByStoreInfoId
* @Title: listClerkIdByStoreInfoId
* @Description:
* @author taogs
* @param storeInfoIdList
* @return java.util.List<java.lang.Integer>
* @throws
*/
List<Integer> listClerkIdByStoreInfoId( @Param("ids") List<Integer> storeInfoIdList);
}
\ No newline at end of file
......@@ -318,4 +318,15 @@ public interface ClerkService {
* @throws
*/
List<Integer> listStoreInfoIdByStoreInfoId(Integer enterpriseId, List<Integer> storeInfoIdList);
/**
* listStoreInfoIdByStoreInfoId
* @Title: listStoreInfoIdByStoreInfoId
* @Description: 查询导购idlist
* @author taogs
* @param storeInfoIdList
* @return java.util.List<java.lang.Integer>
* @throws
*/
List<Integer> listClerkIdByStoreInfoId(List<Integer> storeInfoIdList);
}
......@@ -205,4 +205,9 @@ public class ClerkServiceImpl implements ClerkService {
return tabClerkMapper.listStoreInfoIdByStoreInfoId(enterpriseId, storeInfoIdList);
}
@Override
public List<Integer> listClerkIdByStoreInfoId(List<Integer> storeInfoIdList){
return tabClerkMapper.listClerkIdByStoreInfoId(storeInfoIdList);
}
}
......@@ -944,7 +944,7 @@ public class ClerkApiServiceImpl implements ClerkApiService {
@Override
public ServiceResponse<List<Integer>> listClerkId(List<Integer> storeInfoIdList) {
List<Integer> list = this.clerkService.listStoreInfoIdByStoreInfoId(null, storeInfoIdList);
List<Integer> list = this.clerkService.listClerkIdByStoreInfoId(storeInfoIdList);
return ServiceResponse.success(list);
}
......
......@@ -430,4 +430,16 @@
</foreach>
</if>
</select>
<select id="listClerkIdByStoreInfoId" resultType="int">
select
clerk_id
from tab_clerk where status = 1
<if test="null != ids and ids.size > 0">
and store_info_id in
<foreach collection="ids" index="index" item="item" open="(" separator="," close=")">
#{item}
</foreach>
</if>
order by position_id asc,clerk_name asc
</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