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.ArticeMatterSolution;

@Repository
public interface ArticeMatterSolutionDao extends JpaRepository<ArticeMatterSolution, String>{
	@Query(nativeQuery = true, value = "update ydz_artice_matter_solution set  sequence = ?2  where id = ?1 ")
	 @Modifying
	 public void updatenum(String id, Integer sequence);

}
