This commit is contained in:
zgf committed 2024-01-10 16:03:55 +08:00
1 parent e9f154bd06
commit fa7b5814ba
22 files changed
+989 -168

No files matched your search

@@ -34,7 +34,7 @@ public class XWMSMFMController : BaseController
[ActionDescription("Sys.Search")]
public ActionResult Search(string address, string zjcode, string materialcode, string gdbill, int gdline = 0, int ms = 0)
{
var sql = @"select * from QREQ3.XWMSMFM where 1=1";
var sql = @"select * from QRE.XWMSMFM where 1=1";
if (!string.IsNullOrEmpty(address))
{
sql += $" and MFGFCY_0 = '{address}'";
@@ -111,6 +111,7 @@ public class XWMSMFMController : BaseController
shipment.UserDef2 = data.FirstOrDefault().MFGLIN_0.ToString();
shipment.Type = "SCC";
shipment.FirstStatus = 0;
shipment.LastStatus = 0;
shipment.UserDef1 = data.FirstOrDefault().MFGFCY_0;
_unitwork.Add(shipment);