日期:2014-05-18 浏览次数:20393 次
for (var i = 0; i < list.length; i++) { $("<tr>").data("ID", list[i]["ID"]).attr("class", (i % 2) ? "even" : "") .append($("<td>").html("<input type=\"checkbox\" id=\"" + list[i]["ID"] + "\" />")) .append($("<td>").html(list[i]["cm_casenum"])) .append($("<td>").html(list[i]["cm_plaintiff"])) .append($("<td>").html(list[i]["cm_defendant"])) .append($("<td>").html(list[i]["cm_type"])) .append($("<td>").html(list[i]["cm_filingdate"])) .appendTo($(table)); }
SELECTCONVERT(VARCHAR(10), CreateTime, 120) AS CreateTime, CASE PayType WHEN'支付宝'THENSUM(Money) ELSE0ENDAS'支付宝', CASE PayType WHEN'手机短信'THENSUM(Money) ELSE0ENDAS'手机短信', CASE PayType WHEN'工商银行卡'THENSUM(Money) ELSE0ENDAS'工商银行卡', CASE PayType WHEN'建设银行卡'THENSUM(Money) ELSE0ENDAS'建设银行卡' FROM Inpours GROUPBY CreateTime, PayType