產(chǎn)品去年添加數(shù)量統(tǒng)計(jì)標(biāo)簽
2022-11-28 加入收藏
{eyou:sql sql='SELECT count(aid) AS count FROM ey_archives WHERE status = 1 AND YEAR(FROM_UNIXTIME(ADD_TIME))=YEAR(date_sub(now(),INTERVAL 1 YEAR)) AND channel = 2' cachetime='-1'}{$field.count}{/eyou:sql}