| | |
| | | arch_rise, |
| | | weight, |
| | | perimeter, |
| | | monolithic_perimeter, |
| | | other_columns |
| | | ) |
| | | values |
| | |
| | | #{orderDetail.archRise}, |
| | | #{orderDetail.weight}, |
| | | #{orderDetail.perimeter}, |
| | | #{orderDetail.monolithicPerimeter}, |
| | | #{orderDetail.otherColumns} |
| | | ) |
| | | </foreach> |
| | |
| | | |
| | | (a.product_id) as 'productId', |
| | | a.product_name as 'productName', |
| | | p.remarks as 'remarks', |
| | | a.order_number as 'orderNumber' |
| | | from order_detail as a |
| | | from order_detail as a left join sd.product p on a.product_id=p.id |
| | | where a.order_id = #{orderId} |
| | | group by a.product_id |
| | | </select> |
| | |
| | | |
| | | (a.product_id) as 'productId', |
| | | a.product_name as 'productName', |
| | | p.remarks as 'remarks', |
| | | a.order_number as 'orderNumber' |
| | | from order_detail as a |
| | | from sd.order_detail as a left join sd.product p on a.product_id=p.id |
| | | where a.order_id = #{orderId} and a.product_id IN |
| | | <foreach item="item" index="index" collection="productId" open="(" separator="," close=")"> |
| | | #{item} |