<?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.mosty.qwzx.mapper.TbQwBmjlbbJlmxMapper">

    <!--根据ID删除警力明细-->
    <update id="deleteJlmx">
        update tb_qw_bmjlbb_jlmx set xt_scbz = '1' where id in
        <foreach collection="list" item="item" separator="," open="(" close=")">
            #{item}
        </foreach>
    </update>

    <!--根据ID删除明细-->
    <update id="deleteByJlbbId">
        delete
        from tb_qw_bmjlbb_jlmx
        where jlbb_id = #{qwjzId}
    </update>

</mapper>
