@@ -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
*/
@@ -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 {
@@ -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>