沈泽
2021-08-20 e3ae7f17842fe7de358ced5398ef792a961f80eb
DBUtility/ÒµÎñµ¥¾Ý/ClsXt_BaseBill.cs
@@ -463,9 +463,10 @@
        //单据号是否重复
        public virtual bool IsExistBillNo(ref string sReturn, string sBillNo, ClsPub.Enum_BillStatus oBillStatus, Int64 lngBillKey)
        {
            string sSql = "";
            try
            {
                string sSql = "";
                if (oBillStatus == ClsPub.Enum_BillStatus.BillStatus_AddNew)
                {
                    sSql = "Select HInterID from " + MvarItemKey + "  where hbilltype='" + BillType + "'and HBillNO ='" + sBillNo + "'";
@@ -486,8 +487,8 @@
            }
            catch (Exception e)
            {
                sReturn = e.Message;
                throw (e);
                sReturn = e.Message+"sql:"+ sSql;
                return false;
            }
        }
        #endregion