瀏覽代碼

修改广州钻接口BUG

zhou.xiaoning 3 年之前
父節點
當前提交
1fe21743a5
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      models/guangzuan.go

+ 1 - 1
models/guangzuan.go

@@ -2575,7 +2575,7 @@ func (r *GzcjjcorderM) buildSql() string {
 	WHERE t.USERID = %v
 	`
 	sqlId.FormatParam(r.USERID)
-	sqlId.JoinFormat("and t.EXECUTESTATUS = %v", r.EXECUTESTATUS, r.EXECUTESTATUS > 0)
+	sqlId.AndEx("t.EXECUTESTATUS", r.EXECUTESTATUS, r.EXECUTESTATUS > 0)
 	sqlId.OrderByDesc("t.CREATETIME")
 
 	sqlId.Page(r.Page, r.PageSize)