This commit is contained in:
苏尹岚
2021-01-26 10:30:17 +08:00
parent 44e9eea0f1
commit a54b831eec

View File

@@ -1,6 +1,7 @@
package dao
import (
"git.rosy.net.cn/baseapi/utils"
"git.rosy.net.cn/jx-callback/business/model"
)
@@ -37,7 +38,7 @@ func GetVendorOrgCode(db *DaoDB, vendorID int, vendorOrgCode string) (vendorOrgs
FROM vendor_org_code
WHERE deleted_at = ?
`
sqlParams := []interface{}{}
sqlParams := []interface{}{utils.DefaultTimeValue}
if vendorID != -1 {
sql += " AND vendor_id = ?"
sqlParams = append(sqlParams, vendorID)