商品上下架和删除bug修改
This commit is contained in:
parent
5637f67208
commit
5e5967baad
|
|
@ -103,7 +103,7 @@ public interface DevInfoMapper {
|
||||||
* @param maIds 需要删除的数据主键集合
|
* @param maIds 需要删除的数据主键集合
|
||||||
* @return 结果
|
* @return 结果
|
||||||
*/
|
*/
|
||||||
int deleteDevInfoByMaIds(Long[] maIds);
|
int deleteDevInfoByMaIds(@Param("maIds") Long[] maIds);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 添加经纬度信息
|
* 添加经纬度信息
|
||||||
|
|
|
||||||
|
|
@ -389,7 +389,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||||
|
|
||||||
<update id="deleteDevInfoByMaIds" parameterType="String">
|
<update id="deleteDevInfoByMaIds" parameterType="String">
|
||||||
update ma_dev_info set is_active='0' where ma_id in
|
update ma_dev_info set is_active='0' where ma_id in
|
||||||
<foreach item="maId" collection="array" open="(" separator="," close=")">
|
<foreach item="maId" collection="maIds" open="(" separator="," close=")">
|
||||||
#{maId}
|
#{maId}
|
||||||
</foreach>
|
</foreach>
|
||||||
</update>
|
</update>
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue