产成品入库
This commit is contained in:
@@ -712,7 +712,7 @@ namespace Tnb.ProductionMgr
|
||||
public async Task<string> SendThirdApi(string thirdNmaes)
|
||||
{
|
||||
string[] thirdNameArr = thirdNmaes.Split("-");
|
||||
List<ThirdWebapiRecord> records = await _db.Queryable<ThirdWebapiRecord>().Where(x => thirdNameArr.Contains(x.third_name) && x.status == 0 && x.is_send == 1).ToListAsync();
|
||||
List<ThirdWebapiRecord> records = await _db.Queryable<ThirdWebapiRecord>().Where(x => thirdNameArr.Contains(x.third_name) && x.status == "0" && x.is_send == 1).ToListAsync();
|
||||
DateTime now = DateTime.Now;
|
||||
Stopwatch stopwatch = null;
|
||||
string response = "";
|
||||
@@ -755,7 +755,7 @@ namespace Tnb.ProductionMgr
|
||||
.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();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user