|
|
@@ -1,6 +1,8 @@
|
|
|
package com.jpsoft.employment.modules.base.dao;
|
|
|
|
|
|
import java.util.List;
|
|
|
+
|
|
|
+import org.apache.ibatis.annotations.Param;
|
|
|
import org.springframework.stereotype.Repository;
|
|
|
import com.jpsoft.employment.modules.base.entity.LoveProject;
|
|
|
import java.util.Map;
|
|
|
@@ -15,5 +17,5 @@ public interface LoveProjectDAO {
|
|
|
int delete(String id);
|
|
|
List<LoveProject> list();
|
|
|
List<LoveProject> search(Map<String, Object> searchParams, List<Sort> sortList);
|
|
|
- int countByType(String type);
|
|
|
+ int countByType(@Param(value="type") String type);
|
|
|
}
|