예제 #1
0
 public ReturnState SetGoodsInfoStatusById(int id, string status)
 {
     return(MarketOperator.SetGoodsInfoStatusById(id, MarketOperator.IndexOfSaleStatus(status)) ? ReturnState.ReturnOK : ReturnState.ReturnError);
 }
예제 #2
0
 public ReturnState SetGoodsInfoSaleStatusAndBuyerById(int id, string status, string buyer)
 {
     return(MarketOperator.SetGoodsInfoSaleStatusAndBuyerById(id, MarketOperator.IndexOfSaleStatus(status), buyer) ? ReturnState.ReturnOK : ReturnState.ReturnError);
 }
예제 #3
0
 public List <GoodsInfo> GetGoodsInfoByStatus(string status)
 {
     return(MarketOperator.GetGoodsInfoListBySaleStatus(MarketOperator.IndexOfSaleStatus(status)));
 }