---测试远程jar包管理功能

This commit is contained in:
2025-11-04 18:19:42 +08:00
parent 82fbaa4f25
commit d54cee4d44
5 changed files with 32 additions and 24 deletions

View File

@ -142,34 +142,17 @@ public class Testfrom3Controller {
@Override
public UpdateTestfrom3Dto before(DataOperationContent<UpdateTestfrom3Dto> content) {
if(content.getType()==OperationType.DELETE) {
CommonCallUtils.deleteBefore(content.getTableName(),content.getIdValue());
}else if(content.getType()==OperationType.DISABLE){
CommonCallUtils.disableBefore(content.getTableName(),content.getIdValue());
}else if(content.getType()==OperationType.ENABLE){
CommonCallUtils.enableBefore(content.getTableName(),content.getIdValue());
}
return content.getObj();
}
@Override
public UpdateTestfrom3Dto after(DataOperationContent<UpdateTestfrom3Dto> content) {
if(content.getType()==OperationType.INSERT || content.getType()==OperationType.UPDATE) {
if(content.getType()==OperationType.UPDATE) {
CommonCallUtils.saveAfter(content.getTableName(),content.getIdValue());
}
return content.getObj();
}
@Override
public void onError(DataOperationContent<UpdateTestfrom3Dto> content) {
// TODO Auto-generated method stub
}
@Override
public void onFinally(DataOperationContent<UpdateTestfrom3Dto> content) {
// TODO Auto-generated method stub
}
}));
}