zhou.xiaoning 3 anni fa
parent
commit
10321fc814
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      models/guangzuan.go

+ 1 - 1
models/guangzuan.go

@@ -1626,7 +1626,7 @@ func (r *MyBargainApply) buildSql() string {
 	}
 	sqlId.AndEx("t.APPLYSTATUS", r.APPLYSTATUS, r.APPLYSTATUS > 0)
 	if r.WRTRADEORDERID != "" {
-		sqlId.FormatParam(" and t.WRTRADEORDERID = %v", r.WRTRADEORDERID)
+		sqlId.JoinFormat(" and t.WRTRADEORDERID = %v", r.WRTRADEORDERID)
 	}
 	sqlId.OrderByDesc("t.WRBARGAINID")