数据库的配置是一样的
执行分页 PageHelper 的时候只执行了一个
Preparing: SELECT count(0) FROM ((((((tbl_member_user_info t1 INNER JOIN tbl_card_info t2 ON t2.card_no = t1.base_card_no) LEFT JOIN tbl_member_bind_user_info t3 ON t3.member_no = t1.member_no) LEFT JOIN tbl_card_acct_info t4 ON t4.card_no = t1.base_card_no) LEFT JOIN tbl_growth_value_info t5 ON t5.card_no = t1.base_card_no) LEFT JOIN tbl_member_config t6 ON t6.mcht_no = t1.mcht_no) LEFT JOIN mcht_base_info m ON m.mcht_no = t1.mcht_no) WHERE 1 = 1 AND t1.mcht_no = ?
类似这样的分页查询,但是没有执行实际数据的查询操作,如果正确查询应该会再执行一个实际列表的语句
Preparing: select t1.mcht_no, t1.member_no, t1.base_card_no as card_no, t1.member_name, t1.member_gender, t1.member_phone_area_no, t1.member_phone, t1.member_status, t1.create_time, t4.acct_balance, t5.growth_value, t5.level_value, t3.bind_user_id, t6.member_config_logo, m.mcht_name, m.mcht_name_abbr from ((((((tbl_member_user_info t1 inner join tbl_card_info t2 on t2.card_no = t1.base_card_no) left join tbl_member_bind_user_info t3 on t3.member_no = t1.member_no) left join tbl_card_acct_info t4 on t4.card_no = t1.base_card_no) left join tbl_growth_value_info t5 on t5.card_no=t1.base_card_no) left join tbl_member_config t6 on t6.mcht_no = t1.mcht_no) left join mcht_base_info m on m.mcht_no = t1.mcht_no) where 1=1 and t1.mcht_no = ? order by t1.create_time desc LIMIT ?
不知道什么原因。。。
1
fmumu 2019-09-02 20:51:46 +08:00 via Android
字符集,排序规则,数据库是装在 windows 还是 linux 系统上,就这几个原因
|
2
V2exUser 2019-09-02 22:04:42 +08:00 via iPhone
jalor 666
|
3
linde 2019-09-02 22:08:08 +08:00
两个环境的数据库配置应该不一样。
|
4
buliugu 2019-09-03 09:42:30 +08:00 1
mysql 的话看一下参数 lower_case_table_names
|