入库明细拆分
铁心库打码
This commit is contained in:
1 parent
fa7b5814ba
commit
d19f62e48b
21 files changed
+513
-93
No files matched your search
@@ -14,7 +14,6 @@ namespace HHWMS.Web.Controllers;
|
||||
|
||||
[Area("xwms")]
|
||||
[ActionDescription("采购订单")]
|
||||
[Public]
|
||||
public class XWMSPOHController : BaseController
|
||||
{
|
||||
public XWMSPOHController()
|
||||
@@ -30,7 +29,7 @@ public class XWMSPOHController : BaseController
|
||||
}
|
||||
|
||||
[ActionDescription("Sys.Search")]
|
||||
public ActionResult Search(string address, string billno, string supply, string materialcode)
|
||||
public ActionResult Search(string address, string ITMDES2_0, string billno, string supply, string materialcode)
|
||||
{
|
||||
var sql = @"select * from QRE.XWMSPOH where 1=1";
|
||||
if (!string.IsNullOrEmpty(address))
|
||||
@@ -49,6 +48,10 @@ public class XWMSPOHController : BaseController
|
||||
{
|
||||
sql += $"and ITMREF_0 like '%{materialcode}%'";
|
||||
}
|
||||
if (!string.IsNullOrEmpty(ITMDES2_0))
|
||||
{
|
||||
sql += $"and ITMDES2_0 like '%{ITMDES2_0}%'";
|
||||
}
|
||||
|
||||
var data = OracleHelper.GetDataSet(sql).Tables[0];
|
||||
var list = data.AsEnumerable().Select
|
||||
|
||||
Reference in new issue
Block a user