CZT
2023-07-18 254da24705ba4daa8bf289a2c10b912fb8c53ad2
src/main/java/com/fzzy/async/fzzy35/repository/Fzzy35Sync1203Rep.java
@@ -1,6 +1,6 @@
package com.fzzy.async.fzzy35.repository;
import com.fzzy.async.fzzy35.entity.CheckItem;
import com.fzzy.async.fzzy35.entity.Fz35CheckItem;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.Query;
import org.springframework.data.repository.query.Param;
@@ -10,7 +10,7 @@
/**
 * 粮食入库质检
 */
public interface Fzzy35Sync1203Rep extends JpaRepository<CheckItem, String> {
public interface Fzzy35Sync1203Rep extends JpaRepository<Fz35CheckItem, String> {
    /**
     * 根据入库检验编码获取检验信息
@@ -18,6 +18,6 @@
     * @param checkId
     * @return
     */
    @Query("from CheckItem where checkId=:checkId ")
    List<CheckItem> listInoutCheckItem(@Param("checkId") String checkId);
    @Query("from Fz35CheckItem where checkId=:checkId and companyId=:companyId order by standardId")
    List<Fz35CheckItem> listInoutCheckItem(@Param("checkId") String checkId, @Param("companyId") String companyId);
}