| | |
| | | order_sort, |
| | | stock_id, |
| | | polys_id, |
| | | o_width, |
| | | o_height, |
| | | p_width, |
| | | p_height, |
| | | width, |
| | | height, |
| | | x_axis, |
| | | y_axis, |
| | | patch_state, |
| | |
| | | |
| | | <update id="updateOptimizeDetail"> |
| | | update pp.optimize_detail |
| | | set heat_layout_id=#{layoutId},heat_layout_sort=#{sort},glass_id=concat(process_id,'|',#{layoutId},'|',#{sort}) |
| | | set heat_layout_id=#{layoutId},heat_layout_sort=#{sort} |
| | | where id=#{id}; |
| | | </update> |
| | | |
| | |
| | | <select id="getOptimizeDetailsInfo" resultType="java.util.Map"> |
| | | SELECT |
| | | 0 AS isRemain, |
| | | od.width AS realWidth, |
| | | od.height AS realHeight, |
| | | od.o_width AS realWidth, |
| | | od.o_height AS realHeight, |
| | | od.p_width AS width, |
| | | od.p_height AS height, |
| | | od.process_id AS processId, |
| | |
| | | pp.optimize_config |
| | | WHERE creater = #{username} AND config_type = #{type} |
| | | </select> |
| | | <select id="getGlassProjectList" resultType="java.util.Map" parameterType="java.lang.String"> |
| | | SELECT |
| | | project_no AS projectId, |
| | | tempering_state |
| | | FROM |
| | | pp.optimize_project |
| | | WHERE |
| | | project_no = #{projectId} |
| | | </select> |
| | | |
| | | |
| | | </mapper> |