#
1
9 天以前 a3c831343b4a975cb3bf71e5c8300e4598bcfef4
src/main/resources/mapper/WrkDetlMapper.xml
@@ -6,8 +6,8 @@
    <resultMap id="BaseResultMap" type="com.zy.asrs.entity.WrkDetl">
        <result column="wrk_no" property="wrkNo" />
        <result column="io_time" property="ioTime" />
        <result column="mat_no" property="matNo" />
        <result column="mat_name" property="matName" />
        <result column="matnr" property="matnr" />
        <result column="maktx" property="maktx" />
        <result column="specs" property="specs" />
        <result column="size" property="size" />
        <result column="color" property="color" />
@@ -15,7 +15,7 @@
        <result column="bill_no" property="billNo" />
        <result column="seq_no" property="seqNo" />
        <result column="brand" property="brand" />
        <result column="qty" property="qty" />
        <result column="anfme" property="anfme" />
        <result column="unit" property="unit" />
        <result column="zpallet" property="zpallet" />
        <result column="bname" property="bname" />
@@ -24,10 +24,26 @@
        <result column="modi_time" property="modiTime" />
        <result column="appe_user" property="appeUser" />
        <result column="appe_time" property="appeTime" />
        <result column="box_type3" property="boxType3"/>
        <result column="standby1" property="standby1"/>
        <result column="standby2" property="standby2"/>
        <result column="standby3" property="standby3"/>
        <result column="order_no" property="orderNo"/>
    </resultMap>
    <select id="findByWorkNo" resultMap="BaseResultMap">
        select wrk_no, matnr, maktx, anfme from asr_wrk_detl where 1=1 and wrk_no = #{workNo}
        select * from asr_wrk_detl where 1=1 and wrk_no = #{workNo}
    </select>
    <select id="findByBarcode" resultMap="BaseResultMap">
        select * from asr_wrk_detl where 1=1 and zpallet = #{barcode} and wrk_no != 9996
    </select>
    <update id="updateIoTime">
        update asr_wrk_detl
        set io_time = #{ioTime}
        where 1=1
        and wrk_no = #{workNo}
    </update>
</mapper>