Reading "Alibaba Development Java Development Manual"
-- After reading the summary, the problems encountered in the work
--Prevent the micro and the gradual development, and eliminate the bug in the budding stage--
Sun Gong Yi died, the merit is not donated
1. Compare the acquired variables with constants
Usually constants.equals(variable ), but there may be a problem that the variable is empty; it is
recommended to use java.util.Objects.equalts (constant, variable)
2. The database field is named, and the field that indicates whether the meaning starts with is The po mapper.java mapper is automatically generated
by the tool .xml, etc. During the operation, the select operation will report the problem that the XXX field cannot be found or does not correspond.
Summary: Avoid using is as a prefix, it will cause confusion when spring parses
3 .