测试价格审核
This commit is contained in:
@@ -4489,7 +4489,7 @@ func doStoreSkuAudit(ctx *jxcontext.Context, storeIDs []int, skuBindInfos []*Sto
|
||||
} else {
|
||||
return false, fmt.Errorf("未查询到该门店商品价,storeID: %v, nameID: %V", storeID, skuBindInfo.NameID)
|
||||
}
|
||||
storeSkuAudit := model.StoreSkuAudit{
|
||||
storeSkuAudit := &model.StoreSkuAudit{
|
||||
StoreID: storeID,
|
||||
Type: model.StoreSkuAuditTypePrice,
|
||||
NameID: skuBindInfo.NameID,
|
||||
@@ -4497,7 +4497,7 @@ func doStoreSkuAudit(ctx *jxcontext.Context, storeIDs []int, skuBindInfos []*Sto
|
||||
UnitPrice: skuBindInfo.UnitPrice,
|
||||
OriginUnitPrice: int(storeSkus[0].UnitPrice),
|
||||
}
|
||||
dao.WrapAddIDCULEntity(&storeSkuAudit, ctx.GetUserName())
|
||||
dao.WrapAddIDCULEntity(storeSkuAudit, ctx.GetUserName())
|
||||
err = dao.CreateEntity(db, storeSkuAudit)
|
||||
return true, err
|
||||
}
|
||||
|
||||
@@ -1,7 +1,6 @@
|
||||
---
|
||||
- hosts: "{{ deploy_hosts }}"
|
||||
remote_user: ubuntu
|
||||
become: True
|
||||
tasks:
|
||||
- name: copy shell
|
||||
copy:
|
||||
|
||||
Reference in New Issue
Block a user