This commit is contained in:
sxu 2025-06-16 18:22:15 +08:00
parent 04db38c4c8
commit c92039ca6b
1 changed files with 2 additions and 2 deletions

View File

@ -73,7 +73,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<select id="selectSupermarketInfoBySupermarketId" parameterType="Long" resultMap="SupermarketInfoResult"> <select id="selectSupermarketInfoBySupermarketId" parameterType="Long" resultMap="SupermarketInfoResult">
<include refid="selectSupermarketInfoVo"/> <include refid="selectSupermarketInfoVo"/>
where si.supermarket_id = #{supermarketId} where si.supermarket_id = #{supermarketId} and si.del_flag = '0'
</select> </select>
<select id="getSupermarketCountByAreaIds" resultType="Integer"> <select id="getSupermarketCountByAreaIds" resultType="Integer">
@ -87,7 +87,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<select id="selectSupermarketInfoBySupermarketName" parameterType="com.bonus.canteen.core.supermarket.domain.SupermarketInfo" resultMap="SupermarketInfoResult"> <select id="selectSupermarketInfoBySupermarketName" parameterType="com.bonus.canteen.core.supermarket.domain.SupermarketInfo" resultMap="SupermarketInfoResult">
<include refid="selectSupermarketInfoVo"/> <include refid="selectSupermarketInfoVo"/>
where si.supermarket_name = #{supermarketName} and si.area_id = #{areaId} where si.supermarket_name = #{supermarketName} and si.area_id = #{areaId} and si.del_flag = '0'
</select> </select>
<insert id="insertSupermarketInfo" parameterType="com.bonus.canteen.core.supermarket.domain.SupermarketInfo" useGeneratedKeys="true" keyProperty="supermarketId"> <insert id="insertSupermarketInfo" parameterType="com.bonus.canteen.core.supermarket.domain.SupermarketInfo" useGeneratedKeys="true" keyProperty="supermarketId">