public static int CreateProductStepPrice(ProductStepPriceInfo entity) { if (entity.SysNo != null) { ProductStepPriceDA.UpdateProductStepPrice(entity); } else { ProductStepPriceDA.CreateProductStepPrice(entity); } return(1); }
public static List <ProductStepPriceInfo> GetProductStepPricebyProductSysNo(int productSysNo) { return(ProductStepPriceDA.GetProductStepPricebyProductSysNo(productSysNo)); }
public static int DeleteProductStepPrice(List <int> sysNos) { ProductStepPriceDA.DeleteProductStepPrice(sysNos); return(1); }
public static DataTable GetProductStepPrice(int?vendorSysNo, int?productSysno, int?pageIndex, int?pageSize, out int totalCount) { DataTable dt = ProductStepPriceDA.GetProductStepPrice(vendorSysNo, productSysno, pageIndex, pageSize, out totalCount); return(dt); }