Commit 5272379f by 朱继来

调整

parent 2a126a3f
Showing with 1 additions and 1 deletions
...@@ -72,7 +72,7 @@ func HandleData(MemberUserInfo model.MemberAddUserData) model.MemberAddUserData{ ...@@ -72,7 +72,7 @@ func HandleData(MemberUserInfo model.MemberAddUserData) model.MemberAddUserData{
var saleId = 0 var saleId = 0
//查找交易员 //查找交易员
err := dao.GetLiexinDb().QueryRowx("select sale_id from lie_order where user_id = ? order by create_time desc",MemberUserInfo.User_Id).Scan(&saleId) err := dao.GetLiexinDb().QueryRowx("select sale_id from lie_order where user_id = ? and is_type = 0 order by create_time desc",MemberUserInfo.User_Id).Scan(&saleId)
if err != nil { if err != nil {
service.WriteErr(err) service.WriteErr(err)
} }
......
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 sign in to comment