| | |
| | | Order order = orderMapper.selectById(id); |
| | | boolean check = check(order, shopId, loginUserApplet.getUserid()); |
| | | if (!check){ |
| | | throw new ServiceException("订单不存在"); |
| | | throw new ServiceException("该订单与当前扫码门店不一致"); |
| | | } |
| | | |
| | | // 售后设置 |
| | |
| | | AND tt.del_flag = 0 |
| | | AND tt.shop_id = #{shopId} |
| | | <if test="name != null and name != ''"> |
| | | AND tt.`name` LIKE concat('%', #{name}, '%') |
| | | AND tt.name LIKE concat('%', #{name}, '%') |
| | | </if> |
| | | GROUP BY |
| | | tt.id, |
| | |
| | | tt.introduction, |
| | | tt.home_picture |
| | | <if test="point != null and point == 1"> |
| | | order by ttsc.score DESC |
| | | order by score DESC |
| | | </if> |
| | | <if test="point != null and point == 2"> |
| | | order by ttsc.score |
| | | order by score |
| | | </if> |
| | | </select> |
| | | <select id="selectTechnicianDetail" resultType="com.ruoyi.other.vo.TechnicianDetailVO"> |