yangys
2024-04-04 2cf2921440e7473ae50796c2cb688f609b3a7995
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="com.qianwen.smartman.modules.fms.mapper.FmsRealTimeTrayMapper">
 
    <update id="updateReduction">
        update blade_fms_real_time_tray
        set fixture_id = null,
        current_position = #{areaCode},
        current_station = null,
        target_position=null,
        target_station =null,
        tray_state=2,
        sche_state=2,
        arrive_time=null,
        status=null,
        order_id=null,
        order_code=null,
        order_process_id=null,
        process_code=null,
        program_no=null,
        program_offset=null,
        will_order_id=null,
        will_order_code=null,
        will_order_process_id=null,
        will_process_code=null,
        will_program_no=null,
        will_program_offset=null,
        part_type=null,
        part_type_time=null,
        components_number=null,
        last_load_complete_time=null,
        last_cnc_complete_time=null,
        is_first_empty_return=0
        where is_deleted = 0 and tray_code IN
        <foreach collection="trayCodes" item="trayCode" open="(" separator="," close=")">
            #{trayCode}
        </foreach>
    </update>
 
 
</mapper>