This commit is contained in:
qianhao.xu 2024-08-19 16:24:51 +08:00
parent 445be32f79
commit 2013734a56
2 changed files with 6 additions and 3 deletions

View File

@ -11,7 +11,7 @@ namespace DOAN.Admin.WebApi.Controllers.huate_group.MasterDataManagement
/// 车型信息
/// </summary>
[Verify]
[Route("huate_group/MasterDataManagement/BasePartnumber")]
[Route("huate_group/MasterDataManagement/BaseVehiclemodel")]
public class BaseVehiclemodelController : BaseController
{
/// <summary>

View File

@ -15,10 +15,12 @@ namespace Infrastructure
BindingFlags flag = BindingFlags.Public | BindingFlags.IgnoreCase | BindingFlags.Instance;
types.GetProperty("CreateTime", flag)?.SetValue(source, DateTime.Now, null);
types.GetProperty("CREATED_TIME", flag)?.SetValue(source, DateTime.Now, null);
types.GetProperty("AddTime", flag)?.SetValue(source, DateTime.Now, null);
types.GetProperty("CreateBy", flag)?.SetValue(source, context.GetName(), null);
types.GetProperty("CreateBy", flag)?.SetValue(source, context.GetName(), null);
types.GetProperty("CREATED_BY", flag)?.SetValue(source, context.GetName(), null);
types.GetProperty("Create_by", flag)?.SetValue(source, context.GetName(), null);
//types.GetProperty("UserId", flag)?.SetValue(source, context.GetUId(), null);
//types.GetProperty("UserId", flag)?.SetValue(source, context.GetUId(), null);
types.GetProperty("DeptId", flag)?.SetValue(source, context.GetDeptId(), null);
return source;
@ -33,6 +35,7 @@ namespace Infrastructure
types.GetProperty("UpdateTime", flag)?.SetValue(source, DateTime.Now, null);
types.GetProperty("Update_time", flag)?.SetValue(source, DateTime.Now, null);
types.GetProperty("UpdateBy", flag)?.SetValue(source, context.GetName(), null);
types.GetProperty("UPDATED_BY", flag)?.SetValue(source, context.GetName(), null);
types.GetProperty("Update_by", flag)?.SetValue(source, context.GetName(), null);
return source;