| | |
| | | if(pd.glass_sort=1,'(外)',if(pd2.glass_sort=pd.glass_sort,'(内)','')), |
| | | pd.detail, |
| | | if( od.bend_radius!='', |
| | | round(od.width*(od.bend_radius-round(sum(t.thicknessCount),2))/od.bend_radius,0), |
| | | round(od.width*(od.bend_radius-round(sum(t.thicknessCount),2))/od.bend_radius,1), |
| | | od.width |
| | | ), |
| | | od.height, |
| | |
| | | </foreach> |
| | | |
| | | </update> |
| | | |
| | | <select id="getDifferentSizeNumber"> |
| | | select if(count(id)>1,1,0) from (select |
| | | id |
| | | from order_glass_detail as a |
| | | where a.order_id = #{orderId} |
| | | and a.order_number = #{orderNumber} |
| | | group by child_width,child_height) as c |
| | | </select> |
| | | |
| | | </mapper> |