Commit c728e009 authored by tangtuo's avatar tangtuo

修改发行nft的逻辑

parent 5b6b510c
...@@ -194,7 +194,7 @@ public class NftServiceImpl extends ServiceImpl<NftMapper, Nft> implements NftSe ...@@ -194,7 +194,7 @@ public class NftServiceImpl extends ServiceImpl<NftMapper, Nft> implements NftSe
@Override @Override
public List<Nft> listCurrent(Integer categoryId, Integer userId) { public List<Nft> listCurrent(Integer categoryId, Integer userId) {
QueryWrapper<Nft> queryWrapper = new QueryWrapper<>(); QueryWrapper<Nft> queryWrapper = new QueryWrapper<>();
queryWrapper.eq("status", SystemConstant.BOOLEAN_DATA_TRUE).eq("user_id", userId); queryWrapper.eq("user_id", userId);
if (categoryId != null) { if (categoryId != null) {
queryWrapper.eq("category_id", categoryId); queryWrapper.eq("category_id", categoryId);
} }
......
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