protected void btnUpdate18_Click(object sender, EventArgs e)
        {
            DotDanhGiaConfigInfo info = new DotDanhGiaConfigInfo();

            info.IDDotDanhGia = ConvertUtility.ToInt32(dropDotDanhGia.SelectedValue);
            info.IDDiemDoanhThu = ConvertUtility.ToDouble(txtDoanhThuQUANGCAOSO.Text);
            info.IDDiemLoiNhuan = ConvertUtility.ToDouble(txtLoiNhuanQUANGCAOSO.Text);
            info.IDTrungTam = 18;

            DotDanhGiaController.UpdateDoanhThuLoiNhuan(info);
        }
        protected void btnUpdate7_Click(object sender, EventArgs e)
        {
            DotDanhGiaConfigInfo info = new DotDanhGiaConfigInfo();

            info.IDDotDanhGia = ConvertUtility.ToInt32(dropDotDanhGia.SelectedValue);
            //info.IDDiemDoanhThu = ConvertUtility.ToDouble(dropDoanhThuBANQUYEN.SelectedValue);
            //info.IDDiemLoiNhuan = ConvertUtility.ToDouble(dropLoiNhuanBANQUYEN.SelectedValue);
            info.IDDiemDoanhThu = ConvertUtility.ToDouble(txtDoanhThuBanQuyen.Text);
            info.IDDiemLoiNhuan = ConvertUtility.ToDouble(txtLoiNhuanBanQuyen.Text);
            info.IDTrungTam = 7;

            DotDanhGiaController.UpdateDoanhThuLoiNhuan(info);
        }
        protected void btnUpdate6_Click(object sender, EventArgs e)
        {
            DotDanhGiaConfigInfo info = new DotDanhGiaConfigInfo();

            info.IDDotDanhGia = ConvertUtility.ToInt32(dropDotDanhGia.SelectedValue);
            //info.IDDiemDoanhThu = ConvertUtility.ToDouble(dropDoanhThuLUCKYFONE.SelectedValue);
            //info.IDDiemLoiNhuan = ConvertUtility.ToDouble(dropLoiNhuanLUCKYFONE.SelectedValue);
            info.IDDiemDoanhThu = ConvertUtility.ToDouble(txtDoanhThuLuckyFone.Text);
            info.IDDiemLoiNhuan = ConvertUtility.ToDouble(txtLoiNhuanLuckyFone.Text);
            info.IDTrungTam = 6;

            DotDanhGiaController.UpdateDoanhThuLoiNhuan(info);
        }
        protected void btnUpdate2_Click(object sender, EventArgs e)
        {
            DotDanhGiaConfigInfo info = new DotDanhGiaConfigInfo();

            info.IDDotDanhGia = ConvertUtility.ToInt32(dropDotDanhGia.SelectedValue);
            info.IDDiemDoanhThu = ConvertUtility.ToDouble(dropDoanhThuNSHC.SelectedValue);
            info.IDDiemLoiNhuan = ConvertUtility.ToDouble(dropLoiNhuanNSHC.SelectedValue);
            info.IDTrungTam = 2;

            DotDanhGiaController.UpdateDoanhThuLoiNhuan(info);
        }
Example #5
0
 public override void UpdateDoanhThuLoiNhuan(DotDanhGiaConfigInfo config)
 {
     SqlHelper.ExecuteNonQuery(this.ConnectionString, "DotDanhGia_UpdateDoanhThuLoiNhuan", config.IDDotDanhGia, config.IDDiemDoanhThu, config.IDDiemLoiNhuan, config.IDTrungTam, config.IDDiem1, config.IDDiem2, config.IDDiem3);
 }
Example #6
0
 public static void UpdateDoanhThuLoiNhuan(DotDanhGiaConfigInfo _DotDanhGiaInfo)
 {
     DataAccessProvider.Instance().UpdateDoanhThuLoiNhuan(_DotDanhGiaInfo);
 }
 public abstract void UpdateDoanhThuLoiNhuan(DotDanhGiaConfigInfo _DotDanhGiaInfo);