1
This commit is contained in:
@@ -24,6 +24,7 @@ using JNPF.VisualDev;
|
||||
using JNPF.VisualDev.Entitys;
|
||||
using JNPF.VisualDev.Interfaces;
|
||||
using Mapster;
|
||||
using Microsoft.AspNetCore.Identity;
|
||||
using Microsoft.AspNetCore.Mvc;
|
||||
using Microsoft.CodeAnalysis.CSharp.Syntax;
|
||||
using SqlSugar;
|
||||
@@ -72,6 +73,8 @@ namespace Tnb.EquipMgr
|
||||
toolMoldMaintainRule.mode = input.data["mode"].ToString();
|
||||
toolMoldMaintainRule.cycle = cycle;
|
||||
toolMoldMaintainRule.startandend_date = startTime.ToString("yyyy-MM-dd HH:mm:ss");
|
||||
toolMoldMaintainRule.create_id = _userManager.UserId;
|
||||
toolMoldMaintainRule.create_time=DateTime.Now;
|
||||
await _db.Insertable(toolMoldMaintainRule).ExecuteCommandAsync();
|
||||
if (toolMoldMaintainRule.mode == "27118635748885")
|
||||
{
|
||||
@@ -83,7 +86,8 @@ namespace Tnb.EquipMgr
|
||||
comtentModel.parameter = new List<InterfaceParameter>();
|
||||
comtentModel.parameter!.Add(new InterfaceParameter() { field = "id", value = id, defaultValue = "" });
|
||||
comtentModel.localHostTaskId = "MoldMaintainTask/CreateTask";
|
||||
comtentModel.startTime = DateTimeOffset.Now.ToUnixTimeMilliseconds();
|
||||
DateTimeOffset dateTimeOffset = new DateTimeOffset(startTime);
|
||||
comtentModel.startTime = dateTimeOffset.ToUnixTimeMilliseconds();
|
||||
comtentModel.TenantId = _userManager?.TenantId!;
|
||||
comtentModel.TenantDbName = _userManager?.TenantDbName!;
|
||||
comtentModel.ConnectionConfig = _userManager?.ConnectionConfig!;
|
||||
|
||||
Reference in New Issue
Block a user