getSpecialShopStageInfo
This commit is contained in:
@@ -247,8 +247,8 @@ public class ShopStageInfoDAO {
|
||||
}
|
||||
|
||||
public List<ShopStageInfoDO> getSpecialShopStageInfo(List<Long> shopIds, Integer shopSubStage,
|
||||
List<Integer> shopSubStageStatusList,String investmentUserId,Integer queryUserType){
|
||||
return shopStageInfoMapper.getSpecialShopStageInfo( shopIds, shopSubStage, shopSubStageStatusList,investmentUserId,queryUserType);
|
||||
List<Integer> shopSubStageStatusList,String investmentUserId,String supervisorId,Integer queryUserType){
|
||||
return shopStageInfoMapper.getSpecialShopStageInfo( shopIds, shopSubStage, shopSubStageStatusList,investmentUserId,supervisorId,queryUserType);
|
||||
}
|
||||
/**
|
||||
* @Auther: wangshuo
|
||||
|
||||
@@ -131,6 +131,7 @@ public interface ShopStageInfoMapper extends Mapper<ShopStageInfoDO> {
|
||||
@Param("shopSubStage") Integer shopSubStage,
|
||||
@Param("shopSubStageStatusList") List<Integer> shopSubStageStatusList,
|
||||
@Param("investmentUserId") String investmentUserId,
|
||||
@Param("supervisorId") String supervisorId,
|
||||
@Param("queryUserType") Integer queryUserType);
|
||||
List<ShopStageInfoDO> getSubStageList(@Param("shopIds") List<Long> shopIds,@Param("shopSubStage") Integer shopSubStage);
|
||||
|
||||
|
||||
@@ -259,8 +259,8 @@
|
||||
<if test="investmentUserId!=null and investmentUserId!='' and queryUserType == 0">
|
||||
and b.investment_manager = #{investmentUserId}
|
||||
</if>
|
||||
<if test="investmentUserId!=null and investmentUserId!='' and queryUserType == 1">
|
||||
and c.supervisor_id = #{investmentUserId}
|
||||
<if test="supervisorId!=null and supervisorId!='' and queryUserType == 1">
|
||||
and c.supervisor_id = #{supervisorId}
|
||||
</if>
|
||||
</where>
|
||||
|
||||
|
||||
@@ -367,7 +367,7 @@ public class DeskServiceImpl implements DeskService {
|
||||
PageHelper.startPage(pageNum, pageSize);
|
||||
//user.getJobNumber()
|
||||
List<ShopStageInfoDO> specialShopStageInfo = shopStageInfoDAO.getSpecialShopStageInfo(null, shopSubStageEnum.getShopSubStage(),
|
||||
subStageStatusList, user.getJobNumber(),type);
|
||||
subStageStatusList, user.getUserId(),user.getJobNumber(),type);
|
||||
PageInfo result = new PageInfo<>(specialShopStageInfo);
|
||||
List<Long> shopIds = specialShopStageInfo.stream().map(ShopStageInfoDO::getShopId).collect(Collectors.toList());
|
||||
List<Long> lineIds = specialShopStageInfo.stream().map(ShopStageInfoDO::getLineId).collect(Collectors.toList());
|
||||
|
||||
Reference in New Issue
Block a user