Browse Source

fix 列表查询

Administrator 3 years ago
parent
commit
4a3aa6993b

+ 0 - 3
boman-web-core/src/main/java/com/boman/web/core/mapper/VaccineInfoMapper.java

@@ -32,11 +32,8 @@ public interface VaccineInfoMapper
     public List<VaccineInfoOperation> selectVaccineInfoList(VaccineInfoOperation vaccineInfo);
 
 
-    @Slave
     public List<VaccineInfoOperation> selectVaccineInfoListByPage(int startNum, int endNum);
 
-    @Slave
-    public int selectCount();
 
     /**
      * 新增疫苗信息

+ 0 - 4
boman-web-core/src/main/resources/mapper/VaccineInfoMapper.xml

@@ -118,10 +118,6 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
     </select>
 
 
-    <select id="selectCount" parameterType="Long" resultMap="int">
-      select count(1) from vaccine_info
-    </select>
-
     <select id="selectVaccineInfoById" parameterType="Long" resultMap="VaccineInfoResult">
         <include refid="selectVaccineInfoVo"/>
         where vi.id = #{id} and vi.is_del = 'N'