摘要:
$info = M('Order')->alias('a') ->field('count(DISTINCT(a.order_user_id)) as buy_user_num,count(*) as sum,sum(a.close_pay) as order_sum') ->join('__APP 阅读全文
摘要:
function getSevertime(){ var xmlHttp = new XMLHttpRequest(); xmlHttp.open("get",location.href,false); xmlHttp.send(); var severtime=new Date(xmlHttp.g 阅读全文
摘要:
每周: select count(*) as cnt,week(editdate) as weekflg from projects where year(editdate)=2007 group by weekflg 每月: select count(*) as cnt,month(editdat 阅读全文