| | |
| | | package com.fzzy.api.view.repository; |
| | | |
| | | import com.fzzy.api.entity.Api1102; |
| | | import com.fzzy.api.entity.Api1104; |
| | | 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.List; |
| | | |
| | | |
| | | public interface Api1104Rep extends JpaRepository<Api1104, String> { |
| | |
| | | @Query("update Api1104 set czbz=:czbz where ajdh=:id ") |
| | | int updateStatus(@Param("id") String id, @Param("czbz") String czbz); |
| | | |
| | | |
| | | /** |
| | | * |
| | | * @param |
| | | * @return |
| | | */ |
| | | @Query("from Api1104 where ajdh=:ajdh ") |
| | | List<Api1104> findDataByAjdh(@Param("ajdh") String ajdh); |
| | | } |