mirror of
https://github.com/Kingsrook/qqq.git
synced 2025-07-18 05:01:07 +00:00
Merge branch 'feature/CE-2261-packing-slip-template-config' into integration/sprint-61
This commit is contained in:
@ -93,8 +93,8 @@ public class RDBMSInsertAction extends AbstractRDBMSAction implements InsertInte
|
||||
|
||||
for(List<QRecord> page : CollectionUtils.getPages(insertInput.getRecords(), getActionStrategy().getPageSize(insertInput)))
|
||||
{
|
||||
String tableName = escapeIdentifier(getTableName(table));
|
||||
sql = new StringBuilder("INSERT INTO ").append(tableName).append("(").append(columns).append(") VALUES");
|
||||
String backendTableName = escapeIdentifier(getTableName(table));
|
||||
sql = new StringBuilder("INSERT INTO ").append(backendTableName).append("(").append(columns).append(") VALUES");
|
||||
params = new ArrayList<>();
|
||||
int recordIndex = 0;
|
||||
|
||||
@ -135,7 +135,7 @@ public class RDBMSInsertAction extends AbstractRDBMSAction implements InsertInte
|
||||
QRecord outputRecord = new QRecord(record);
|
||||
if(!StringUtils.hasContent(outputRecord.getTableName()))
|
||||
{
|
||||
outputRecord.setTableName(tableName);
|
||||
outputRecord.setTableName(table.getName());
|
||||
}
|
||||
outputRecords.add(outputRecord);
|
||||
}
|
||||
@ -158,7 +158,7 @@ public class RDBMSInsertAction extends AbstractRDBMSAction implements InsertInte
|
||||
QRecord outputRecord = new QRecord(record);
|
||||
if(!StringUtils.hasContent(outputRecord.getTableName()))
|
||||
{
|
||||
outputRecord.setTableName(tableName);
|
||||
outputRecord.setTableName(table.getName());
|
||||
}
|
||||
outputRecords.add(outputRecord);
|
||||
|
||||
|
Reference in New Issue
Block a user