feat:web模块包名调整
This commit is contained in:
@@ -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();
|
||||
|
||||
}
|
||||
@@ -0,0 +1,16 @@
|
||||
package com.tiesheng.web.util;
|
||||
|
||||
public interface ProcessSyncConsumer {
|
||||
|
||||
|
||||
/**
|
||||
* 分页数据
|
||||
*
|
||||
* @param pageNum
|
||||
* @param pageSize
|
||||
* @return 返回成功的数量
|
||||
*/
|
||||
int accept(Integer pageNum, Integer pageSize);
|
||||
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user