浏览代码

修改BUG

zhou.xiaoning 3 年之前
父节点
当前提交
9c208182ec
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      models/guangzuan.go

+ 1 - 1
models/guangzuan.go

@@ -1773,7 +1773,7 @@ func (r *MyDelistingApply) buildSql() string {
 	}
 	sqlId.AndEx("t.APPLYSTATUS", r.APPLYSTATUS, r.APPLYSTATUS > 0)
 	if r.BUYWRTRADEORDERID != "" {
-		sqlId.FormatParam(" and t.BUYWRTRADEORDERID = %v", r.BUYWRTRADEORDERID)
+		sqlId.JoinFormat(" and t.BUYWRTRADEORDERID = %v", r.BUYWRTRADEORDERID)
 	}
 	sqlId.OrderByDesc("t.SELLDELISTINGAPPLYID")