@@ -19,6 +19,4 @@ public interface KlRegulationMapper extends BaseMapper<KlRegulation> {
//根据匹配的基础规则ID获取对应的编码
List<RegulationDTO> getRegulationByIds(RegulationVO regulationVO);
-
- List<String> getBaseIds(List<String> codeList);
}
@@ -19,6 +19,4 @@ public interface KlRegulationService extends IService<KlRegulation> {
@@ -25,9 +25,4 @@ public class KlRegulationServiceImpl extends ServiceImpl<KlRegulationMapper, KlR
public List<RegulationDTO> getRegulationByIds(RegulationVO regulationVO) {
return baseMapper.getRegulationByIds(regulationVO);
- @Override
- public List<String> getBaseIds(List<String> codeList) {
- return baseMapper.getBaseIds(codeList);
- }
@@ -97,22 +97,4 @@
WHERE
t12.groupDiff = 1
</select>
- <select id="getBaseIds" resultType="java.lang.String">
- SELECT
- b.regulation_base_id
- FROM
- `kl_regulation` a,
- kl_regulation_condition b
- WHERE
- a.id = b.regulation_id
- <if test="codeList != null and codeList.size > 0">
- and a.`code` in
- <foreach item="code" collection="array" open="(" separator="," close=")">
- #{code}
- </foreach>
- </if>
- AND a.`status` = 1
- AND b.condition_type = 1
- </select>
</mapper>