bug 6362
This commit is contained in:
parent
04db38c4c8
commit
c92039ca6b
|
|
@ -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">
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue