mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-06 18:21:39 +09:00
카운터 페이지뷰 업데이트시 쿼리 횟수 줄임
git-svn-id: http://xe-core.googlecode.com/svn/sandbox@5247 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
3dfc697467
commit
8c66609bec
2 changed files with 2 additions and 3 deletions
|
|
@ -68,9 +68,8 @@
|
|||
* @brief pageview 등록
|
||||
**/
|
||||
function insertPageView() {
|
||||
$args->regdate = date("Ymd");
|
||||
$args->regdate = '0, '.date('Ymd');
|
||||
executeQuery('counter.updateCounterPageview', $args);
|
||||
executeQuery('counter.updateTotalCounterPageview');
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
|||
|
|
@ -6,6 +6,6 @@
|
|||
<column name="pageview" default="plus(1)" />
|
||||
</columns>
|
||||
<conditions>
|
||||
<condition operation="equal" column="regdate" var="regdate" notnull="notnull" />
|
||||
<condition operation="in" column="regdate" var="regdate" notnull="notnull" />
|
||||
</conditions>
|
||||
</query>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue