@@ -51,9 +50,9 @@ public interface ReceiptMapper extends AbstractMapper<ReceiptDO> {
...
@@ -51,9 +50,9 @@ public interface ReceiptMapper extends AbstractMapper<ReceiptDO> {
* @param orderId 订单ID
* @param orderId 订单ID
* @return 得到自编号
* @return 得到自编号
*/
*/
@ResultType(OrderVo.class)
@ResultType(OrderVO.class)
@Select({"select r.customer_id,r.container_number,w.guojia as country from ecw_order r LEFT JOIN ecw_warehouse_line l ON r.line_id = l.id left join ecw_warehouse w on l.dest_warehouse_id = w.id where r.deleted = 0 and r.order_id = #{orderId}"})
@Select({"select r.customer_id,r.container_number,w.guojia as country from ecw_order r LEFT JOIN ecw_warehouse_line l ON r.line_id = l.id left join ecw_warehouse w on l.dest_warehouse_id = w.id where r.deleted = 0 and r.order_id = #{orderId}"})