产成品入库

This commit is contained in:
2024-08-27 16:57:48 +08:00
parent ed43ededb5
commit be5bdc46e3
7 changed files with 176 additions and 15 deletions

View File

@@ -57,7 +57,7 @@ namespace Tnb.BasicData.Entities
/// <summary>
/// 状态 0 失败或未发送 1 成功
/// </summary>
public int status { get; set; } = 0;
public string status { get; set; } = "0";
/// <summary>
/// 发送成功时类型 自动 手动

View File

@@ -86,7 +86,7 @@ namespace Tnb.BasicData
.SetColumns(x => x.last_send_time == now)
.SetColumns(x => x.response_time == elapsedMilliseconds)
.SetColumns(x => x.send_type == "手动")
.SetColumns(x => x.status == 1)
.SetColumns(x => x.status == "1")
.Where(x=>x.id==record.id)
.ExecuteCommandAsync();
}