提交
This commit is contained in:
parent
445be32f79
commit
2013734a56
@ -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>
|
||||
|
||||
@ -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;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user