|
@@ -655,7 +655,7 @@ public class FormExecuteServiceImpl implements IFormExecuteService {
|
|
|
//删除子表单数据
|
|
|
Entity childDeleteWhere = Entity.create(tableConfig.getTableName()).
|
|
|
set(childTableConfig.get().getRelationField(), keyValues);
|
|
|
- Boolean result = SqlRunnerAdapter.db().dynamicDelete(tableName, childDeleteWhere);
|
|
|
+ Boolean result = SqlRunnerAdapter.db().dynamicDelete(childTableConfig.get().getTableName(), childDeleteWhere);
|
|
|
if (!result) {
|
|
|
throw new MyException("删除数据失败");
|
|
|
}
|