|
|
@ -3941,9 +3941,9 @@ public partial class CommonServices : BaseServices<RootEntityTkey<int>>, ICommon |
|
|
|
case "F_ESS_TrainFeeApplyOrder_Boltone": |
|
|
|
case "F_ESS_TrainFeeApplyOrder_Boltone": |
|
|
|
if (param.doType == "Insert") |
|
|
|
if (param.doType == "Insert") |
|
|
|
{ |
|
|
|
{ |
|
|
|
flowReturn.DT_TableDataT1 = new List<Ghre_TrainFeeApplyOrder_Boltone>() |
|
|
|
flowReturn.DT_TableDataT1 = new List<InsertGhre_TrainFeeApplyOrder_BoltoneInput>() |
|
|
|
{ |
|
|
|
{ |
|
|
|
new Ghre_TrainFeeApplyOrder_Boltone() |
|
|
|
new InsertGhre_TrainFeeApplyOrder_BoltoneInput() |
|
|
|
{ |
|
|
|
{ |
|
|
|
ApplicantId = App.User.StaffId, |
|
|
|
ApplicantId = App.User.StaffId, |
|
|
|
ApplicantDeptId = GetStaffDeptId(), |
|
|
|
ApplicantDeptId = GetStaffDeptId(), |
|
|
@ -4358,7 +4358,7 @@ public partial class CommonServices : BaseServices<RootEntityTkey<int>>, ICommon |
|
|
|
|
|
|
|
|
|
|
|
#region 写入数据,并判断是否有错误 |
|
|
|
#region 写入数据,并判断是否有错误 |
|
|
|
string json = param.jsonParam.ToString(); |
|
|
|
string json = param.jsonParam.ToString(); |
|
|
|
var dict = JsonHelper.JsonToObj<Ghre_ExternalTrainApplyOrder_Boltone>(json); |
|
|
|
var dict = JsonHelper.JsonToObj<Ghre_TrainFeeApplyOrder_Boltone>(json); |
|
|
|
var dict1 = JsonHelper.JsonToObj<Ghre_TrainFeeApplyOrder_BoltoneBase>(json); |
|
|
|
var dict1 = JsonHelper.JsonToObj<Ghre_TrainFeeApplyOrder_BoltoneBase>(json); |
|
|
|
//dict.RequestNo = await GenerateContinuousSequence("Ghrh_HumanRequest", "RequestNo", "R"); |
|
|
|
//dict.RequestNo = await GenerateContinuousSequence("Ghrh_HumanRequest", "RequestNo", "R"); |
|
|
|
id = await Db.Insertable(dict).ExecuteReturnSnowflakeIdAsync(); |
|
|
|
id = await Db.Insertable(dict).ExecuteReturnSnowflakeIdAsync(); |
|
|
@ -4370,6 +4370,14 @@ public partial class CommonServices : BaseServices<RootEntityTkey<int>>, ICommon |
|
|
|
|
|
|
|
|
|
|
|
id = id1; |
|
|
|
id = id1; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
dict1.Details.ForEach(x => |
|
|
|
|
|
|
|
{ |
|
|
|
|
|
|
|
x.OrderId = id; |
|
|
|
|
|
|
|
x.Id = SnowFlakeSingle.Instance.NextId(); |
|
|
|
|
|
|
|
}); |
|
|
|
|
|
|
|
await Db.Insertable(dict1.Details).ExecuteCommandAsync(); |
|
|
|
|
|
|
|
|
|
|
|
if (dict1.Attachments.Any()) |
|
|
|
if (dict1.Attachments.Any()) |
|
|
|
{ |
|
|
|
{ |
|
|
|
var ids = dict1.Attachments.Select(x => x.AttachmentID).ToList(); |
|
|
|
var ids = dict1.Attachments.Select(x => x.AttachmentID).ToList(); |
|
|
|