BaseService报错

Blade 未结 1 13

BaseService的所有saveOrUpdate都报错请问怎么解决image.png

image.png

### Error updating database.  Cause: java.sql.SQLException: Parameter index out of range (1 > number of parameters, which is 0).

### The error may exist in org/springblade/modules/develop/mapper/DatasourceMapper.java (best guess)

### The error may involve org.springblade.modules.develop.mapper.DatasourceMapper.insert-Inline

### The error occurred while setting parameters

### SQL: INSERT INTO blade_datasource (id, category, name, driver_class, url, username, password, sharding_config, remark, create_user, create_dept, create_time, update_user, update_time, status, is_deleted) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)

### Cause: java.sql.SQLException: Parameter index out of range (1 > number of parameters, which is 0).

; Parameter index out of range (1 > number of parameters, which is 0).; nested exception is java.sql.SQLException: Parameter index out of range (1 > number of parameters, which is 0).


1条回答
  • 有没有做过改动或者自定义了方法,用原版的blade框架试试能不能提交

    0 讨论(0)
提交回复