You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
78 lines
1.7 KiB
Java
78 lines
1.7 KiB
Java
3 years ago
|
package com.engine.organization.service;
|
||
|
|
||
|
import com.api.browser.bean.SearchConditionItem;
|
||
|
import com.engine.organization.entity.TopTab;
|
||
|
import weaver.hrm.User;
|
||
|
|
||
|
import java.util.List;
|
||
|
import java.util.Map;
|
||
|
|
||
|
/**
|
||
|
* @description: TODO
|
||
|
* @author:dxfeng
|
||
|
* @createTime: 2022/05/24
|
||
|
* @version: 1.0
|
||
|
*/
|
||
|
public interface ExtService {
|
||
|
|
||
|
/**
|
||
|
* 组装主表拓展表表单
|
||
|
*
|
||
|
* @param user
|
||
|
* @param extendType
|
||
|
* @param tableName
|
||
|
* @param viewAttr
|
||
|
* @param id
|
||
|
* @param groupId
|
||
|
* @return
|
||
|
*/
|
||
|
List<SearchConditionItem> getExtForm(User user, String extendType, String tableName, int viewAttr, long id, String groupId);
|
||
|
|
||
|
/**
|
||
|
* 组装明细表表单
|
||
|
*
|
||
|
* @param user
|
||
|
* @param extendType
|
||
|
* @param tableName
|
||
|
* @param id
|
||
|
* @param viewAttr
|
||
|
* @param showLabel
|
||
|
* @return
|
||
|
*/
|
||
|
List<Map<String, Object>> getExtendTables(User user, String extendType, String tableName, long id, int viewAttr, boolean showLabel);
|
||
|
|
||
|
/**
|
||
|
* 拓展页面分组
|
||
|
*
|
||
|
* @param extendType
|
||
|
* @param tableName
|
||
|
* @return
|
||
|
*/
|
||
|
List<TopTab> getTabInfo(String extendType, String tableName);
|
||
|
|
||
|
|
||
|
/**
|
||
|
* 更新主表拓展表
|
||
|
*
|
||
|
* @param user
|
||
|
* @param extendType
|
||
|
* @param tableName
|
||
|
* @param params
|
||
|
* @param groupId
|
||
|
* @param id
|
||
|
* @return
|
||
|
*/
|
||
|
int updateExtForm(User user, String extendType, String tableName, Map<String, Object> params, String groupId, Long id);
|
||
|
|
||
|
/**
|
||
|
* 更新明细表
|
||
|
*
|
||
|
* @param user
|
||
|
* @param extendType
|
||
|
* @param tableName
|
||
|
* @param params
|
||
|
* @param id
|
||
|
*/
|
||
|
void updateExtDT(User user, String extendType, String tableName, Map<String, Object> params, Long id);
|
||
|
}
|