/*
|
* Copyright (c) 2018-2028, Chill Zhuang All rights reserved.
|
*
|
* Redistribution and use in source and binary forms, with or without
|
* modification, are permitted provided that the following conditions are met:
|
*
|
* Redistributions of source code must retain the above copyright notice,
|
* this list of conditions and the following disclaimer.
|
* Redistributions in binary form must reproduce the above copyright
|
* notice, this list of conditions and the following disclaimer in the
|
* documentation and/or other materials provided with the distribution.
|
* Neither the name of the dreamlu.net developer nor the names of its
|
* contributors may be used to endorse or promote products derived from
|
* this software without specific prior written permission.
|
* Author: Chill 庄骞 (smallchill@163.com)
|
*/
|
package com.vci.ubcs.code.service;
|
|
import com.baomidou.mybatisplus.core.metadata.IPage;
|
import com.baomidou.mybatisplus.extension.service.IService;
|
import com.vci.ubcs.code.entity.CodeClstempattrEntity;
|
import com.vci.ubcs.code.vo.CodeClstempattrVO;
|
|
import java.util.Collection;
|
import java.util.List;
|
|
/**
|
* 编码库定义-模板属性 服务类
|
*
|
* @author yuxc
|
* @since 2023-04-19
|
*/
|
public interface ICodeClstempattrService extends IService<CodeClstempattrEntity> {
|
|
/**
|
* 自定义分页
|
*
|
* @param page
|
* @param CodeClstempattr
|
* @return
|
*/
|
IPage<CodeClstempattrVO> selectCodeClstempattrPage(IPage<CodeClstempattrVO> page, CodeClstempattrVO CodeClstempattr);
|
|
/**
|
* 使用模板的主键获取模板的属性--批量
|
* @param templateOidCollection 模板的主键
|
* @return 属性的信息
|
*/
|
List<CodeClstempattrVO> listCodeClassifyTemplateAttrByTemplateOids(Collection<String> templateOidCollection);
|
|
/**
|
* 批量数据对象转换为显示对象
|
* @param codeClassifyTemplateAttrDOs 数据对象列表
|
* @return 显示对象
|
*/
|
List<CodeClstempattrVO> codeClassifyTemplateAttrDO2VOs(Collection<CodeClstempattrEntity> codeClassifyTemplateAttrDOs);
|
|
/**
|
* 数据对象转换为显示对象
|
* @param codeClassifyTemplateAttrDO 数据对象
|
* @return 显示对象
|
*/
|
CodeClstempattrVO codeClassifyTemplateAttrDO2VO(CodeClstempattrEntity codeClassifyTemplateAttrDO);
|
|
}
|