Commit 44d3cad9 by zhengxj

finish 售后详情 on 20190306 by zhengxj

git-svn-id: svn://192.168.3.233/frms/code/car-service/trunk/car-service@18150 aeb6102e-e053-11e5-9fec-f9ebc45caf4b
1 parent d62ed527
...@@ -66,7 +66,7 @@ public interface SysOrderMapper { ...@@ -66,7 +66,7 @@ public interface SysOrderMapper {
* @return * @return
* *
*/ */
SysOrder getAfterSaleDetail( Integer orderId,String orderSn, Byte activeStatus); SysOrder getAfterSaleDetail( @Param("orderId")Integer orderId,@Param("orderSn")String orderSn, @Param("activeStatus")Byte activeStatus);
} }
\ No newline at end of file \ No newline at end of file
...@@ -1669,6 +1669,8 @@ public class OrderServiceImpl implements IOrderService { ...@@ -1669,6 +1669,8 @@ public class OrderServiceImpl implements IOrderService {
example.createCriteria().andUserIdEqualTo(order.getShopId()); example.createCriteria().andUserIdEqualTo(order.getShopId());
merchantInfo.setName(sysMerchantDao.selectByExample(example).get(0).getShopName()); merchantInfo.setName(sysMerchantDao.selectByExample(example).get(0).getShopName());
order.setMerchantInfo(merchantInfo); order.setMerchantInfo(merchantInfo);
order.setArea(areaService.getAllChargeItems(order.getDistrict()));
} }
return order; return order;
} }
......
...@@ -692,13 +692,11 @@ ...@@ -692,13 +692,11 @@
<if test="orderId != null"> <if test="orderId != null">
so.canceled = 1 so.canceled = 1
and sor.order_id = #{orderId} and sor.order_id = #{orderId}
and so.active_status != 8 and so.active_status !=8
and so.order_type != 1
</if> </if>
<if test="orderSn != null"> <if test="orderSn != null">
and so.order_sn = #{orderSn} and so.order_sn = #{orderSn}
</if> </if>
<if test="activeStatus != null">
and so.active_status = #{activeStatus}
</if>
</select> </select>
</mapper> </mapper>
\ No newline at end of file \ No newline at end of file
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!