| | |
| | | package com.fzzy.api.view.repository; |
| | | |
| | | import com.fzzy.api.entity.Api1112; |
| | | import com.fzzy.api.entity.Api1306; |
| | | import org.springframework.data.jpa.repository.JpaRepository; |
| | | import org.springframework.data.jpa.repository.Modifying; |
| | | import org.springframework.data.jpa.repository.Query; |
| | | import org.springframework.data.repository.query.Param; |
| | | import org.springframework.transaction.annotation.Transactional; |
| | | |
| | | import java.util.Date; |
| | | import java.util.List; |
| | | |
| | | |
| | | public interface Api1112Rep extends JpaRepository<Api1112, String> { |
| | |
| | | @Query("update Api1112 set czbz=:czbz where sfzhm=:id ") |
| | | int updateStatus(@Param("id") String id, @Param("czbz") String czbz); |
| | | |
| | | |
| | | @Query("from Api1112 where kqdm=:kqdm") |
| | | List<Api1112> findPushData(@Param("kqdm") String kqdm); |
| | | |
| | | } |