com.ape9527.core.mapper.BaseObjFieldMapper Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of ape-core Show documentation
Show all versions of ape-core Show documentation
Ape low code platform core module
The newest version!
package com.ape9527.core.mapper;
import com.ape9527.core.entity.BaseObj;
import com.ape9527.core.entity.BaseObjField;
import com.ape9527.core.model.base.CorrelatedBaseObj;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;
import java.util.List;
import java.util.Map;
/**
* 基础数据对象属性数据层
*
* @author YuanShuai[[email protected]]
*/
@Mapper
public interface BaseObjFieldMapper {
List selectList(BaseObjField field);
BaseObjField selectById(String uuid);
int insert(BaseObjField field);
int update(BaseObjField field);
int updateDelByIds(@Param("uuids") String[] uuids);
int insertBatch(@Param("fields") List fields);
int updateObjCodeByObjCode(@Param("oldObjCode") String oldObjCode, @Param("objCode") String objCode);
void initTable(@Param("baseObj") BaseObj baseObj, @Param("fields") List fields);
void insertColumn(BaseObjField field);
void updateColumn(@Param("oldFieldCode") String fieldCode, @Param("field") BaseObjField field);
List