lyq 1 year ago
parent
commit
3f5d23457b

+ 1 - 2
src/main/java/com/sooka/sponest/data/index/mapper/IndexViewMapper.java

@@ -1,8 +1,6 @@
 package com.sooka.sponest.data.index.mapper;
 
-import com.sooka.sponest.data.index.domain.IndexViewInfo;
 import com.sooka.sponest.data.index.domain.MenuInfo;
-import org.apache.ibatis.annotations.Param;
 
 import java.util.List;
 import java.util.Map;
@@ -18,6 +16,7 @@ public interface IndexViewMapper {
 
     /**
      * 获取基础数据条数
+     *
      * @param menuInfo
      * @return
      */

+ 0 - 1
src/main/java/com/sooka/sponest/data/index/service/impl/IndexViewServiceImpl.java

@@ -12,7 +12,6 @@ import org.springframework.beans.factory.annotation.Autowired;
 import org.springframework.stereotype.Service;
 
 import java.util.*;
-import java.util.stream.Collectors;
 
 @Service
 public class IndexViewServiceImpl extends BaseServiceImpl implements IndexViewService {

+ 1 - 1
src/main/resources/mapper/index/IndexViewMapper.xml

@@ -23,7 +23,7 @@
     </select>
 
     <select id="getBasicDataCount" parameterType="MenuInfo" resultType="Long">
-        SELECT count(*)  FROM
+        SELECT count(*) FROM
         ${tableName}
         <where>
             <if test="type != null and type != ''">and type = #{type}</if>