申请时间

This commit is contained in:
苏尹岚
2020-06-10 11:44:13 +08:00
parent e919146588
commit c4d6ee6148

View File

@@ -1599,7 +1599,7 @@ func GetStoreSkuAudit(db *DaoDB, storeIDs, nameIDs, skuIDs, statuss, types []int
} }
if auditTimeStart != utils.ZeroTimeValue && auditTimeEnd != utils.ZeroTimeValue { if auditTimeStart != utils.ZeroTimeValue && auditTimeEnd != utils.ZeroTimeValue {
sql += " AND a.updated_at BETWEEN ? AND ?" sql += " AND a.updated_at BETWEEN ? AND ?"
sqlParams = append(sqlParams, applyTimeStart, applyTimeEnd) sqlParams = append(sqlParams, auditTimeStart, auditTimeEnd)
} }
if len(types) > 0 { if len(types) > 0 {
sql += " AND a.type IN (" + GenQuestionMarks(len(types)) + ")" sql += " AND a.type IN (" + GenQuestionMarks(len(types)) + ")"