自动化立体仓库 - WMS系统
pang.jiabao
2024-09-02 0671b22545b660cae46568ba7f6a14f52cad8ad8
src/main/resources/mapper/LocDetlMapper.xml
@@ -374,6 +374,20 @@
        from asr_loc_detl
        where loc_no=#{locNo}
    </select>
    <select id="queryInLocTime" resultType="com.zy.asrs.entity.InLocTimeDto">
        select
            brand packageGroupNo,
            DATEDIFF(day, appe_time , getdate()) diffDay
        from
            asr_loc_detl
        where brand in
        <foreach collection="param" index="index" item="item" separator="," open="(" close=")">
            #{item}
        </foreach>
        group by
            brand,
            appe_time
    </select>
    <update id="updateMatTurn">
        UPDATE a