baseline: 小军 WMS 二开代码原始快照(含 SynOABusiness.cs Debugger.Break)
This commit is contained in:
commit
c2b0e7be0d
6522 files changed
+3530643
No files matched your search
Executable
+51
@@ -0,0 +1,51 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Text;
|
||||
|
||||
namespace Opsoft.NetCore.O3App.Repositories.WMS.APP
|
||||
{
|
||||
public class STK_OEMPICK
|
||||
{
|
||||
public static string InSoureBillData(string orgID, string sourceTranType, string sourceBillNO = "", int entryID = 0)
|
||||
{
|
||||
string exeSql = string.Empty, whereSql = string.Empty;
|
||||
if (!string.IsNullOrWhiteSpace(orgID))
|
||||
{
|
||||
whereSql += $" AND S2.FCOMPANYID='{orgID}'";
|
||||
}
|
||||
if (!string.IsNullOrWhiteSpace(sourceBillNO))
|
||||
{
|
||||
whereSql += $" AND S2.FBILLNO='{sourceBillNO}'";
|
||||
}
|
||||
if (entryID > 0)
|
||||
{
|
||||
whereSql += $" AND S.FENTRYID={entryID}";
|
||||
}
|
||||
switch (sourceTranType)
|
||||
{
|
||||
}
|
||||
return exeSql;
|
||||
}
|
||||
|
||||
public static string OutSoureBillData(string orgID, string sourceTranType, string sourceBillNO = "", int entryID = 0)
|
||||
{
|
||||
string exeSql = string.Empty, whereSql = string.Empty;
|
||||
if (!string.IsNullOrWhiteSpace(orgID))
|
||||
{
|
||||
whereSql += $" AND S2.FCOMPANYID='{orgID}'";
|
||||
}
|
||||
if (!string.IsNullOrWhiteSpace(sourceBillNO))
|
||||
{
|
||||
whereSql += $" AND S2.FBILLNO='{sourceBillNO}'";
|
||||
}
|
||||
if (entryID > 0)
|
||||
{
|
||||
whereSql += $" AND S.FENTRYID={entryID}";
|
||||
}
|
||||
switch (sourceTranType)
|
||||
{
|
||||
}
|
||||
return exeSql;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user