| | |
| | | package com.vci.ubcs.code.service.impl; |
| | | |
| | | |
| | | import com.vci.ubcs.code.constant.MdmBtmTypeConstant; |
| | | import com.vci.ubcs.code.dao.CodeBasicSecDaoI; |
| | | import com.vci.ubcs.code.mapper.CodeBasicSecMapper; |
| | | import com.vci.ubcs.code.mapper.CodeRuleMapper; |
| | | import com.vci.ubcs.code.lifecycle.CodeRuleLC; |
| | | import com.vci.ubcs.code.entity.CodeAllCodeDO; |
| | |
| | | * 码段基础信息数据操作层 |
| | | */ |
| | | @Resource |
| | | private CodeBasicSecDaoI codeBasicSecMapper; |
| | | private CodeBasicSecMapper codeBasicSecMapper; |
| | | |
| | | |
| | | /** |
| | |
| | | codeBasicSecDO.setOid(""); |
| | | codeBasicSecDO.setRevisionOid(""); |
| | | codeBasicSecDO.setNameOid(""); |
| | | BatchCBO cbo = codeBasicSecMapper.insert(codeBasicSecDO); |
| | | batchInsertCBO.addCreateCbo(cbo.getCreateCboArray()[0]); |
| | | //codeBasicSecMapper中的语句全部迁移到这里 |
| | | VciBaseUtil.alertNotNull(codeBasicSecDO,"要添加的数据"); |
| | | BatchCBO cbo = boService.addSave(codeBasicSecDO); |
| | | batchInsertCBO.addCreateCbo(cbo.getCreateCboArray()[0]); |
| | | }); |
| | | boService.persistenceBatch(batchInsertCBO); |
| | | return BaseResult.success(); |