|
@ -3605,6 +3605,7 @@ namespace CK.SCP.Controller |
|
|
string Buyer= string.IsNullOrEmpty(p_entity.Buyer) ? "" : p_entity.Buyer; |
|
|
string Buyer= string.IsNullOrEmpty(p_entity.Buyer) ? "" : p_entity.Buyer; |
|
|
|
|
|
|
|
|
string VendId = string.IsNullOrEmpty(p_entity.VendId) ? "" : p_entity.VendId; |
|
|
string VendId = string.IsNullOrEmpty(p_entity.VendId) ? "" : p_entity.VendId; |
|
|
|
|
|
string VendName = string.IsNullOrEmpty(p_entity.VendName) ? "" : p_entity.VendName; |
|
|
string UserInAddress_where = ""; |
|
|
string UserInAddress_where = ""; |
|
|
string UserName = p_entity.UserName; |
|
|
string UserName = p_entity.UserName; |
|
|
if (p_entity.UserInAddress != null) |
|
|
if (p_entity.UserInAddress != null) |
|
@ -3613,7 +3614,7 @@ namespace CK.SCP.Controller |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
string str = "exec PROC_test " + " @PONum_where = '" + PoBillNum + "' ,@AskBillNum_where = '" + AskBillNum + "' ,@PartCode_where = '" + PartCode + "' ,@Buyer_where = '" + Buyer + "' ,@BeginDate_where = '" + TimeBegin + "' ,@EndDate_where = '" + TimeEnd + "', @VenderID_where = '" + VendId + "'" + ", @UserInAddress_where = " + UserInAddress_where + " ,@UserName = " + UserName; |
|
|
string str = "exec PROC_test " + " @PONum_where = '" + PoBillNum + "' ,@AskBillNum_where = '" + AskBillNum + "' ,@PartCode_where = '" + PartCode + "' ,@Buyer_where = '" + Buyer + "' ,@BeginDate_where = '" + TimeBegin + "' ,@EndDate_where = '" + TimeEnd + "', @VenderID_where = '" + VendId + "'" + ", @UserInAddress_where = '" + UserInAddress_where + "' ,@UserName = '" + UserName + "',@VendName_where = '"+VendName+"'"; |
|
|
list = db.Database.SqlQuery<V_TB_ASK_DETAIL_PO>(str).ToList(); |
|
|
list = db.Database.SqlQuery<V_TB_ASK_DETAIL_PO>(str).ToList(); |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|