XiaoRuby
2023-08-29 844ffa2181d698f3871a62553fe10dd4054b63fa
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
<?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.yuanchu.mom.mapper.ElementTechnologyMapper">
    <!--删除中间表(根据工序id)-->
    <update id="delElemaByTechsId">
        update mom_ocean.element_technology
        set state=0
        where tech_tem_id = #{id}
    </update>
 
    <!--批量删除中间表(根据工序id)-->
    <update id="delAllByTechId">
        update mom_ocean.element_technology
        set state=0
        where tech_tem_id in (${id})
    </update>
</mapper>