lgy 4 주 전
부모
커밋
de465209ab
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  1. 1 0
      server/application/api/dao/butt/ButtDao.php

+ 1 - 0
server/application/api/dao/butt/ButtDao.php

@@ -373,6 +373,7 @@ class ButtDao extends ZskkDefaultDao {
 
     public function insertDmLog($insert)
     {
+        $this->dmlog->where('id <> 0')->delete();
         return $this->dmlog->insert($insert);
     }