예제 #1
0
파일: CommonUtil.cs 프로젝트: atum201/CKTD
    public float getSoDuConLaiLoaiTien(LoaiTien loaiTien)
    {
        float result = 0;
        LoaiTienManagement loaiTienManagement = new LoaiTienManagement();
        DonHangManagement  donHangManagement  = new DonHangManagement();

        result = loaiTien.HanMuc.Value - donHangManagement.tongGiaTriGiaoDich(" where IDLoaiTien=" + loaiTien.ID + " and TrangThai=N'DaChuyenCoin'");
        return(result);
    }