CodePudding user response:
Didn't modify success bai, step by step from contoller to service to dao screening bai, the debug debugging, print log, in this way,CodePudding user response:
Only is there to see the numerical control layer, and then to see in the debug step by step, look at the data operation is successful, you don't have the code on, also to sayCodePudding user response:
Database didn't modify success there are two situations: 1. Have you front desk operations to the database, this kind of situation you can find print log or debug the success to the operation of the database,2. You did not commit the transaction after the database operation to complete, remember to commit the transaction truly successful operation,
CodePudding user response:
With a layer of a layer of the test class find can find out soonCodePudding user response:
The debug, based in the foundation, needless to sayCodePudding user response:
An error trying to reason, that no, what's wrong?You use what way to send the request form is submitted or ajax request?
From the controller to the service to the mapper and see if the controller receives the front-end data,
You only say this words, no one can judge what reason...
Remember to put the console log out next time
CodePudding user response:
I also encountered this problemI am new and modified page shows a success has not changed but the database data and no error console also show a success
CodePudding user response:
How do you judge success?CodePudding user response:
Have a look at your business layer code if there is any things only allow readonlyCodePudding user response: