ludc
2023-06-06 e1a2b770a3b9bf440ddccf4518c436e55bdaecda
Source/UBCS/ubcs-service/ubcs-omd/src/main/java/com/vci/ubcs/omd/service/impl/RevisionRuleServiceImpl.java
@@ -18,8 +18,8 @@
import com.vci.ubcs.omd.wrapper.BtmTypeWrapper;
import com.vci.ubcs.omd.wrapper.RevisionRuleWrapper;
import com.vci.ubcs.starter.exception.VciBaseException;
import com.vci.ubcs.starter.util.Map2MPJLambdaUtil;
import com.vci.ubcs.starter.util.MybatisParameterUtil;
import com.vci.ubcs.starter.util.UBCSCondition;
import com.vci.ubcs.starter.web.constant.RegExpConstant;
import com.vci.ubcs.starter.web.pagemodel.BaseQueryObject;
import com.vci.ubcs.starter.web.pagemodel.PageHelper;
@@ -382,7 +382,7 @@
      //检查业务类型
      Collection<Collection<String>> oidCollections = VciBaseUtil.switchCollectionForOracleIn(oidCollection);
      for(Collection<String> oids : oidCollections) {
         MPJLambdaWrapper<BtmType> join = Map2MPJLambdaUtil.getMPJLambdaWrapper(new BtmType())
         MPJLambdaWrapper<BtmType> join = UBCSCondition.getMPJLambdaWrapper(new BtmType())
            .join("join", RevisionRule.class, RevisionRule::getId, BtmType::getRevisionRuleId)
            .in(RevisionRule::getOid, oids);
         Long count = btmTypeMapper.selectCount(join);
@@ -404,7 +404,7 @@
   public List<BtmTypeVO> listRevisionRuleUsedInfo(String pkRevisionRule) throws VciBaseException {
      VciBaseUtil.alertNotNull(pkRevisionRule,"版本规则对象的主键");
      List<BtmType> result = btmTypeMapper.selectList(
         Map2MPJLambdaUtil.getMPJLambdaWrapper(new BtmType())
         UBCSCondition.getMPJLambdaWrapper(new BtmType())
            .join("join", RevisionRule.class, RevisionRule::getId, BtmType::getRevisionRuleId)
            .eq(RevisionRule::getOid, pkRevisionRule));
      return BtmTypeWrapper.build().listEntityVO(result);