This commit is contained in:
2024-06-06 15:25:51 +08:00
parent 46023f56c1
commit 9e177b69f7
3 changed files with 7 additions and 7 deletions

View File

@@ -216,8 +216,8 @@ namespace Tnb.ProductionMgr
public async Task<string> FixedPointDelivery()
{
string msg = "";
bool? value = await _redisData.TryGetValueByKeyField<bool?>("hxjC", "DB100.132.3");
bool valueFlag = _redisData.Get<bool>("hxjC_DB100.132.3_flag");
bool? value = await _redisData.TryGetValueByKeyField<bool?>("hxjC", "A2允许入空箱");
bool valueFlag = _redisData.Get<bool>("hxjC_A2允许入空箱_flag");
if (value==true && !valueFlag)
{
bool? cs01 = await _redisData.TryGetValueByKeyField<bool?>("YTCS", "CallCtuEmptyIn_CS01");
@@ -252,7 +252,7 @@ namespace Tnb.ProductionMgr
{
msg = "注塑定点配送成功";
Log.Information("【FixedPointDelivery】注塑定点配送成功");
_redisData.Set("hxjC_DB100.132.3_flag", true, TimeSpan.FromMinutes(20));
_redisData.Set("hxjC_A2允许入空箱_flag", true, TimeSpan.FromMinutes(20));
}
else
{