예제 #1
0
 /// <summary>
 /// 删除入库
 /// </summary>
 /// <returns></returns>
 public static int Delete_PutIn(string condition)
 {
     using (var con = GetOpenConnection())
     {
         return(con.Execute(WMS_PutIn_Dal.Delete_PutIn(condition)));
     }
 }
예제 #2
0
 /// <summary>
 /// 插入入库
 /// </summary>
 /// <returns></returns>
 public static int Insert_PutIn(WMS_PutIn_Model wms_PutIn_Model)
 {
     using (var con = GetOpenConnection())
     {
         return(con.Execute(WMS_PutIn_Dal.Insert_PutIn(wms_PutIn_Model)));
     }
 }
예제 #3
0
 /// <summary>
 /// 更新入库
 /// </summary>
 /// <returns></returns>
 public static int Update_PutIn(WMS_PutIn_Model wms_PutIn_Model, string condition)
 {
     using (var con = GetOpenConnection())
     {
         return(con.Execute(WMS_PutIn_Dal.Update_PutIn(wms_PutIn_Model, condition)));
     }
 }
예제 #4
0
 /// <summary>
 /// 查询入库
 /// </summary>
 /// <param name="condition"></param>
 /// <returns></returns>
 public static DataTable Select_PutIn(string condition)
 {
     using (var con = GetOpenConnection())
     {
         return(con.ExecuteDataTable(WMS_PutIn_Dal.Select_PutIn(condition)));
     }
 }