督导
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,String supervisorId,Integer queryUserType){
|
||||
return shopStageInfoMapper.getSpecialShopStageInfo( shopIds, shopSubStage, shopSubStageStatusList,investmentUserId,supervisorId,queryUserType);
|
||||
List<Integer> shopSubStageStatusList,String investmentUserId){
|
||||
return shopStageInfoMapper.getSpecialShopStageInfo( shopIds, shopSubStage, shopSubStageStatusList,investmentUserId);
|
||||
}
|
||||
/**
|
||||
* @Auther: wangshuo
|
||||
|
||||
@@ -130,9 +130,7 @@ public interface ShopStageInfoMapper extends Mapper<ShopStageInfoDO> {
|
||||
List<ShopStageInfoDO> getSpecialShopStageInfo(@Param("shopIds") List<Long> shopIds,
|
||||
@Param("shopSubStage") Integer shopSubStage,
|
||||
@Param("shopSubStageStatusList") List<Integer> shopSubStageStatusList,
|
||||
@Param("investmentUserId") String investmentUserId,
|
||||
@Param("supervisorId") String supervisorId,
|
||||
@Param("queryUserType") Integer queryUserType);
|
||||
@Param("investmentUserId") String investmentUserId);
|
||||
List<ShopStageInfoDO> getSubStageList(@Param("shopIds") List<Long> shopIds,@Param("shopSubStage") Integer shopSubStage);
|
||||
|
||||
/**
|
||||
|
||||
@@ -234,12 +234,9 @@
|
||||
select
|
||||
*
|
||||
from xfsg_shop_stage_info a
|
||||
<if test="investmentUserId!=null and investmentUserId!='' and queryUserType == 0 ">
|
||||
<if test="investmentUserId!=null and investmentUserId!=''">
|
||||
left join xfsg_line_info b on a.line_id = b.id
|
||||
</if>
|
||||
<if test="investmentUserId!=null and investmentUserId!='' and queryUserType == 1 ">
|
||||
left join xfsg_system_building_shop c on a.shop_id = c.shop_id
|
||||
</if>
|
||||
<where>
|
||||
<if test="shopIds != null and shopIds.size() > 0">
|
||||
and a.shop_id in
|
||||
@@ -256,12 +253,9 @@
|
||||
#{stageStatus}
|
||||
</foreach>
|
||||
</if>
|
||||
<if test="investmentUserId!=null and investmentUserId!='' and queryUserType == 0">
|
||||
<if test="investmentUserId!=null and investmentUserId!=''">
|
||||
and b.investment_manager = #{investmentUserId}
|
||||
</if>
|
||||
<if test="supervisorId!=null and supervisorId!='' and queryUserType == 1">
|
||||
and c.supervisor_id = #{supervisorId}
|
||||
</if>
|
||||
</where>
|
||||
|
||||
</select>
|
||||
|
||||
@@ -365,7 +365,7 @@ public class DeskServiceImpl implements DeskService {
|
||||
PageHelper.startPage(pageNum, pageSize);
|
||||
//user.getJobNumber()
|
||||
List<ShopStageInfoDO> specialShopStageInfo = shopStageInfoDAO.getSpecialShopStageInfo(null, shopSubStageEnum.getShopSubStage(),
|
||||
subStageStatusList, user.getUserId(),user.getJobNumber(),type);
|
||||
subStageStatusList, user.getUserId());
|
||||
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