cdk
23 小时以前 1cd4e66b490e4b6cc3368771cdff164990e152e7
MES.Service/service/WomcaaManager.cs
@@ -84,6 +84,10 @@
        if (orUpdate && baOrUpdate) 
        {
            db.Ado.ExecuteCommand("exec [dbo].[prc_unit_check] @billno, @ModuleType",
                new { billno = mesWomcaa.Caa001, ModuleType = "生产工单" });
            // 调用存储过程更新用料清单
            db.Ado.ExecuteCommand("exec [dbo].[prc_update_womdab] @outMsg output,@outSum output,@inEdtUserGuid,@inCaaGuid",
                new {
@@ -246,7 +250,12 @@
            var entity = Db.Queryable<Womcab>()
                .Where(s => s.Eid == womcab.Eid).Single();
            if (entity != null) womcab.Guid = entity.Guid;
            if (entity != null) {
                womcab.Guid = entity.Guid;
                womcab.IS_LOCK = entity.IS_LOCK;
                womcab.IS_LOCK_DATE = entity.IS_LOCK_DATE;
            }
            womcabList.Add(womcab);
        }