车商业绩基本完成。

This commit is contained in:
2020-11-17 16:31:34 +08:00
parent fd604459bc
commit 7ba184a311
8 changed files with 130 additions and 53 deletions

View File

@@ -9,7 +9,7 @@ public:
CarDealerAchievement( const std::wstring & theYear,
const std::wstring & theMonth,
const std::wstring & carDealerCode,
const long double checkedAchievement,
const double checkedAchievement,
const int policyAmount,
const int cpicAmount,
const int piccAmount,
@@ -27,15 +27,15 @@ public:
{
}
CarDealerAchievement( const wchar_t * theYear,
const wchar_t * theMonth,
const wchar_t * carDealerCode,
const long double checkedAchievement,
const int policyAmount,
const int cpicAmount,
const int piccAmount,
const int pinganAmount,
const int othersAmount )
CarDealerAchievement( const wchar_t * theYear,
const wchar_t * theMonth,
const wchar_t * carDealerCode,
const double checkedAchievement,
const int policyAmount,
const int cpicAmount,
const int piccAmount,
const int pinganAmount,
const int othersAmount )
: theYear( theYear ),
theMonth( theMonth ),
carDealerCode( carDealerCode ),
@@ -63,9 +63,9 @@ public:
}
CarDealerAchievement( CarDealerAchievement && other )
: theYear( std::move(other.theYear) ),
theMonth( std::move(other.theMonth) ),
carDealerCode( std::move(other.carDealerCode) ),
: theYear( std::move( other.theYear ) ),
theMonth( std::move( other.theMonth ) ),
carDealerCode( std::move( other.carDealerCode ) ),
checkedAchievement( other.checkedAchievement ),
policyAmount( other.policyAmount ),
cpicAmount( other.cpicAmount ),
@@ -157,7 +157,7 @@ public:
this->carDealerCode = carDealerCode;
}
long double getCheckedAchievement() const
double getCheckedAchievement() const
{
return checkedAchievement;
}
@@ -221,7 +221,7 @@ private:
std::wstring theYear;
std::wstring theMonth;
std::wstring carDealerCode;
long double checkedAchievement;
double checkedAchievement;
int policyAmount;
int cpicAmount;
int piccAmount;