Source/plt-web/plt-web-parent/plt-web/src/main/java/com/vci/web/service/OsBtmServiceI.java
@@ -3,6 +3,7 @@
import com.vci.corba.common.PLException;
import com.vci.corba.omd.btm.BizType;
import com.vci.dto.OsBtmTypeDTO;
import com.vci.model.IndexObject;
import com.vci.pagemodel.OsBtmTypeAttributeVO;
import com.vci.pagemodel.OsBtmTypeVO;
import com.vci.pagemodel.OsERVO;
@@ -11,7 +12,9 @@
import com.vci.starter.web.pagemodel.DataGrid;
import com.vci.starter.web.pagemodel.PageHelper;
import com.vci.starter.web.pagemodel.Tree;
import org.springframework.web.multipart.MultipartFile;
import javax.servlet.http.HttpServletResponse;
import java.io.IOException;
import java.text.ParseException;
import java.util.Collection;
@@ -187,7 +190,7 @@
     * @param bizTypes
     * @return
     */
    boolean addBtmTypes(List<BizType> bizTypes);
    //boolean addBtmTypes(List<BizType> bizTypes);
    /**
     * 修改业务类型
@@ -249,26 +252,39 @@
    BaseResult deleteAllType() throws PLException;
    /**
     * 根据业务类型名称和其下的属性名称获取也有的索引
     * @param btmName
     * @param attrName
     * 根据业务类型名称和索引名称查询获取已有的索引
     * @param conditionMap 根据查询条件传参: typename:业务类型名;indexname:索引名
     * @return
     */
    List<String> getIndexByBtmAndAttrName(String btmName,String attrName);
    List<IndexObject> getIndexByCondition(Map<String,String> conditionMap) throws PLException;
    /**
     * 根据业务类型名称和其下的属性名称删除索引
     * @param btmName
     * @param attrName
     * @param indexName
     * @return
     */
    boolean delIndexByBtmAndAttrName(String btmName,String attrName);
    boolean delIndex(String btmName,String indexName) throws PLException;
    /**
     * 给业务类型下的指定属性新增索引
     * @param addMap 如:(btmName:part  attrName:name  indexName: PARTNAMEINDEX)
     * @param indexObjectList
     * @return
     */
    boolean addIndex(Map<String,String> addMap);
    boolean addIndex(List<IndexObject> indexObjectList) throws PLException;
    /**
     * 导出业务类型
     * name 业务类型名称
     * @return 创建结果
     */
    void expData(String oid, HttpServletResponse response) throws PLException, IOException;
    /**
     * 导入业务类型
     * @param file 上传的文件
     * @return
     */
    BaseResult impData(MultipartFile file) throws Exception;
}