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;
 	}