liyong
3 天以前 f5624a59380db70633eebe3612e2d3c703012b41
src/main/resources/mapper/quality/QualityInspectMapper.xml
@@ -46,4 +46,13 @@
            AND product_name = #{qualityInspect.productName}
        </if>
    </select>
    <delete id="deleteByProductMainIds">
        DELETE FROM quality_inspect
        WHERE product_main_id IN
        <foreach collection="productMainIds" item="id" open="(" separator="," close=")">
            #{id}
        </foreach>
    </delete>
</mapper>