| | |
| | | |
| | | <select id="getSelectFinishedGlassShelfInformationInventoryArea"> |
| | | SELECT |
| | | MAX(CAST(REGEXP_REPLACE(glass_shelf_number, '[^0-9]', '')AS UNSIGNED)) AS maxDindex |
| | | ifnull(MAX(CAST(REGEXP_REPLACE(glass_shelf_number, '[^0-9]', '')AS UNSIGNED)),0) AS maxDindex |
| | | FROM |
| | | finished_glass_shelf_information |
| | | WHERE |
| | |
| | | |
| | | <insert id="insertFinishedGlassShelfEmitDetailsLog" useGeneratedKeys="true" > |
| | | insert into mm.finished_glass_shelf_log(document_id,document_number,type,quantity,price,money,unit, |
| | | remarks,create_time,max_weight,max_width,max_height,glass_shelf_name) |
| | | remarks,create_time,max_weight,max_width,max_height,glass_shelf_name,operator) |
| | | values ( |
| | | #{emitId},#{emitNumber},#{type},#{quantity},#{price},#{money},#{unit}, |
| | | #{remarks},now(),#{maxWeight},#{maxWidth},#{maxHeight},#{glassShelfName} |
| | | #{remarks},now(),#{maxWeight},#{maxWidth},#{maxHeight},#{glassShelfName},#{operator} |
| | | ) |
| | | </insert> |
| | | |