| | |
| | | from sd.order_detail as od |
| | | left join `order` as o |
| | | on o.order_id=od.order_id |
| | | where o.production_order!=2 and o.order_review=2 |
| | | where o.production_order!=2 and o.order_review=2 and o.create_order>0 |
| | | |
| | | <if test="orderGlassDetail.orderId != null and orderGlassDetail.orderId != ''"> |
| | | and o.order_id regexp #{orderGlassDetail.orderId} |
| | |
| | | from sd.order_detail as od |
| | | left join sd.order as o |
| | | on od.order_id =o.order_id |
| | | where od.order_id = #{orderId} and o.production_order!=2 |
| | | where FIND_IN_SET(od.order_id,#{orderId}) and o.production_order!=2 |
| | | <if test="orderDetail.orderId != null and orderDetail.orderId != ''"> |
| | | and od.order_id regexp #{orderDetail.orderId} |
| | | </if> |