商品上下架和删除bug修改

This commit is contained in:
liang.chao 2024-11-27 17:47:20 +08:00
parent 5637f67208
commit 5e5967baad
2 changed files with 2 additions and 2 deletions

View File

@ -103,7 +103,7 @@ public interface DevInfoMapper {
* @param maIds 需要删除的数据主键集合
* @return 结果
*/
int deleteDevInfoByMaIds(Long[] maIds);
int deleteDevInfoByMaIds(@Param("maIds") Long[] maIds);
/**
* 添加经纬度信息

View File

@ -389,7 +389,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<update id="deleteDevInfoByMaIds" parameterType="String">
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}
</foreach>
</update>