CodePudding user response:
Discuss what,,,CodePudding user response:
HIS several problems in the software, 1, refund medicine outpatient service, will be invalid prescriptions, medical records are invalid, if there is a logical problem inside, 2, beds, two places at the same time fixed bed, booked a bed number two, how to prevent the occurrence of such a problemCodePudding user response:
1, backed off medicine produces a new medicine prescriptions, don't know how do you want to deal with,2, beds are ordered at the same time, it is a question of concurrent processing, to find the PB handle concurrent post can
CodePudding user response:
Ha, there are some things doesn't necessarily pure technology can solveCodePudding user response:
The simplest concurrency issues without considering? Does not influence the historical dataCodePudding user response:
1 it is as you say, refund or refund, our side of his drug treatment is the change in the schedule of identity, and time consuming testing id before, invoice table, list. Add a negative records, etc.2 PB should come with concurrent processing mechanism, if you have the right code, general won't appear this kind of problem.
CodePudding user response:
Thinking about the concurrent