#sql("xxx") UPDATE xxx SET #if(xx != null && xx != "") yy = #para(xx) #end #if(zz != null && zz != "") aa = aa + #para(zz), lasttime = now() #end WHERE id = #para(id) #end
在每条语句后面是否需要加逗号
#if(xx != null && xx != "") yy = #para(xx), #end #if(zz != null && zz != "") aa = aa + #para(zz), lasttime = now() #end
项目:JFinal