表单中的数据表达式,季度中有三个主键:单位,年份,季度
select * from CCII_AC_SEASON_F where 1=1 $SQL[[ and orgid = '$RS{ac.season.f.form.orgid,ac.ac.season.f.form.orgid}' and quarterid = '$RS{ac.season.f.form.quarterid,ac.ac.season.f.form.quarterid}' and year = $RS{ac.season.f.form.year,ac.ac.season.f.form.year}]]
ac.season.f.form.year为以ac.season.f.form为单元的元素year;
ac.ac.season.f.form.year为以ac为域名ac.season.f.form为单元的元素year。
'$RS{string1,string2}'为获取string1的值,有返回,否则在string2中获取值,最后按string2存入。
阅读(557) | 评论(0) | 转发(0) |