Help, how to write an approval function for the javaee project, that is, the user clicks modify, and it is displayed that the edit cannot be edited after submission, and then the administrator needs to approve, and the database is modified before the approval