weaver-hrm-organization/src/com/engine/organization/mapper/extend/ExtendInfoMapper.java

33 lines
971 B
Java
Raw Normal View History

package com.engine.organization.mapper.extend;
import com.engine.organization.entity.extend.po.ExtendInfoPO;
import org.apache.ibatis.annotations.Param;
import java.util.List;
/**
2022-06-14 11:07:48 +08:00
* @description:
* @author:dxfeng
* @createTime: 2022/05/19
* @version: 1.0
*/
public interface ExtendInfoMapper {
2022-06-15 17:17:34 +08:00
2022-06-16 14:19:54 +08:00
List<ExtendInfoPO> listFields(@Param("extendType") String extendType, @Param("extendGroupId") String extendGroupId, @Param("tableName") String tableName, @Param("operateType") String operateType);
2022-06-14 15:29:22 +08:00
int countFieldsByGroupId(@Param("groupId") Long groupId);
2022-06-15 17:17:34 +08:00
2022-06-16 09:37:36 +08:00
int updateExtendInfo(ExtendInfoPO extendInfo);
2022-06-16 14:19:54 +08:00
int insertExtendInfo(ExtendInfoPO extendInfo);
// 添加表结构
void addTableColumn(@Param("tableName") String tableName, @Param("fieldName") String fieldName, @Param("dbType") String dbType);
Long getMaxId();
2022-06-16 17:53:48 +08:00
List<Object> listFieldsByTableName(@Param("tableName") String tableName, @Param("fieldName") String fieldName);
2022-06-15 17:17:34 +08:00
}