标题:
如何在语句的查询列中 使用url传来的 参数
[打印本页]
作者:
arvato123
时间:
2012-10-30 18:24
标题:
如何在语句的查询列中 使用url传来的 参数
如 :select
(case when
参数
="1" then dealer_name_cn else dealer_name_en ) as dealer_name
from
cc_dealer
求解 ! 急! 谢谢!!!
作者:
admin
时间:
2012-10-31 09:44
url上,传入年份参数,比如myYear:
..... &myYear=2011&...
在sql中,使用:
select * from xxxx where year = ${myYear}
作者:
pguan
时间:
2014-8-12 22:34
请问myYear这个参数需要在设计器的参数定义中预先定义吗?
欢迎光临 杰表技术论坛 (http://bwtvl16d.jatools.com/)
Powered by Discuz! 6.1.0