ch
2023-02-07 47ebb7042bb5b26640e7136404046edd635841c1
WebAPI/Controllers/PublicPageMethodController.cs
@@ -1491,9 +1491,10 @@
            try
            {
                
                    string sql1 = "Select * from Kf_StockOutRequestBillMain where 1 = 1 ";
                    string sql = sql1 + sWhere;
                    ds = oCN.RunProcReturn(sql, "Kf_StockOutRequestBillMain");
                    string sql1 = "Select * from AIS20220914133941..T_STK_OUTSTOCKAPPLY where fdocumentstatus = 'C' and FCloseStatus = 'A'";
                   string sql2 = "order by Fdate asc";
                 string sql = sql1 + sWhere + sql2;
                    ds = oCN.RunProcReturn(sql, "T_STK_OUTSTOCKAPPLY");
                if (ds == null || ds.Tables[0].Rows.Count == 0)
                {
                    objJsonResult.code = "0";