Problem scenario:
co-develop a project with a colleague, call the interface developed by it, but no return value is received
Problem analysis:
Copy SQL and add the specified query conditions, the SQL is correct, the problem is located in the MyBatis syntax
Problem solving:
1. Select field part Use *, resulting in no mapping between the field in the table and the PO class select *
is
changed to select the specific field
2. The parameter type is
incorrect Criticizing others for a small mistake, everyone has come from that stage, and has made such mistakes in the past. To sum up, although I do not make such mistakes at present
Why does running the interface return no value?
Guess you like
Origin http://10.200.1.11:23101/article/api/json?id=326747250&siteId=291194637
Recommended
Ranking