Browse Source

出差bug排查

娄底高职分支
hwh2023 7 months ago
parent
commit
a24ffea6fc
1 changed files with 17 additions and 10 deletions
  1. +17
    -10
      Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/LogisticsManagement/Purchase_Travel/Purchase_TravelService.cs

+ 17
- 10
Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/LogisticsManagement/Purchase_Travel/Purchase_TravelService.cs View File

@@ -320,16 +320,23 @@ namespace Learun.Application.TwoDevelopment.LogisticsManagement
{
var entity = db.FindEntity<Purchase_TravelEntity>(x => x.ProcessId == processId);

LogEntity logEntity = new LogEntity();
logEntity.F_CategoryId = 1;
logEntity.F_OperateTypeId = ((int)OperationType.Other).ToString();
logEntity.F_OperateType = EnumAttribute.GetDescription(OperationType.Other);
logEntity.F_OperateAccount = loginUserInfo.account;
logEntity.F_OperateUserId = loginUserInfo.userId;
logEntity.F_Module = Config.GetValue("SoftName");
logEntity.F_Description = "移动端";
logEntity.F_ExecuteResultJson = Newtonsoft.Json.JsonConvert.SerializeObject( entity);
logEntity.WriteLog();
try
{
LogEntity logEntity = new LogEntity();
logEntity.F_CategoryId = 1;
logEntity.F_OperateTypeId = ((int)OperationType.Other).ToString();
logEntity.F_OperateType = EnumAttribute.GetDescription(OperationType.Other);
logEntity.F_OperateAccount = loginUserInfo.account;
logEntity.F_OperateUserId = loginUserInfo.userId;
logEntity.F_Module = Config.GetValue("SoftName");
logEntity.F_Description = "移动端";
logEntity.F_ExecuteResultJson = Newtonsoft.Json.JsonConvert.SerializeObject(entity);
logEntity.WriteLog();
}
catch (Exception)
{

}
if (entity != null)
{
//审核通过


Loading…
Cancel
Save