zenglf
2023-08-18 499d6294b4b7881c5797a59a183c5fc0105599dd
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
<?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="org.jeecg.modules.eam.mapper.EquipmentScrapDetailMapper">
 
    <delete id="deleteByMainId" parameterType="java.lang.String">
        DELETE 
        FROM  mom_eam_equipment_scrap_detail 
        WHERE
             equipment_change_id = #{mainId}     </delete>
    
    <select id="selectByMainId" parameterType="java.lang.String" resultType="org.jeecg.modules.eam.entity.EquipmentScrapDetail">
        SELECT * 
        FROM  mom_eam_equipment_scrap_detail
        WHERE
             equipment_change_id = #{mainId}     </select>
</mapper>