fix
This commit is contained in:
@@ -54,12 +54,12 @@ public class DecorationDesignInfoDAO {
|
||||
return decorationDesignInfoMapper.selectByShopId(shopId);
|
||||
}
|
||||
|
||||
// 根据报价员人员id和店铺阶段 SHOP_SUB_STAGE_STATUS_901 查询店铺信息
|
||||
public List<PreparationCommonPendingVO> getByQuotationUserIdAndShopStage(String userId){
|
||||
// 根据设计师人员id和店铺阶段 SHOP_SUB_STAGE_STATUS_901 查询店铺信息
|
||||
public List<PreparationCommonPendingVO> getByDesignUserIdAndShopStage(String userId){
|
||||
if(userId == null){
|
||||
return new ArrayList<>();
|
||||
}
|
||||
return decorationDesignInfoMapper.getByQuotationUserIdAndShopStage(userId);
|
||||
return decorationDesignInfoMapper.getByDesignUserIdAndShopStage(userId);
|
||||
}
|
||||
|
||||
|
||||
|
||||
@@ -17,6 +17,6 @@ public interface DecorationDesignInfoMapper extends Mapper<DecorationDesignInfoD
|
||||
*/
|
||||
DecorationDesignInfoDO selectByShopId(Long shopId);
|
||||
|
||||
List<PreparationCommonPendingVO> getByQuotationUserIdAndShopStage(@Param("userId") String userId);
|
||||
List<PreparationCommonPendingVO> getByDesignUserIdAndShopStage(@Param("userId") String userId);
|
||||
|
||||
}
|
||||
@@ -33,7 +33,7 @@
|
||||
*
|
||||
from xfsg_decoration_design_info where shop_id = #{shopId} and deleted = 0
|
||||
</select>
|
||||
<select id="getByQuotationUserIdAndShopStage" resultType="com.cool.store.vo.desk.PreparationCommonPendingVO">
|
||||
<select id="getByDesignUserIdAndShopStage" resultType="com.cool.store.vo.desk.PreparationCommonPendingVO">
|
||||
select
|
||||
c.shop_name as storeName,
|
||||
c.shop_code as ShopCode,
|
||||
@@ -51,7 +51,7 @@
|
||||
from xfsg_decoration_design_info a
|
||||
left join xfsg_shop_stage_info b on a.shop_id = b.shop_id
|
||||
left join xfsg_shop_info c on a.shop_id = c.id
|
||||
where a.quotation_user_id = #{userId}
|
||||
where a.design_user_id = #{userId}
|
||||
and b.shop_sub_stage_status = 901
|
||||
and c.deleted = 0
|
||||
order by b.update_time desc
|
||||
|
||||
Reference in New Issue
Block a user