예제 #1
0
        public JsonResult StoreAstScrapData(EquipmentDiscardRecordModel model)
        {
            model.DiscardDate = model.DiscardDate.ToDate();
            var result = AstService.EquipmentManager.DiscardManager.Store(model);

            return(Json(result));
        }
 /// <summary>
 /// 仓储操作
 /// </summary>
 /// <param name="model"></param>
 /// <returns></returns>
 public OpResult Store(EquipmentDiscardRecordModel model)
 {
     return(CrudFactory.EquipmentDiscarCrud.Store(model));
 }