Commit 64ea889d authored by liudong1993's avatar liudong1993

1

parent 0260142f
......@@ -83,6 +83,9 @@ GROUP BY sd.SuppliesId";
if (!string.IsNullOrEmpty(demodel.SuppliesNum)) {
where += $" and m.SuppliesNum like '%{demodel.SuppliesNum}%'";
}
if (demodel.SuppliesId > 0) {
where += $" and sd.SuppliesId ={demodel.SuppliesId}";
}
if (!string.IsNullOrEmpty(demodel.StartTime)) {
where += $" and v.ExpirationDate >='{demodel.StartTime}'";
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment