feat:web模块包名调整

This commit is contained in:
曾文豪
2024-06-26 10:13:42 +08:00
parent c0ded4356f
commit 093d39a108
60 changed files with 149 additions and 162 deletions

View File

@@ -0,0 +1,25 @@
package com.tiesheng.web.util;
import java.util.List;
public interface ProcessImportConsumer<T> {
/**
* 处理数据
*
* @param list
* @param <T>
* @return 返回成功的数量
*/
int accept(List<T> list);
/**
* 获取失败的文件路径
*
* @return
*/
String getFailFile();
}

View File

@@ -0,0 +1,16 @@
package com.tiesheng.web.util;
public interface ProcessSyncConsumer {
/**
* 分页数据
*
* @param pageNum
* @param pageSize
* @return 返回成功的数量
*/
int accept(Integer pageNum, Integer pageSize);
}