public KetThucLuongNangSuatNhanVien ( decimal ip_dc_id_nhan_vien, System.DateTime ip_dat_ngay_ket_thuc ) : void | ||
ip_dc_id_nhan_vien | decimal | |
ip_dat_ngay_ket_thuc | System.DateTime | |
Résultat | void |
private void cap_nhat_gd_he_so_lns() { if(m_txt_he_so_lns.EditValue == null) { return; } US_GD_HE_SO_LNS v_us = new US_GD_HE_SO_LNS(); v_us.dcID_NHAN_VIEN = CIPConvert.ToDecimal(m_sle_chon_nhan_vien.EditValue); v_us.datNGAY_BAT_DAU = m_dat_ngay_bat_dau.DateTime.Date; if (m_dat_ngay_ket_thuc.EditValue != null) v_us.datNGAY_KET_THUC = m_dat_ngay_ket_thuc.DateTime.Date; v_us.datNGAY_LAP = DateTime.Now.Date; v_us.strNGUOI_LAP = CAppContext_201.getCurrentUserName(); v_us.dcHE_SO = Convert.ToDecimal(m_txt_he_so_lns.Text); v_us.dcID_HE_SO_LNS = find_id_hs_lns(); v_us.UseTransOfUSObject(m_us_gd_hd); v_us.KetThucLuongNangSuatNhanVien(v_us.dcID_NHAN_VIEN, m_dat_ngay_bat_dau.DateTime.Date); v_us.Insert(); //v_us.CommitTransaction(); }