|
@@ -6,6 +6,7 @@ import java.util.Map;
|
|
|
import com.ym.mec.cms.dal.entity.SysNewsInformation;
|
|
|
import com.ym.mec.cms.dto.SysNewsInformationDto;
|
|
|
import com.ym.mec.common.dal.BaseDAO;
|
|
|
+import org.apache.ibatis.annotations.Param;
|
|
|
|
|
|
public interface SysNewsInformationDao extends BaseDAO<Long, SysNewsInformation> {
|
|
|
|
|
@@ -16,7 +17,7 @@ public interface SysNewsInformationDao extends BaseDAO<Long, SysNewsInformation>
|
|
|
*/
|
|
|
List<SysNewsInformation> queryByType(Integer type);
|
|
|
|
|
|
- List<SysNewsInformation> queryBySubType(Integer subType);
|
|
|
+ List<SysNewsInformation> queryBySubType(@Param("subType") Integer subType);
|
|
|
|
|
|
/**
|
|
|
* 逻辑删除
|