diff --git a/coolstore-partner-dao/src/main/resources/mapper/DecorationMeasureMapper.xml b/coolstore-partner-dao/src/main/resources/mapper/DecorationMeasureMapper.xml index ee5dcadfc..90af43476 100644 --- a/coolstore-partner-dao/src/main/resources/mapper/DecorationMeasureMapper.xml +++ b/coolstore-partner-dao/src/main/resources/mapper/DecorationMeasureMapper.xml @@ -95,7 +95,7 @@ left join xfsg_shop_info c on a.shop_id = c.id left join xfsg_decoration_design_info d on a.shop_id = d.shop_id where - and ((b.shop_sub_stage_status = 900 and a.design_user_id = #{userId}) or ((b.shop_sub_stage_status = 901 and d.design_user_id = #{userId})) + and ((b.shop_sub_stage_status = 900 and a.design_user_id = #{userId}) or (b.shop_sub_stage_status = 901 and d.design_user_id = #{userId})) and c.deleted = 0 order by b.update_time desc