This commit is contained in:
邹宗楠
2023-07-17 15:01:03 +08:00
parent de9a57540a
commit 8338413166
2 changed files with 1 additions and 1 deletions

View File

@@ -712,6 +712,7 @@ func GetActMtwmVendorPage(db *DaoDB, storeIDs, skuIDs []int, keyword string, beg
SELECT SQL_CALC_FOUND_ROWS b.name store_name ,a.*
FROM act_mtwm_vendor a
LEFT JOIN store b ON a.store_id = b.id
WHERE 1 = 1
`
sqlParams := []interface{}{}
if len(storeIDs) > 0 {

View File

@@ -661,7 +661,6 @@ func (c *PurchaseHandler) ListOrders(ctx *jxcontext.Context, vendorOrgCode strin
} else {
tmpOrderIDs, err = getAPI(vendorOrgCode, 0, vendorStoreID).GetOrderIdByDaySeq(vendorStoreID, queryDate, seqStart, seqEnd)
}
globals.SugarLogger.Debugf("============tmpOrderIDs := %s", utils.Format4Output(tmpOrderIDs, false))
if len(tmpOrderIDs) > 0 {
for _, v := range tmpOrderIDs {
orderIDs = append(orderIDs, utils.Int64ToStr(v))