SSM framework integration - CRM small case

Take the modification as an example:
write picture description here

First,
1. Write the method in the Dao layer interface

write picture description here

2. Use the Dao.xml file to implement the execution of the sql statement

write picture description here

3. Service layer injection modification method

write picture description here

4. Implement this method in the Service implementation class (this is actually calling the sql method in the second step Dao.xml file)

write picture description here

5. The Controller layer calls and returns the corresponding results to the front page

write picture description here

specific process:

write picture description here

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=326075993&siteId=291194637
Recommended