username@email.com
2026-02-12 b5a024eee5ec82287097a2b310cacd8a357835ed
CY_ECommercePlatform/CY.WebForm/Pages/business/DeliverPlanWentiEdit.aspx.cs
@@ -35,6 +35,7 @@
        OA_CarManageBll _OA_CarManageBll = null;
        OA_DeliverPlanPaicheBLL oA_DeliverPlanBLL = null;
        OA_StaffBLL _OA_StaffBLL = null;
        OA_WageAwardPunishBLL bll_OA_WageAwardPunishBLL = null;
        //初始化
        public DeliverPlanWentiEdit()
@@ -44,6 +45,7 @@
            _OA_CarManageBll = new OA_CarManageBll();
            oA_DeliverPlanBLL = new OA_DeliverPlanPaicheBLL();
            _OA_StaffBLL = new OA_StaffBLL();
            bll_OA_WageAwardPunishBLL = new OA_WageAwardPunishBLL();
        }
@@ -108,6 +110,30 @@
                oA_DeliverPlan.WanjieTime = DateTime.Now;
                if (oA_DeliverPlanBLL.UpdateModel(oA_DeliverPlan))
                {
                    if (oA_DeliverPlan.Zerenren.HasValue && oA_DeliverPlan.Fakuan.HasValue && oA_DeliverPlan.Fakuan.Value > 0)
                    {
                        DateTime nowTime = DateTime.Now;
                        OA_WageAwardPunish m_OA_WageAwardPunish = new OA_WageAwardPunish();
                        m_OA_WageAwardPunish.FirmId = CurrentUser.MemberId;
                        m_OA_WageAwardPunish.RecTitle = "问题反馈追责";
                        m_OA_WageAwardPunish.RecTime = nowTime;
                        m_OA_WageAwardPunish.RecType = 2;
                        m_OA_WageAwardPunish.RecContent = oA_DeliverPlan.wentifankui;
                        m_OA_WageAwardPunish.RecMoney = oA_DeliverPlan.Fakuan;
                        m_OA_WageAwardPunish.PlanId = 0;
                        m_OA_WageAwardPunish.WentiId = oA_DeliverPlan.Keyid;
                        m_OA_WageAwardPunish.LastUpdateTime = nowTime;
                        m_OA_WageAwardPunish.Operator = CurrentUser.ShortName;
                        var oA_Staff = _OA_StaffBLL.GetModelByKeyid(oA_DeliverPlan.Zerenren);
                        if (oA_Staff != null)
                        {
                            m_OA_WageAwardPunish.MemberId = oA_Staff.MemberId;
                        }
                        var sss = bll_OA_WageAwardPunishBLL.InsertModel(m_OA_WageAwardPunish);
                    }
                    JavaScript.MessageBox("操作成功", this, true, true);
                    return;
                }