IQS <blank>

This commit is contained in:
2023-02-13 06:26:58 -07:00
parent a918b50d7b
commit f099b23f5f
10 changed files with 161 additions and 60 deletions

View File

@ -49,7 +49,7 @@ public class FromIQS
.Append(" and pd.f_name = '").Append(description.PSN).AppendLine("' ")
.AppendLine(" and jd.f_name in ('CDE1', 'CDE2', 'CDE3', 'CDE4', 'CDE5', 'CDE6') ")
.Append(" and jd.f_name = '").Append(logistics.MesEntity).AppendLine("' ")
.Append(" and pl.f_name = '").Append(description.RDS).AppendLine("' ")
.Append(" and pl.f_name = '").Append(string.IsNullOrEmpty(description.RDS) ? "<blank>" : description.RDS).AppendLine("' ")
.Append(" and dateadd(HH, -7, (dateadd(SS, convert(bigint, se.f_sgtm), '19700101'))) = '").Append(dateTime).AppendLine("' ")
.AppendLine(" for json path ");
return result.ToString();