| | |
| | | package com.fzzy.async.fzzy35.repository; |
| | | |
| | | import com.fzzy.async.fzzy35.entity.InoutSettle; |
| | | import com.fzzy.async.fzzy35.entity.Fz35InoutSettle; |
| | | import org.springframework.data.jpa.repository.JpaRepository; |
| | | import org.springframework.data.jpa.repository.Query; |
| | | import org.springframework.data.repository.query.Param; |
| | |
| | | /** |
| | | * 粮食入库结算 |
| | | */ |
| | | public interface Fzzy35Sync1204Rep extends JpaRepository<InoutSettle, String> { |
| | | public interface Fzzy35Sync1204Rep extends JpaRepository<Fz35InoutSettle, String> { |
| | | |
| | | /** |
| | | * 获取出入库结算信息 |
| | |
| | | * @param end |
| | | * @return |
| | | */ |
| | | @Query("from InoutSettle where type=:type and payTime >=:start and payTime <:end order by payTime ") |
| | | List<InoutSettle> listInoutSettle(@Param("type") String type, @Param("start") Date start, @Param("end") Date end); |
| | | @Query("from Fz35InoutSettle where type=:type and payTime >=:start and payTime <:end order by payTime ") |
| | | List<Fz35InoutSettle> listInoutSettle(@Param("type") String type, @Param("start") Date start, @Param("end") Date end); |
| | | } |