| | |
| | | import com.baomidou.mybatisplus.core.toolkit.CollectionUtils; |
| | | import com.baomidou.mybatisplus.core.toolkit.Wrappers; |
| | | import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; |
| | | import com.vci.ubcs.code.applyjtcodeservice.vo.GroupAttrPoolMappingVO; |
| | | import com.vci.ubcs.code.entity.CodeClassify; |
| | | import com.vci.ubcs.code.feign.ICodeClassifyClient; |
| | | import com.vci.ubcs.code.applyjtcodeservice.entity.*; |
| | |
| | | import com.vci.ubcs.starter.web.util.VciBaseUtil; |
| | | import com.vci.ubcs.code.applyjtcodeservice.vo.DockingPreAttrMappingVO; |
| | | import com.vci.ubcs.code.applyjtcodeservice.vo.DockingPreAttrRangeVO; |
| | | import lombok.extern.slf4j.Slf4j; |
| | | import org.springblade.core.tool.api.R; |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | | import org.springframework.context.annotation.Lazy; |
| | |
| | | * @date 2023-05-22 |
| | | */ |
| | | @Service |
| | | @Slf4j |
| | | public class DockingPreAttrMappingServiceImpl extends ServiceImpl<DockingPreAttrMappingMapper, DockingPreAttrMapping> implements IDockingPreAttrMappingService { |
| | | |
| | | /*** |
| | |
| | | return dockingPreAttrMappingVOList; |
| | | } |
| | | |
| | | @Override |
| | | public boolean syncGroupAttrMapping(List<GroupAttrPoolMappingVO> groupAttrPoolMappingVOS) { |
| | | log.info("开始集团属性池同步到集团属性映射配置表"); |
| | | //groupAttrPoolMappingVOS.stream().map(GroupAttrPoolMapping::getGroupAttrKey); |
| | | dockingPreAttrMappingMapper.selectList( |
| | | Wrappers.<DockingPreAttrMapping>query().lambda().in(DockingPreAttrMapping::getSourceClassifyId) |
| | | ); |
| | | log.info("集团属性池同步到集团属性映射配置表完成!"); |
| | | return false; |
| | | } |
| | | |
| | | } |