cdk
昨天 1cd4e66b490e4b6cc3368771cdff164990e152e7
MES.Service/service/BasicData/MesRohInManager.cs
@@ -62,9 +62,9 @@
        List<MesRohInData> mesRohInDatas, string type)
    {
        if (type == "3")
        if (type == "3" || (mesRohIn.DocumentStatus != null && mesRohIn.DocumentStatus != "C"))
        {
            mesRohIn.BillNo = mesRohIn.BillNo + "F";
            mesRohIn.BillNo = mesRohIn.BillNo + "F" + mesRohIn.EbelnK3id.ToString();
        }
        if (mesRohIn.Guid != null)
@@ -83,7 +83,14 @@
            .IgnoreColumnsNull()
            .ExecuteCommand() > 0;
        if (orUpdate && baOrUpdate) return true;
        if (orUpdate && baOrUpdate)
        {
            if (!string.IsNullOrEmpty(mesRohIn.BillNo))
            {
                db.Ado.ExecuteCommand("exec [dbo].[prc_unit_check] @BillNo, '采购'", new { BillNo = mesRohIn.BillNo });
            }
            return true;
        }
        throw new NotImplementedException("插入或更新失败");
    }