package com.ssj.dao.weixin.problem.dao;

import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.Modifying;
import org.springframework.data.jpa.repository.Query;
import org.springframework.stereotype.Repository;

import com.ssj.bean.weixin.problem.domain.ArticeMatter;

@Repository
public interface ArticeMatterDao extends JpaRepository<ArticeMatter, String>{
	@Query(nativeQuery = true, value = "update ydz_artice_matter set  count = ?2  where id = ?1 ")
	 @Modifying
	 public void updatenum(String id, Integer count);

}
