Commit 69e4f346 authored by 黄奎's avatar 黄奎

退课单据修改

parent 26e8538f
......@@ -152,9 +152,9 @@ namespace Edu.Module.Course
BackId = backClassId
})?.FirstOrDefault();
if (backModel == null || backModel.AuditStatus != WFRrocessStatus.AuditThrough) { return "退课流程未审核通过"; }
//if (backModel.FinanceId > 0) { return "已制单,无法再次生成财务单据"; }
if (backModel.FinanceId > 0) { return "已制单,无法再次生成财务单据"; }
var guestModel = order_GuestRepository.GetEntity(backModel.GuestId);
//if (guestModel == null || guestModel.GuestState != 2) { return "客人名单状态不正确"; }
if (guestModel == null || guestModel.GuestState != 2) { return "客人名单状态不正确"; }
var fcmodel = finance_ConfigRepository.GetList(new RB_Finance_Config_ViewModel() { Group_Id = userInfo.Group_Id, Type = FinanceConfigTypeEnum.DropCourse }).FirstOrDefault();
if (fcmodel == null) { return "未配置制单流程"; }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment