Ver a proveniência

后台调整

master
huangjiajun há 7 meses
ascendente
cometimento
abb171b785
1 ficheiros alterados com 5 adições e 1 eliminações
  1. +5
    -1
      app/admin/svc/goods/svc_goods_list_by_pay.go

+ 5
- 1
app/admin/svc/goods/svc_goods_list_by_pay.go Ver ficheiro

@@ -16,7 +16,11 @@ func GetSkuScheme(engine *xorm.Engine, EnterpriseId string, gids []string) map[i
var enterpriseScheme model.SchemeWithEnterprise
engine.Where("enterprise_id=?", EnterpriseId).Get(&enterpriseScheme)
if enterpriseScheme.SchemeId > 0 {

var scheme model.Scheme
engine.Where("id=?", enterpriseScheme.SchemeId).Get(&scheme)
if scheme.State != 1 {
return skuSchemeMap
}
var skuScheme []model.SchemeWithSku
engine.In("goods_id", gids).And("scheme_id=?", enterpriseScheme.SchemeId).Find(&skuScheme)
for _, v := range skuScheme {


Carregando…
Cancelar
Guardar