huawei
4 天以前 63d047db30e03608479ab3d340e925bc3366357c
service/Warehouse/MesInvItemInCDetailsManager.cs
@@ -34,8 +34,8 @@
        {
            using (var cmd = new SqlCommand("[prc_pda_inv_cgrk]", conn))
            {
                try
                {
                //try
                //{
                    conn.Open();
                    cmd.CommandType = CommandType.StoredProcedure;
@@ -135,16 +135,16 @@
                    
                    return res;
                }
                catch (Exception ex)
                {
                //}
                //catch (Exception ex)
                //{
                    // 记录异常日志(建议添加日志记录)
                    res.Message = $"操作失败: {ex.Message}";
                    res.SumQuantity = -1;
                    return res;
                }
                //    // 记录异常日志(建议添加日志记录)
                //    res.Message = $"操作失败: {ex.Message}";
                //    res.SumQuantity = -1;
                //    return res;
                //}
            }
        }
    }