商品审核查询修改
This commit is contained in:
@@ -4479,7 +4479,7 @@ func doStoreSkuAudit(ctx *jxcontext.Context, storeIDs []int, skuBindInfos []*Sto
|
||||
//如果改的价比原价低排除
|
||||
storeSkus, err := dao.GetStoreSkusByNameIDs(db, []int{storeID}, skuBindInfo.NameID)
|
||||
if len(storeSkus) > 0 {
|
||||
if skuBindInfo.UnitPrice <= int(storeSkus[0].UnitPrice) {
|
||||
if skuBindInfo.UnitPrice < int(storeSkus[0].UnitPrice) {
|
||||
if len(storeAudits) > 0 {
|
||||
dao.DeleteEntityLogically(db, storeAudits[0], nil, ctx.GetUserName(), nil)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user