Ejemplo n.º 1
0
 /// <summary>
 /// 删除货架
 /// </summary>
 /// <param name="condition"></param>
 /// <returns></returns>
 public static int Delete_Shelf(string condition)
 {
     using (var con = GetOpenConnection())
     {
         return(con.Execute(WMS_Shelf_Dal.Delete_Shelf(condition)));
     }
 }
Ejemplo n.º 2
0
 /// <summary>
 /// 插入货架
 /// </summary>
 /// <param name="wms_Shelf_Model"></param>
 /// <returns></returns>
 public static int Insert_Shelf(WMS_Shelf_Model wms_Shelf_Model)
 {
     using (var con = GetOpenConnection())
     {
         return(con.Execute(WMS_Shelf_Dal.Insert_Shelf(wms_Shelf_Model)));
     }
 }
Ejemplo n.º 3
0
 /// <summary>
 /// 更新货架
 /// </summary>
 /// <param name="wms_Shelf_Model"></param>
 /// <param name="condition"></param>
 /// <returns></returns>
 public static int Update_Shelf(WMS_Shelf_Model wms_Shelf_Model, string condition)
 {
     using (var con = GetOpenConnection())
     {
         return(con.Execute(WMS_Shelf_Dal.Update_Shelf(wms_Shelf_Model, condition)));
     }
 }
Ejemplo n.º 4
0
 /// <summary>
 /// 查询货架
 /// </summary>
 /// <param name="condition"></param>
 /// <returns></returns>
 public static DataTable Select_Shelf(string condition)
 {
     using (var con = GetOpenConnection())
     {
         return(con.ExecuteDataTable(WMS_Shelf_Dal.Select_Shelf(condition)));
     }
 }