| | |
| | | |
| | | import com.vci.starter.word.bo.WordMergeStartTableDataBO; |
| | | import com.vci.ubcs.ddl.bo.DdlTableBO; |
| | | import com.vci.ubcs.omd.dto.BtmAndLinkTypeDdlDTO; |
| | | import com.vci.ubcs.omd.dto.BtmTypeDTO; |
| | | import com.vci.ubcs.omd.entity.ModifyAttributeInfoDO; |
| | | import com.vci.ubcs.omd.entity.ModifyAttributeInfo; |
| | | import com.vci.ubcs.omd.vo.BtmTypeAttributeVO; |
| | | import com.vci.ubcs.omd.vo.BtmTypeVO; |
| | | import com.vci.ubcs.omd.vo.LinkTypeAttributeVO; |
| | |
| | | * @throws VciBaseException 参数为空或者创建表出现了错误的时候会抛出异常 |
| | | */ |
| | | void createDbTablesByOidCollection(Collection<String> oidCollection) throws VciBaseException; |
| | | |
| | | /** |
| | | * 获取创建的sql语句中属性部分 |
| | | * @param attributeVOList 属性的立碑 |
| | | * @return sql语句 |
| | | */ |
| | | String getCreateSqlByAttributeForBtm(List<BtmTypeAttributeVO> attributeVOList); |
| | | |
| | | /** |
| | | * 批量将业务类型创建数据库表 |
| | |
| | | * @param linkTypeVOList 链接类型对象,有属性时需要包含属性 |
| | | * @return 不同的地方,每一个业务类型或者链接类型一条数据 |
| | | */ |
| | | List<ModifyAttributeInfoDO> checkDifferent(List<BtmTypeVO> btmTypeVOList, List<LinkTypeVO> linkTypeVOList) throws VciBaseException; |
| | | List<ModifyAttributeInfo> checkDifferent(List<BtmTypeVO> btmTypeVOList, List<LinkTypeVO> linkTypeVOList) throws VciBaseException; |
| | | |
| | | /** |
| | | * 清理业务类型中和数据库里不一样的 |
| | | * @param differentAttributeList 不同的属性的列表 |
| | | * @param btmTypeVOList 业务类型数据 |
| | | * @param linkTypeVOList 链接类型数据 |
| | | * @throws VciBaseException 参数为空或者执行出错的时候会抛出异常 |
| | | */ |
| | | void reflexDifferent(List<ModifyAttributeInfoDO> differentAttributeList) throws VciBaseException; |
| | | void reflexDifferent(List<ModifyAttributeInfo> differentAttributeList,List<BtmTypeVO> btmTypeVOList, List<LinkTypeVO> linkTypeVOList) throws VciBaseException; |
| | | |
| | | /** |
| | | * 获取数据库中所有的表格 |
| | |
| | | |
| | | /** |
| | | * 数据库新增或修改表 |
| | | * @param dto 业务类型传输对象 |
| | | * @param ddlDTO 业务类型传输对象 |
| | | * @return 执行结果 |
| | | */ |
| | | R submitBtmType(BtmTypeDTO dto); |
| | | R submit(BtmAndLinkTypeDdlDTO ddlDTO); |
| | | |
| | | /** |
| | | * 按表名获取表信息 |