| | |
| | | od.order_id, |
| | | od.order_number, |
| | | pd.glass_sort, |
| | | if(pd.glass_sort=1,'(外)',if(pd2.glass_sort=pd.glass_sort,'(内)','')), |
| | | if(pd.glass_sort=1 or pd2.glass_sort=pd.glass_sort, |
| | | if(JSON_UNQUOTE(JSON_EXTRACT(pd.separation, '$.position'))='', |
| | | if(pd.glass_sort=1,#{outside},#{inside}) |
| | | ,JSON_UNQUOTE(JSON_EXTRACT(pd.separation, '$.position'))), |
| | | ''), |
| | | pd.detail, |
| | | if( od.bend_radius!='', |
| | | round(od.width* |
| | |
| | | <result column="child_width" property="childWidth"/> |
| | | <result column="child_height" property="childHeight"/> |
| | | <result column="arc" property="arc"/> |
| | | <result column="arch_rise" property="archRise"/> |
| | | <result column="icon" property="icon"/> |
| | | <result column="process" property="process"/> |
| | | <result column="area" property="area"/> |
| | |
| | | a.child_width, |
| | | a.child_height,a.arc, |
| | | a.icon, |
| | | a.arch_rise, |
| | | a.area, |
| | | b.quantity, |
| | | a.process, |
| | |
| | | a.total_area = #{item.area}*b.quantity, |
| | | a.icon = #{item.icon}, |
| | | a.process = #{item.process}, |
| | | a.arc = #{item.arc} |
| | | a.arc = #{item.arc}, |
| | | a.arch_rise = #{item.archRise} |
| | | where |
| | | a.order_id = b.order_id |
| | | and a.order_id = #{item.orderId} |