Browse Source

量表规则

zhoutg 4 năm trước cách đây
mục cha
commit
1c4a961949

+ 0 - 2
src/main/java/com/diagbot/mapper/KlRegulationMapper.java

@@ -19,6 +19,4 @@ public interface KlRegulationMapper extends BaseMapper<KlRegulation> {
 
     //根据匹配的基础规则ID获取对应的编码
     List<RegulationDTO> getRegulationByIds(RegulationVO regulationVO);
-
-    List<String> getBaseIds(List<String> codeList);
 }

+ 0 - 2
src/main/java/com/diagbot/service/KlRegulationService.java

@@ -19,6 +19,4 @@ public interface KlRegulationService extends IService<KlRegulation> {
 
     //根据匹配的基础规则ID获取对应的编码
     List<RegulationDTO> getRegulationByIds(RegulationVO regulationVO);
-
-    List<String> getBaseIds(List<String> codeList);
 }

+ 0 - 5
src/main/java/com/diagbot/service/impl/KlRegulationServiceImpl.java

@@ -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);
-    }
 }

+ 0 - 18
src/main/resources/mapper/KlRegulationMapper.xml

@@ -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>