|
|
@@ -121,7 +121,7 @@ func GetStaticOrderDetails(bDateUnix, eDateUnix int64, state string, isSend bool
|
|
|
sql = strings.Join([]string{sql, s}, " ")
|
|
|
}
|
|
|
if len(state) > 0 {
|
|
|
- s := fmt.Sprintf("and o.status=%s", state)
|
|
|
+ s := fmt.Sprintf("and o.status='%s'", state)
|
|
|
sql = strings.Join([]string{sql, s}, " ")
|
|
|
}
|
|
|
s := "and ot.is_zeng=? group by ot.product_id order by product_id desc"
|