商品审核查询修改

This commit is contained in:
苏尹岚
2020-05-29 09:26:54 +08:00
parent 930913c277
commit a4111492d7
2 changed files with 1 additions and 9 deletions

View File

@@ -4512,7 +4512,6 @@ func doStoreSkuAudit(ctx *jxcontext.Context, storeIDs []int, skuBindInfos []*Sto
func StoreSkuPriceAudit(ctx *jxcontext.Context, storeIDs, nameIDs []int, status int, remark string, isAsync, isContinueWhenError bool) (hint string, err error) {
db := dao.GetDB()
fmt.Println("test1", utils.Format4Output(ctx, false))
if status == model.StoreAuditStatusOnline {
return "", fmt.Errorf("审核标志不正确!")
}

View File

@@ -208,13 +208,6 @@ type StoreSkuAudit struct {
func (*StoreSkuAudit) TableUnique() [][]string {
return [][]string{
[]string{"StoreID", "Type", "NameID", "DeletedAt"},
}
}
func (*StoreSkuAudit) TableIndex() [][]string {
return [][]string{
[]string{"DeletedAt"},
[]string{"StoreID", "Status", "Type"},
[]string{"StoreID", "Type", "NameID", "Status", "DeletedAt"},
}
}