iotkit-parent/待优化项.md

21 lines
510 B
Markdown
Raw Blame History

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

# **后端待优化项**
## **主键**
统一主键名称id属性Long
## **sonerlint扫描**
sonerlint扫描按建议修改相关不规范的代码
## **接口路径**
尽量不用路径参数、且路径直接放在接口上,不放在常量里
## **冗余方法、类**
删除掉不用的冗余方法、类
## **日志**
sql 日志打印的话加个拦截器简化sql
<font color=#008000>增加requestid 基于MDC--已完成</font>
## **数据权限**
将原有的checkOwner做成通用的