Home > Software engineering >  , how to implement in C MFC members automatically upgrade
, how to implement in C MFC members automatically upgrade

Time:09-15

(the consumption and settlement of members present your card, after the management according to the card number to find the information of the member, calculate the cost, success, and display the updated information,) the cumulative full 1000 yuan, and automatic upgrade for VIP member, after each time to give a discount,

CodePudding user response:

Design a tag, look to whether can after each consumption upgrading

CodePudding user response:

This and MFC without a dime relationship, this is a question of user management strategy

CodePudding user response:

This is the membership card billing system course design requirements do

CodePudding user response:

With MFC it doesn't matter, the level of members with that score, 0-1000 to regular members, more than 1000 for the VIP, each time to update the score line, display level and query classification score, discount is, how many points in the specified strategies to it

CodePudding user response:

The database for each user increases the levels of a field tag, it has nothing to do with MFC, is the business logic problem

CodePudding user response:

directly in the database, there are two ranks and the current consumption amount fields don't have to do is

CodePudding user response:

MFC? What is the relationship between the MFC?

CodePudding user response:

MFC=didn't eat rice

CodePudding user response:

Estimates are you MFC + access database architecture, it is recommended that the user level indicator on the database, finish every time consumption, recalculate the user level,

CodePudding user response:

Data set a flag, after each consumer, if the logo was detected, then the discount several, otherwise the cumulative total consumption amount, if the amount is at or above the threshold, set this flag;
  • Related