添加达梦VARCHAR2的反签;修改元数据id的最大值
| | |
| | | List<BtmTypeAttributeVO> beforeAttributes = btmTypeByOid.getAttributes(); |
| | | // 处理属性,多余的删除,不存在的添加 |
| | | afterAttributes = updateAttributeForBtm(btmTypeByOid.getOid(),beforeAttributes, attributes); |
| | | baseMapper.updateByPrimaryKey(btmTypeDO); |
| | | } |
| | | BtmTypeVO btmTypeVO = BtmTypeWrapper.build().entityVO(btmTypeDO); |
| | | //在创建表的时候还需要把默认的字段带上。 |
| | |
| | | List<BtmTypeAttributeVO> voListAdd = btmTypeAttributeService.checkAndInsert(oid, addList, AuthUtil.getUserAccount(), new Date()); |
| | | List<BtmTypeAttributeVO> voListUpdate = btmTypeAttributeService.checkAndUpdate(oid, modifyList, AuthUtil.getUserAccount(), new Date()); |
| | | List<BtmTypeAttributeVO> returnList = new ArrayList<>(); |
| | | returnList.addAll(Objects.requireNonNull(voListAdd)); |
| | | returnList.addAll(Objects.requireNonNull(voListUpdate)); |
| | | if(!CollectionUtils.isEmpty(voListAdd)) { |
| | | returnList.addAll(Objects.requireNonNull(voListAdd)); |
| | | } |
| | | if(!CollectionUtils.isEmpty(voListUpdate)) { |
| | | returnList.addAll(Objects.requireNonNull(voListUpdate)); |
| | | } |
| | | return returnList; |
| | | } |
| | | |
| | |
| | | sub_life_cycle_name = #{subLifeCycleName,jdbcType=VARCHAR}, |
| | | view_flag = #{viewFlag,jdbcType=VARCHAR}, |
| | | view_create_sql = #{viewCreateSql,jdbcType=VARCHAR}, |
| | | btm_name =#{btmName,jdbcType=VARCHAR }, |
| | | owner = #{owner,jdbcType=VARCHAR }, |
| | | creator = #{creator,jdbcType=VARCHAR}, |
| | | create_time = #{createTime,jdbcType=TIMESTAMP}, |
| | | last_modifier = #{lastModifier,jdbcType=VARCHAR}, |
| | | last_modify_time = #{lastModifyTime,jdbcType=TIMESTAMP}, |
| | | ts = #{ts,jdbcType=TIMESTAMP}, |
| | | biz-domain = #{bizDomain,jdbcType=VARCHAR}, |
| | | biz_domain = #{bizDomain,jdbcType=VARCHAR}, |
| | | consistence = #{consistence,jdbcType=VARCHAR} |
| | | where OID = #{oid,jdbcType=VARCHAR} |
| | | </update> |