Commit 9a04e972 authored by shiyu's avatar shiyu

删除盲盒转换的商品时,恢复原始类型

parent ebb11b6a
......@@ -34,4 +34,13 @@ public class ItemTagOperateRecordDaoImpl implements ItemTagOperateRecordDao {
PageHelper.startPage(dto.getPage(), dto.getLimit());
return itemTagOperateRecordMapper.selectByExampleWithBLOBs(example);
}
@Override
public boolean isExisted(long itemId) {
ItemTagOperateRecordExample example = new ItemTagOperateRecordExample();
ItemTagOperateRecordExample.Criteria criteria = example.createCriteria();
criteria.andItemIdEqualTo(itemId);
return itemTagOperateRecordMapper.countByExample(example) > 0;
}
}
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