摘要:
1. #将传入的数据都当成一个字符串,会对自动传入的数据加一个双引号。如:order by #user_id#,如果传入的值是111,那么解析成sql时的值为order by "111", 如果传入的值是id,则解析成的sql为order by "id". 2. $将传入的数据直接显示生成在sql中 阅读全文
摘要:
LiveList.sort(this.compare('StartDate')) //StartData:需要排序的时间 compare: function (property) { return function (a, b) { var value1 = (new Date(a[property 阅读全文