Commit 2b166579 authored by shiyu's avatar shiyu

编辑商品删除图片

parent c465b307
......@@ -118,8 +118,8 @@ public class ItemService {
public int updateById(Item item) {
item.setUpdateTime(new Date());
// return itemMapper.updateByPrimaryKeySelective(item);
return itemMapper.updateByPrimaryKey(item);
item.setIsDeleted(false);
return itemMapper.updateByPrimaryKeyWithBLOBs(item);
}
public void deleteById(Long id) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment