Browse Source

change orm

Roc 3 weeks ago
parent
commit
ee0ccce3b2
1 changed files with 1 additions and 1 deletions
  1. 1 1
      models/english_company.go

+ 1 - 1
models/english_company.go

@@ -142,7 +142,7 @@ func GetEnglishCompanyPageList(condition string, pars []interface{}, order strin
 	sql := `SELECT
 	c.*,
 IF
-	( ct.status IS NULL, "无任务", ct.status ) AS todo_status_str,
+	( ct.status IS NULL, '无任务', ct.status ) AS todo_status_str,
 	ct.seller_id as todo_seller_id,
 IF
 	( ct.end_time IS NULL or ct.status !="进行中", "9999-01-01", ct.end_time) AS todo_end_time