메소드 | 설명 | |
---|---|---|
GetInstance ( ) : |
||
GetMinPrices ( ) : void | ||
GetSysParams ( ) : List |
||
GetWareArea ( int pid, int level ) : List |
获取商品配送区域
|
|
GetWareArea ( string aid ) : string |
根据编号获取商品区域
|
|
GetWareJDTypes ( string wherestr ) : List |
获取京东商品分类数据
|
|
UpdateHistoryPriceBasebyID ( string pid ) : void |
更新商品底价
|
|
UpdateSysParam ( string pKey, string pValue ) : void |
更新系统参数值
|
|
UpdateSysParams ( List |
更新系统参数集合
|
|
WareClear ( ) : void |
清空商品库
|
|
WareDelOne ( string pid ) : void |
逻辑删除/启用商品
|
|
WareGetAll ( ) : List |
获取所有商品信息
|
|
WareGetAll ( string typeid ) : List |
获取某个类别商品数据
|
|
WareGetAll ( string typeid, string wName, string wStock, string wPriceTrend, string wAttach ) : List |
获取某个类别商品数据
|
|
WareGetOne ( string pid ) : |
获取某个商品信息
|
|
WareImageUpdate ( string pid, string imgPath, string imgWebPath ) : void |
更新商品海报数据
|
|
WareInsert ( |
新增商品信息
|
|
WareIsExists ( string pid ) : bool |
判断商品是否已存在
|
|
WareJDTypeAdd ( List |
添加京东商品类别
|
|
WareJDTypeClear ( ) : void |
清空京东商品类别数据
|
|
WareLastPriceGet ( string pid ) : double |
获取某个商品当前日期前的最后价格
|
|
WareMessageAdd ( |
添加评价信息
|
|
WareMessageGet ( string pid ) : List |
获取评价信息
|
|
WareMessageUpdate ( string pid, int count, double good, double general, double poor, string tag ) : void |
更新评价统计信息
|
|
WareMessagesAdd ( List |
添加商品评价信息
|
|
WarePriceDel ( System.Int64 id ) : void |
删除商品价格
|
|
WarePriceHistoryGet ( string pid ) : List |
获取商品历史价格
|
|
WarePriceHistoryGetMore ( string pid ) : List |
获取商品历史价格 只取部分,重复的价格将抛弃部分点
|
|
WarePriceHistoryGetOne ( string pid, System.DateTime dt1, System.DateTime dt2, double price ) : |
判断某个商品当天是否有相同价格存在
|
|
WarePriceHistoryGetOne ( string pid, System.DateTime dt, double price ) : bool |
判断某个商品当天是否有相同价格存在
|
|
WarePriceInsert ( |
插入商品价格
|
|
WarePriceInsert ( string pid, double price ) : void |
插入商品价格
|
|
WarePriceInsert ( string pid, double price, System.DateTime dt, string origin ) : void |
插入商品价格
|
|
WarePriceTrend ( string pid, double price ) : string |
获取商品价格趋势
|
|
WarePriceUpdate ( string pid, double price ) : void |
更新商品价格
|
|
WarePriceUpdate ( string pid, double price, WarePriceType priceSrc ) : void | ||
WarePromotionUpdate ( string pid, string tag, string promo, string copon ) : void | ||
WareReloadOne ( string pid ) : void |
逻辑删除/启用商品
|
|
WareRemoveOne ( string pid ) : void |
删除单个商品
|
|
WareRepositoryUpdate ( string pid, double baseprice, double price1, double price2, double price3, double price4, string priceSrc ) : void |
更新商品所有价格
|
|
WareRepositoryUpdate ( string pid, double price1, double price2, double price3, double price4, string priceSrc, int stock ) : void |
更新商品价格及库存
|
|
WareRepositoryUpdate ( string pid, string dispatch ) : void | ||
WareShopUpdate ( string pid, string vid, string sid, string cat ) : void |
更新商品归属
|
|
WareTypeDelete ( string tid ) : void |
删除商品类型
|
|
WareTypeGet ( ) : List |
||
WareTypeInsert ( |
增加商品类型
|
|
WareTypeUpdate ( |
更新产品类型
|
|
WareTypeUpdate ( string pid, string typeid ) : void |
更新产品属性类型
|
|
WareUpdate ( |
更新商品信息
|
메소드 | 설명 | |
---|---|---|
DBHelper ( ) : Hank.ComLib | ||
GetDb ( ) : OtDB |
建立数据库连接
|
|
InsertSysParam ( string pKey, string PValue ) : void |
添加系统参数
|
|
WareMessageClear ( string pid ) : void |
清除商品评价信息
|
public GetWareArea ( int pid, int level ) : List |
||
pid | int | 上级编号 |
level | int | 等级 |
리턴 | List |
public UpdateHistoryPriceBasebyID ( string pid ) : void | ||
pid | string | 商品编号 |
리턴 | void |
public UpdateSysParam ( string pKey, string pValue ) : void | ||
pKey | string | |
pValue | string | |
리턴 | void |
public WareGetAll ( string typeid, string wName, string wStock, string wPriceTrend, string wAttach ) : List |
||
typeid | string | |
wName | string | |
wStock | string | |
wPriceTrend | string | |
wAttach | string | |
리턴 | List |
public WareGetOne ( string pid ) : |
||
pid | string | 商品编号 |
리턴 |
public WareImageUpdate ( string pid, string imgPath, string imgWebPath ) : void | ||
pid | string | |
imgPath | string | |
imgWebPath | string | |
리턴 | void |
public WareInsert ( |
||
_myProduct | ||
리턴 | void |
public WareMessageAdd ( |
||
msg | ||
리턴 | void |
public WareMessageUpdate ( string pid, int count, double good, double general, double poor, string tag ) : void | ||
pid | string | 商品编号 |
count | int | 评价总数 |
good | double | 好评 |
general | double | 中评 |
poor | double | 差评 |
tag | string | 印象 |
리턴 | void |
public WarePriceHistoryGet ( string pid ) : List |
||
pid | string | 商品编号 |
리턴 | List |
public WarePriceHistoryGetMore ( string pid ) : List |
||
pid | string | |
리턴 | List |
public WarePriceHistoryGetOne ( string pid, System.DateTime dt1, System.DateTime dt2, double price ) : |
||
pid | string | 商品编号 |
dt1 | System.DateTime | 开始日期 |
dt2 | System.DateTime | 结束日期 |
price | double | 价格 |
리턴 |
public WarePriceHistoryGetOne ( string pid, System.DateTime dt, double price ) : bool | ||
pid | string | 商品编号 |
dt | System.DateTime | 日期 |
price | double | 价格 |
리턴 | bool |
public WarePriceInsert ( |
||
price | 历史价格对象 | |
리턴 | void |
public WarePriceInsert ( string pid, double price ) : void | ||
pid | string | 商品编号 |
price | double | 商品价格 |
리턴 | void |
public WarePriceInsert ( string pid, double price, System.DateTime dt, string origin ) : void | ||
pid | string | 商品编号 |
price | double | 商品价格 |
dt | System.DateTime | 入库时间 |
origin | string | 数据来源 如京东、手机、超市 |
리턴 | void |
public WarePriceTrend ( string pid, double price ) : string | ||
pid | string | 商品编号 |
price | double | 商品对比价格 |
리턴 | string |
public WarePriceUpdate ( string pid, double price ) : void | ||
pid | string | 商品编号 |
price | double | 网页价格 |
리턴 | void |
public WarePriceUpdate ( string pid, double price, WarePriceType priceSrc ) : void | ||
pid | string | |
price | double | |
priceSrc | WarePriceType | |
리턴 | void |
public WarePromotionUpdate ( string pid, string tag, string promo, string copon ) : void | ||
pid | string | |
tag | string | |
promo | string | |
copon | string | |
리턴 | void |
public WareRepositoryUpdate ( string pid, double baseprice, double price1, double price2, double price3, double price4, string priceSrc ) : void | ||
pid | string | |
baseprice | double | |
price1 | double | |
price2 | double | |
price3 | double | |
price4 | double | |
priceSrc | string | |
리턴 | void |
public WareRepositoryUpdate ( string pid, double price1, double price2, double price3, double price4, string priceSrc, int stock ) : void | ||
pid | string | 商品编号 |
price1 | double | 网页价格 |
price2 | double | 手机价格 |
price3 | double | QQ价格 |
price4 | double | 微信价格 |
priceSrc | string | 价格来源 |
stock | int | 库存 |
리턴 | void |
public WareRepositoryUpdate ( string pid, string dispatch ) : void | ||
pid | string | |
dispatch | string | |
리턴 | void |
public WareShopUpdate ( string pid, string vid, string sid, string cat ) : void | ||
pid | string | 编号 |
vid | string | 商店编号 |
sid | string | 厂商编号 |
cat | string | 配送区域 |
리턴 | void |
public WareTypeInsert ( |
||
wType | ||
리턴 | void |
public WareTypeUpdate ( |
||
wType | ||
리턴 | void |
public WareTypeUpdate ( string pid, string typeid ) : void | ||
pid | string | |
typeid | string | |
리턴 | void |
public WareUpdate ( |
||
_myProduct | ||
리턴 | void |