public ActionResult DisabledOrderTransfer(string keyValue)
        {
            OrderTransferEntity orderTransferEntity = new OrderTransferEntity();

            orderTransferEntity.F_Id          = keyValue;
            orderTransferEntity.F_EnabledMark = false;
            _orderTransfer.UpdateForm(orderTransferEntity);
            return(Success("中转单禁用成功。"));
        }
        public ActionResult SubmitForm(OrderTransferEntity orderTransferEntity, string keyValue)
        {
            _orderTransfer.SubmitForm(orderTransferEntity, keyValue);
            OrderEntity orderEntity = _order.GetForm(orderTransferEntity.F_OrderId);

            orderEntity.F_IsTransfer = true;
            _order.UpdateForm(orderEntity);
            return(Success("操作成功。"));
        }
예제 #3
0
 public void SubmitForm(OrderTransferEntity itemsEntity, string keyValue)
 {
     if (!string.IsNullOrEmpty(keyValue))
     {
         itemsEntity.Modify(keyValue);
         service.Update(itemsEntity);
     }
     else
     {
         itemsEntity.Create();
         service.Insert(itemsEntity);
     }
 }
예제 #4
0
 public void UpdateForm(OrderTransferEntity vehicleEntity)
 {
     service.Update(vehicleEntity);
 }