删除超市原料时加保护

This commit is contained in:
sxu 2025-06-03 10:28:27 +08:00
parent cba0e5bc7b
commit 72dc664e10
1 changed files with 1 additions and 1 deletions

View File

@ -48,7 +48,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
where product_id = #{productId} where product_id = #{productId}
</select> </select>
<select id="selectSupermarketProductByMaterialIds" parameterType="String" resultType="SupermarketProductResult"> <select id="selectSupermarketProductByMaterialIds" parameterType="String" resultMap="SupermarketProductResult">
<include refid="selectSupermarketProductVo"/> <include refid="selectSupermarketProductVo"/>
where material_id in where material_id in
<foreach item="materialId" collection="array" open="(" separator="," close=")"> <foreach item="materialId" collection="array" open="(" separator="," close=")">