select ID,COMMAND,DESCRIPTION,CONTENT from message where 1=1
<if test="command!=null and !''.equals(command.trim()) ">
and COMMAND=#{command}
</if>
<if test="description!=null and !''.equals(description.trim()) ">
and DESCRIPTION like '%' #{description} '%'
</if>
<if test="command!=null and !''.equals(command.trim()) ">
and COMMAND=#{command}
</if>
<if test="description!=null and !''.equals(description.trim()) ">
and DESCRIPTION like '%' #{description} '%'
</if>
2015-11-06
<script type="text/javascript">
//post 方式提交
$(document).ready(function(){
$("a[class='aa']").each(function(){$(this).click(function(){$(this).after("<input type='hidden' name='id' value='"+$(this).attr("messageId")+"'/>");$("#mainForm").submit();});});});</script>
//post 方式提交
$(document).ready(function(){
$("a[class='aa']").each(function(){$(this).click(function(){$(this).after("<input type='hidden' name='id' value='"+$(this).attr("messageId")+"'/>");$("#mainForm").submit();});});});</script>
2015-10-30