inser/update state中取消回调
parent
92503d4325
commit
1dff070cc1
|
@ -22,9 +22,6 @@ public class InsertOrUpdateState extends State{
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void handle() {
|
public void handle() {
|
||||||
if(ResponseUtil.parameterIsNotNull(this.context.getTableDefinitionCallback())){
|
|
||||||
this.context.getTableDefinitionCallback().tableHandle(this.context);
|
|
||||||
}
|
|
||||||
List<RowDefinition> rowDefinitionList = this.context.getRowDefinitionList();
|
List<RowDefinition> rowDefinitionList = this.context.getRowDefinitionList();
|
||||||
List<RowDefinition> updateRowList = new ArrayList<>();
|
List<RowDefinition> updateRowList = new ArrayList<>();
|
||||||
List<RowDefinition> insertRowList = new ArrayList<>();
|
List<RowDefinition> insertRowList = new ArrayList<>();
|
||||||
|
@ -55,7 +52,6 @@ public class InsertOrUpdateState extends State{
|
||||||
BeanUtil.copyProperties(this.context,tableDefinition);
|
BeanUtil.copyProperties(this.context,tableDefinition);
|
||||||
tableDefinition.setState(null);
|
tableDefinition.setState(null);
|
||||||
tableDefinition.setRowDefinitionList(rowDefinitionList);
|
tableDefinition.setRowDefinitionList(rowDefinitionList);
|
||||||
tableDefinition.setTableDefinitionCallback(null);
|
|
||||||
tableDefinition.setAssignType(assignType);
|
tableDefinition.setAssignType(assignType);
|
||||||
tableDefinition.setDefaultState(null);
|
tableDefinition.setDefaultState(null);
|
||||||
tableDefinition.dataProcess();
|
tableDefinition.dataProcess();
|
||||||
|
|
Loading…
Reference in New Issue