package com.huigou.uasp.form.repository;
 	import java.util.List;

import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.Query;
import org.springframework.transaction.annotation.Transactional;

import com.huigou.uasp.form.domain.model.SafFormslist;



public interface SafFormslistRepository extends JpaRepository<SafFormslist,String>{ 
	//@Query(value = "SELECT PM.* FROM PM_MESSAGE PM WHERE PM.ID IN (SELECT PMR.MESSAGE_ID FROM PM_MESSAGE_RECEIVER PMR WHERE PMR.STATUS = 0 AND PMR.RECEIVER_ID = ?1)",nativeQuery = true)
	//@Transactional
	//@Query("delete from ShowfieldDetail t where t.taskpropertyClassid=?1 ")
	List<SafFormslist> findByFormNo(String formNo);
 }
