tongshanglei 1 year ago
parent
commit
631ddd7414
1 changed files with 1 additions and 1 deletions
  1. 1 1
      catch/yunying/controller/Vehicle.php

+ 1 - 1
catch/yunying/controller/Vehicle.php

@@ -415,7 +415,7 @@ class Vehicle extends CatchController
           
                 INSERT INTO DSSC3.W_DW_RFID_TAGS("ID", "RFID_SN","INSTALLER","INSTA_DATE") VALUES (DSSC3.SEQ_W_DW_RFID_TAGS.nextval, :col1,:col2, TO_DATE(:col3, \'SYYYY-MM-DD HH24:MI:SS\'))  returning ID into tagId;
                 INSERT INTO DSSC3.W_DW_NON_MOTOR_OWNER("ID", "NAME","ID_CARD_NUMBER","MOBILE_NUMBER",,"HOME_ADDRESS") VALUES (DSSC3.SEQ_W_DW_NON_MOTOR_OWNER.nextval,:col4,:col5,:col6,:col7) returning ID into ownId;
-                INSERT INTO DSSC3.W_DW_NON_MOTOR("ID", "RFID_ID","PLATE_NO","CAR_BRAND","CAR_TYPE","CAR_VIN","OWNER_ID") VALUES (DSSC3.SEQ_W_DW_RFID_TAGS.nextval, tagId,:col8,:col9,:col10,:col11,ownId);
+                INSERT INTO DSSC3.W_DW_NON_MOTOR("ID", "RFID_ID","PLATE_NO","CAR_BRAND","CAR_TYPE","CAR_VIN","OWNER_ID") VALUES (DSSC3.W_DW_NON_MOTOR.nextval, tagId,:col8,:col9,:col10,:col11,ownId);
             end;';
 
             $stmt = oci_parse($conn, $sql);