zss
2023-08-30 af9457d7ce94c7684a9439d46b0025bd6e66d8af
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 (${ids})
    </update>
</mapper>