aaa
This commit is contained in:
@@ -2200,7 +2200,7 @@ func writeToExcel(excelTitle []string, dataList interface{}, ctx *jxcontext.Cont
|
||||
func RefreshJdDepot(ctx *jxcontext.Context) (err error) {
|
||||
var thingMaps []model.ThingMap
|
||||
sql := `
|
||||
SELECT * FROM thing_map WHERE thing_type = ? AND vendor_id = ? AND vendor_org_code = ? AND deleted_at = ?
|
||||
SELECT * FROM thing_map WHERE thing_type = ? AND vendor_id = ? AND vendor_org_code = ? AND deleted_at = ? ORDER BY thing_id DESC
|
||||
`
|
||||
sqlParams := []interface{}{model.ThingTypeSku, model.VendorIDJD, "320406", utils.DefaultTimeValue}
|
||||
err = dao.GetRows(dao.GetDB(), &thingMaps, sql, sqlParams)
|
||||
|
||||
Reference in New Issue
Block a user