pda界面和功能优化,完善mes下发版辊字段

This commit is contained in:
Lenovo
2026-09-18 15:31:27 +08:00
parent ac7becee2e
commit 555a49f3a4
51 changed files with 1873 additions and 161 deletions

View File

@@ -19,13 +19,15 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<result property="colorSequence" column="color_sequence" />
<result property="color" column="color" />
<result property="spec" column="spec" />
<result property="length" column="length" />
<result property="perimeter" column="perimeter" />
</resultMap>
<sql id="selectOutStockoutDetailVo">
select stockout_detail_id, stockout_id, lot_no, product_id, product_name, quantity, allot_num, assign_num, roller_number, color_sequence, color, spec, status, remark from out_stockout_detail
select stockout_detail_id, stockout_id, lot_no, product_id, product_name, quantity, allot_num, assign_num, roller_number, color_sequence, color, spec, length, perimeter, status, remark from out_stockout_detail
</sql>
<sql id="selectOutStockoutDetailFinishVo">
select stockout_detail_id, stockout_id, lot_no, product_id, product_name, quantity, allot_num, assign_num, roller_number, color_sequence, color, spec, status, remark from out_stockout_detail_finish
select stockout_detail_id, stockout_id, lot_no, product_id, product_name, quantity, allot_num, assign_num, roller_number, color_sequence, color, spec, length, perimeter, status, remark from out_stockout_detail_finish
</sql>
<select id="selectOutStockoutDetailList" parameterType="OutStockoutDetail" resultMap="OutStockoutDetailResult">
@@ -42,6 +44,8 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<if test="colorSequence != null "> and color_sequence = #{colorSequence}</if>
<if test="color != null "> and color = #{color}</if>
<if test="spec != null and spec != '' "> and spec like concat('%', #{spec}, '%')</if>
<if test="length != null"> and length = #{length}</if>
<if test="perimeter != null"> and perimeter = #{perimeter}</if>
<if test="status != null"> and status = #{status}</if>
</where>
</select>
@@ -81,6 +85,8 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<if test="color != null "> and color = #{color}</if>
<if test="spec != null and spec != '' "> and spec like concat('%', #{spec}, '%')</if>
<if test="status != null"> and status = #{status}</if>
<if test="length != null"> and length = #{length}</if>
<if test="perimeter != null"> and perimeter = #{perimeter}</if>
</where>
</select>
@@ -101,6 +107,8 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<if test="spec != null ">spec,</if>
<if test="remark != null">remark,</if>
<if test="status != null">status,</if>
<if test="length != null">length,</if>
<if test="perimeter != null">perimeter,</if>
</trim>
<trim prefix="values (" suffix=")" suffixOverrides=",">
<if test="stockoutDetailId != null">#{stockoutDetailId},</if>
@@ -117,6 +125,8 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<if test="spec != null ">#{spec},</if>
<if test="remark != null">#{remark},</if>
<if test="status != null">#{status},</if>
<if test="length != null">#{length},</if>
<if test="perimeter != null">#{perimeter},</if>
</trim>
</insert>
@@ -136,6 +146,8 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<if test="spec != null ">spec = #{spec},</if>
<if test="remark != null">remark = #{remark},</if>
<if test="status != null">status = #{status},</if>
<if test="length != null">length = #{length},</if>
<if test="perimeter != null">perimeter = #{perimeter},</if>
</trim>
where stockout_detail_id = #{stockoutDetailId}
</update>