商品审核查询修改
This commit is contained in:
@@ -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) {
|
func StoreSkuPriceAudit(ctx *jxcontext.Context, storeIDs, nameIDs []int, status int, remark string, isAsync, isContinueWhenError bool) (hint string, err error) {
|
||||||
db := dao.GetDB()
|
db := dao.GetDB()
|
||||||
fmt.Println("test1", utils.Format4Output(ctx, false))
|
|
||||||
if status == model.StoreAuditStatusOnline {
|
if status == model.StoreAuditStatusOnline {
|
||||||
return "", fmt.Errorf("审核标志不正确!")
|
return "", fmt.Errorf("审核标志不正确!")
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -208,13 +208,6 @@ type StoreSkuAudit struct {
|
|||||||
|
|
||||||
func (*StoreSkuAudit) TableUnique() [][]string {
|
func (*StoreSkuAudit) TableUnique() [][]string {
|
||||||
return [][]string{
|
return [][]string{
|
||||||
[]string{"StoreID", "Type", "NameID", "DeletedAt"},
|
[]string{"StoreID", "Type", "NameID", "Status", "DeletedAt"},
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
func (*StoreSkuAudit) TableIndex() [][]string {
|
|
||||||
return [][]string{
|
|
||||||
[]string{"DeletedAt"},
|
|
||||||
[]string{"StoreID", "Status", "Type"},
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user