| | |
| | | package com.fzzy.api.view.repository; |
| | | |
| | | import com.fzzy.api.entity.Api1201; |
| | | import com.fzzy.api.entity.Api1202; |
| | | import org.springframework.data.jpa.repository.JpaRepository; |
| | | import org.springframework.data.jpa.repository.JpaSpecificationExecutor; |
| | | import org.springframework.data.jpa.repository.Modifying; |
| | |
| | | @Modifying |
| | | @Query("update Api1201 set czbz =:czbz where hth=:hth") |
| | | void updateStatus(@Param("hth") String hth, @Param("czbz") String czbz); |
| | | |
| | | @Query("from Api1201 where hth=:hth ") |
| | | List<Api1201> getDataById(@Param("hth") String hth); |
| | | } |