新注册的用户请输入邮箱并保存,随后登录邮箱激活账号。后续可直接使用邮箱登录!

Commit f2f01dbd authored by kunkkawu's avatar kunkkawu

1

parent 1b9394d2
......@@ -82,9 +82,9 @@ func (l *AssetListLogic) AssetList(in *registrationpb.AssetListReq) (*registrati
var assetList []*model.AssetFull
sub1 := fmt.Sprintf("SELECT asset_id from asset_chain_info where chain_info_id = %d "+
"and on_chain_status != 0 and deleted_at is NULL", in.ChainInfoId)
"and on_chain_status != %d and deleted_at is NULL", in.ChainInfoId, model.OnChainStatusNo)
sub2 := fmt.Sprintf("SELECT asset_id from asset_chain_info where chain_info_id = %d "+
"and on_chain_status != 0 and deleted_at is NULL", in.ChainInfoId)
"and on_chain_status != %d and deleted_at is NULL", in.ChainInfoId, model.OnChainStatusNo)
// 查询其他链的资产,并输出唯一的资产id
sql1 := fmt.Sprintf("SELECT asset_id from asset_chain_info where "+
" deleted_at is NULL and asset_id not in(%s) group by asset_chain_info.asset_id", sub1)
......
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