Exemple #1
0
        public DataTable Thuong_GetByMaChamCong(ThuongDTO _thuongDTO)
        {
            List <SqlParameter> sqlParams = new List <SqlParameter> {
                new SqlParameter("@MaChamCong", _thuongDTO.MaChamCong)
            };

            return(base.executeNonQuerya("ChiTietThuongNhanVien_getByMaChamCong", sqlParams));
        }
Exemple #2
0
        public void Thuong_DeleteByMaChamCong(ThuongDTO _thuongDTO)
        {
            List <SqlParameter> sqlParams = new List <SqlParameter> {
                new SqlParameter("@MaChamCong", _thuongDTO.MaChamCong)
            };

            base.Procedure("ChiTietThuongNhanVien_deleteByMaChamCong", sqlParams);
        }
Exemple #3
0
        public void Thuong_Insert(ThuongDTO _thuongDTO)
        {
            List <SqlParameter> sqlParams = new List <SqlParameter> {
                new SqlParameter("@MaChamCong", _thuongDTO.MaChamCong),
                new SqlParameter("@Thuong", _thuongDTO.Thuong),
                new SqlParameter("@TienThuong", _thuongDTO.TienThuong),
                new SqlParameter("@NgayThuong", _thuongDTO.NgayThuong)
            };

            base.Procedure("ChiTietThuongNhanVien_add", sqlParams);
        }
Exemple #4
0
 public void ThuongInsert(ThuongDTO _thuongDTO)
 {
     this._thuongDAL.Thuong_Insert(_thuongDTO);
 }
Exemple #5
0
 public DataTable ThuongGetByMaChamCongAndNgayThuong(ThuongDTO _thuongDTO)
 {
     return(this._thuongDAL.Thuong_GetByMaChamCongAndNgayThuong(_thuongDTO));
 }
Exemple #6
0
 public void ThuongDeleteByMaChamCong(ThuongDTO _thuongDTO)
 {
     this._thuongDAL.Thuong_DeleteByMaChamCong(_thuongDTO);
 }