2023-04-07

This commit is contained in:
2023-04-07 18:14:09 +08:00
parent 745004f761
commit 53e82c04c5
2 changed files with 2 additions and 2 deletions
Binary file not shown.
+2 -2
View File
@@ -193,9 +193,9 @@ namespace FineUIPro.Web.HJGL.NDT
/// </summary>
/// <param name="node"></param>
private void BindNodes(TreeNode node)
{
{ ///&& x.TrustType == (this.Type == "R" ? "R" : null)
var p = from x in Funs.DB.HJGL_Batch_BatchTrust
where x.UnitWorkId == node.NodeID && x.TrustType == (this.Type == "R" ? "R" : null)
where x.UnitWorkId == node.NodeID && Equals(x.TrustType, (this.Type == "R" ? "R" : null))
&& x.TrustDate < Convert.ToDateTime(this.txtNDEDateMonth.Text.Trim() + "-01").AddMonths(1)
&& x.TrustDate >= Convert.ToDateTime(this.txtNDEDateMonth.Text.Trim() + "-01")
select x;