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