| | |
| | | package com.vci.ubcs.code.service.impl; |
| | | |
| | | <<<<<<< Updated upstream |
| | | import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper; |
| | | import com.baomidou.mybatisplus.core.toolkit.Wrappers; |
| | | import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; |
| | | ======= |
| | | import com.baomidou.mybatisplus.core.conditions.Wrapper; |
| | | import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper; |
| | | import com.baomidou.mybatisplus.core.mapper.BaseMapper; |
| | | import com.baomidou.mybatisplus.core.toolkit.Wrappers; |
| | | import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; |
| | | import com.vci.ubcs.code.entity.CodeShowFieldConfig; |
| | | >>>>>>> Stashed changes |
| | | import com.vci.ubcs.code.entity.CodeSrchCondConfig; |
| | | import com.vci.ubcs.code.mapper.CodeShowFieldConfigMapper; |
| | | import com.vci.ubcs.code.mapper.CodeSrchCondConfigMapper; |
| | | <<<<<<< Updated upstream |
| | | import com.vci.ubcs.code.service.ICodeSrchCondConfigService; |
| | | import com.vci.ubcs.code.vo.CodeSrchCondConfigVO; |
| | | import com.vci.ubcs.code.wrapper.CodeSrchCondConfigWraper; |
| | | ======= |
| | | import com.vci.ubcs.code.service.CodeSrchCondConfigService; |
| | | import com.vci.ubcs.code.vo.CodeSrchCondConfigVO; |
| | | import com.vci.ubcs.code.wrapper.CodeSrchCondConfigWraper; |
| | | import org.apache.cxf.endpoint.ServerImpl; |
| | | >>>>>>> Stashed changes |
| | | import org.springframework.stereotype.Service; |
| | | import org.springframework.transaction.annotation.Transactional; |
| | | |
| | | import javax.annotation.Resource; |
| | | <<<<<<< Updated upstream |
| | | import java.util.List; |
| | | ======= |
| | | import java.util.Collection; |
| | | import java.util.List; |
| | | import java.util.Map; |
| | | import java.util.function.Function; |
| | | >>>>>>> Stashed changes |
| | | |
| | | /** |
| | | * 引用码段,参照配置界面,查询条件配置表(CodeSrchCondConfigService)表服务实现类 |
| | |
| | | * @since 2023-05-19 17:58:56 |
| | | */ |
| | | @Service("CodeSrchCondConfigService") |
| | | <<<<<<< Updated upstream |
| | | public class CodeSrchCondConfigServiceImpl extends ServiceImpl<CodeSrchCondConfigMapper, CodeSrchCondConfig> implements ICodeSrchCondConfigService { |
| | | ======= |
| | | public class CodeSrchCondConfigServiceImpl extends ServiceImpl<CodeSrchCondConfigMapper, CodeSrchCondConfig> implements CodeSrchCondConfigService { |
| | | >>>>>>> Stashed changes |
| | | |
| | | @Resource |
| | | private CodeSrchCondConfigMapper codeSrchcondconfigMapper; |
| | |
| | | } |
| | | |
| | | @Override |
| | | <<<<<<< Updated upstream |
| | | @Transactional(rollbackFor = Exception.class) |
| | | public boolean insertBatch(List<CodeSrchCondConfigVO> codeSrchCondConfigVOS, String oid) { |
| | | List<CodeSrchCondConfig> codeSrchCondConfigs = CodeSrchCondConfigWraper.build().listDO(codeSrchCondConfigVOS,oid); |
| | | return this.saveOrUpdateBatch(codeSrchCondConfigs); |
| | | } |
| | | ======= |
| | | public boolean insertBatch(List<CodeSrchCondConfigVO> codeSrchCondConfigVOS) { |
| | | List<CodeSrchCondConfig> codeSrchCondConfigs = CodeSrchCondConfigWraper.build().listDO(codeSrchCondConfigVOS); |
| | | return this.saveOrUpdateBatch(codeSrchCondConfigs); |
| | | } |
| | | |
| | | /** |
| | | * 修改数据 |
| | | * |
| | | * @param codeSrchcondconfig 实例对象 |
| | | * @return 实例对象 |
| | | */ |
| | | @Override |
| | | public boolean update(CodeSrchCondConfig codeSrchcondconfig) { |
| | | return this.codeSrchcondconfigMapper.update(codeSrchcondconfig)>0; |
| | | } |
| | | >>>>>>> Stashed changes |
| | | |
| | | @Override |
| | | public boolean updateBatch(List<CodeSrchCondConfigVO> codeSrchCondConfigVOS) { |