diff --git a/src/main/java/aiyh/utils/response_deal/state/InsertOrUpdateState.java b/src/main/java/aiyh/utils/response_deal/state/InsertOrUpdateState.java index 549969d..db7e023 100644 --- a/src/main/java/aiyh/utils/response_deal/state/InsertOrUpdateState.java +++ b/src/main/java/aiyh/utils/response_deal/state/InsertOrUpdateState.java @@ -22,9 +22,6 @@ public class InsertOrUpdateState extends State{ @Override public void handle() { - if(ResponseUtil.parameterIsNotNull(this.context.getTableDefinitionCallback())){ - this.context.getTableDefinitionCallback().tableHandle(this.context); - } List rowDefinitionList = this.context.getRowDefinitionList(); List updateRowList = new ArrayList<>(); List insertRowList = new ArrayList<>(); @@ -55,7 +52,6 @@ public class InsertOrUpdateState extends State{ BeanUtil.copyProperties(this.context,tableDefinition); tableDefinition.setState(null); tableDefinition.setRowDefinitionList(rowDefinitionList); - tableDefinition.setTableDefinitionCallback(null); tableDefinition.setAssignType(assignType); tableDefinition.setDefaultState(null); tableDefinition.dataProcess();