原SQL:
select * from SJ where 1=1 order by case when ????????????
替换后
select count(*) from SJ where 1=1 when ????????????
项目:JFinal
原SQL:
select * from SJ where 1=1 order by case when ????????????
替换后
select count(*) from SJ where 1=1 when ????????????