| | |
| | | import org.springframework.data.jpa.repository.JpaRepository; |
| | | import org.springframework.data.jpa.repository.Query; |
| | | import org.springframework.data.repository.query.Param; |
| | | |
| | | import java.util.Date; |
| | | import java.util.List; |
| | | |
| | | /** |
| | |
| | | @Query("from Fz40InoutCustomer where deptId=:deptId order by id ") |
| | | List<Fz40InoutCustomer> listInoutCustomer(@Param("deptId") String deptId); |
| | | |
| | | @Query("from Fz40InoutCustomer where deptId=:deptId and updateTime >=:start and updateTime <=:end order by id ") |
| | | List<Fz40InoutCustomer> listInoutCustomer(@Param("deptId") String deptId, @Param("start") Date start, @Param("end") Date end); |
| | | |
| | | @Query("from Fz40InoutCustomer where id=:id order by id ") |
| | | List<Fz40InoutCustomer> getDataById(@Param("id") String id); |
| | | } |