1、debug,断点打在方法开始处
2、一步一步执行,看变量值(如0与1,true与false)
3、查看sql查询语句(控制台看)
17:50:31.508 [http-nio-8189-exec-3] DEBUG c.u.n.m.m.d.m.T.selectTimePermissionByCode - [debug,137] - ==> Preparing: select id, province_code, province_name, begin_time, end_time, create_time, update_time, status from time_permission where province_code = ?
4、postman调