|
|
@@ -213,7 +213,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
213
|
213
|
</update>
|
|
214
|
214
|
|
|
215
|
215
|
<delete id="deleteBlockedLuggageStatisticsDailyById" parameterType="Long">
|
|
216
|
|
- update blocked_luggage_statistics_daily set del_flag = '2' where id = #{id}
|
|
|
216
|
+ update blocked_luggage_statistics_daily set del_flag = '2' where id = #{id} and del_flag = '0'
|
|
217
|
217
|
</delete>
|
|
218
|
218
|
|
|
219
|
219
|
<delete id="deleteBlockedLuggageStatisticsDailyByIds" parameterType="String">
|
|
|
@@ -221,5 +221,6 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
221
|
221
|
<foreach item="id" collection="array" open="(" separator="," close=")">
|
|
222
|
222
|
#{id}
|
|
223
|
223
|
</foreach>
|
|
|
224
|
+ and del_flag = '0'
|
|
224
|
225
|
</delete>
|
|
225
|
226
|
</mapper>
|