git 2 년 전
부모
커밋
41a3428228
1개의 변경된 파일6개의 추가작업 그리고 0개의 파일을 삭제
  1. 6 0
      Home/Lib/Action/RouteRfidKafkaAction.class.php

+ 6 - 0
Home/Lib/Action/RouteRfidKafkaAction.class.php

@@ -462,8 +462,14 @@ class RouteRfidKafkaAction extends Action {
 				'num'=>1,
 			);
 			$res=M('station_passing')->createAdd($total_data);
+			if(!$res){
+				$this->debug_log( 'station_passing_error', M('station_passing')->getLastSql());
+			}
 		}else{
 			$res=M('station_passing')->where($to_cond)->setInc('num');
+			if(!$res){
+				$this->debug_log( 'station_passing_error', M('station_passing')->getLastSql());
+			}
 		}
 		return $res;
 	}