多级追踪name进行更新动态时间
This commit is contained in:
parent
d4a35698cd
commit
04ef52439d
|
@ -32,7 +32,7 @@ namespace Sample.NoShardingMultiLevel.Controllers
|
||||||
if (boss!=null)
|
if (boss!=null)
|
||||||
{
|
{
|
||||||
var companyId = boss.Company.Id;
|
var companyId = boss.Company.Id;
|
||||||
boss.Company.Name = "new company";
|
boss.Company.Name = "new company"+DateTime.Now.ToString("yyyy/MM/dd HH:mm:ss");
|
||||||
boss.Company.Departments = new List<Department>()
|
boss.Company.Departments = new List<Department>()
|
||||||
{
|
{
|
||||||
new Department() { Id = Guid.NewGuid().ToString("n"), Name = "department", CompanyId = companyId }
|
new Department() { Id = Guid.NewGuid().ToString("n"), Name = "department", CompanyId = companyId }
|
||||||
|
|
Loading…
Reference in New Issue