java.sql.SQLException: Field 'PK_ID' doesn't have a default value
at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:946)
at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:2985)
at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:1631)
at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:1723)
at com.mysql.jdbc.Connection.execSQL(Connection.java:3283)
at com.mysql.jdbc.PreparedStatement.executeInternal(PreparedStatement.java:1332)
at com.mysql.jdbc.PreparedStatement.executeUpdate(PreparedStatement.java:1604)
at com.mysql.jdbc.PreparedStatement.executeUpdate(PreparedStatement.java:1519)
at com.mysql.jdbc.PreparedStatement.executeUpdate(PreparedStatement.java:1504)
这个是我的触发器代码CREATE TRIGGER 
qim_trigger_qi_form_insert
AFTER 
INSERT 
ON 
qi_form
FOR EACH ROW 
BEGIN
  IF NEW.ID>0 THEN
    INSERT INTO ccec_t_triggerrecord
    (TABLE_NAME,ATTR_FOR_SYNC,TRIGGER_DATE,TRIGGER_TYPE,TRIGGER_SOURCE,TRIGGER_FLAG)
    VALUES
    ('qi_form', NEW.ID, DATE_FORMAT(now(), '%Y-%c-%d %H:%i:%s'), 'insert','qim','0');
  END IF;
END;
大虾们有人能解决吗?