|
楼主 |
发表于 2018-6-8 09:57:17
|
显示全部楼层
admin 发表于 2018-6-7 22:36
把minidao输出sql的日志解开,看看执行的sql是什么
Hibernate:
select
count(*)
from
t_s_function
where
functiontype = 0
and functionurl = 'nrdInvResultController.do?minidaoDatagrid'
Hibernate:
select
this_.ID as ID100_3_,
this_.parentfunctionid as parentf15_100_3_,
this_.iconid as iconid100_3_,
this_.desk_iconid as desk17_100_3_,
this_.create_by as create2_100_3_,
this_.create_date as create3_100_3_,
this_.create_name as create4_100_3_,
this_.function_icon_style as function5_100_3_,
this_.functioniframe as function6_100_3_,
this_.functionlevel as function7_100_3_,
this_.functionname as function8_100_3_,
this_.functionorder as function9_100_3_,
this_.functiontype as functio10_100_3_,
this_.functionurl as functio11_100_3_,
this_.update_by as update12_100_3_,
this_.update_date as update13_100_3_,
this_.update_name as update14_100_3_,
tsfunction2_.ID as ID100_0_,
tsfunction2_.parentfunctionid as parentf15_100_0_,
tsfunction2_.iconid as iconid100_0_,
tsfunction2_.desk_iconid as desk17_100_0_,
tsfunction2_.create_by as create2_100_0_,
tsfunction2_.create_date as create3_100_0_,
tsfunction2_.create_name as create4_100_0_,
tsfunction2_.function_icon_style as function5_100_0_,
tsfunction2_.functioniframe as function6_100_0_,
tsfunction2_.functionlevel as function7_100_0_,
tsfunction2_.functionname as function8_100_0_,
tsfunction2_.functionorder as function9_100_0_,
tsfunction2_.functiontype as functio10_100_0_,
tsfunction2_.functionurl as functio11_100_0_,
tsfunction2_.update_by as update12_100_0_,
tsfunction2_.update_date as update13_100_0_,
tsfunction2_.update_name as update14_100_0_,
tsicon3_.ID as ID101_1_,
tsicon3_.extend as extend101_1_,
tsicon3_.iconclas as iconclas101_1_,
tsicon3_.content as content101_1_,
tsicon3_.name as name101_1_,
tsicon3_.path as path101_1_,
tsicon3_.type as type101_1_,
tsicon4_.ID as ID101_2_,
tsicon4_.extend as extend101_2_,
tsicon4_.iconclas as iconclas101_2_,
tsicon4_.content as content101_2_,
tsicon4_.name as name101_2_,
tsicon4_.path as path101_2_,
tsicon4_.type as type101_2_
from
t_s_function this_
left outer join
t_s_function tsfunction2_
on this_.parentfunctionid=tsfunction2_.ID
left outer join
t_s_icon tsicon3_
on tsfunction2_.iconid=tsicon3_.ID
left outer join
t_s_icon tsicon4_
on tsfunction2_.desk_iconid=tsicon4_.ID
where
this_.functionurl=?
|
|