多级追踪name进行更新动态时间

This commit is contained in:
xuejiaming 2021-12-31 15:35:33 +08:00
parent d4a35698cd
commit 04ef52439d
1 changed files with 1 additions and 1 deletions

View File

@ -32,7 +32,7 @@ namespace Sample.NoShardingMultiLevel.Controllers
if (boss!=null)
{
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>()
{
new Department() { Id = Guid.NewGuid().ToString("n"), Name = "department", CompanyId = companyId }