From 86f687fe84d34d9291ed9e5c6ea45e04e11e3be2 Mon Sep 17 00:00:00 2001 From: czt <czt18638530771@163.com> Date: 星期日, 21 四月 2024 15:54:04 +0800 Subject: [PATCH] 国家统一编码-财务接口增加统一编码字段及页面调整 --- src/main/java/com/fzzy/async/fzzy35/repository/Fzzy35Sync1212Rep.java | 14 +++++++++----- 1 files changed, 9 insertions(+), 5 deletions(-) diff --git a/src/main/java/com/fzzy/async/fzzy35/repository/Fzzy35Sync1212Rep.java b/src/main/java/com/fzzy/async/fzzy35/repository/Fzzy35Sync1212Rep.java index bcdbf43..89efdf2 100644 --- a/src/main/java/com/fzzy/async/fzzy35/repository/Fzzy35Sync1212Rep.java +++ b/src/main/java/com/fzzy/async/fzzy35/repository/Fzzy35Sync1212Rep.java @@ -1,12 +1,9 @@ package com.fzzy.async.fzzy35.repository; import com.fzzy.async.fzzy35.entity.Fz35InoutCustomer; -import com.fzzy.async.fzzy35.entity.Fz35MContract; 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; /** @@ -22,7 +19,14 @@ @Query("from Fz35InoutCustomer where deptId=:deptId order by id ") List<Fz35InoutCustomer> listInoutCustomer(@Param("deptId") String deptId); + /** + * 鏍规嵁淇℃伅鑾峰彇瀹㈡埛鍗曚綅淇℃伅 + * + * @return + */ + @Query("from Fz35InoutCustomer where companyId=:companyId order by id ") + List<Fz35InoutCustomer> listInoutCustomerByCompanyId(@Param("companyId") String companyId); - @Query("from Fz35InoutCustomer where khbh=:khbh ") - List<Fz35InoutCustomer> getDataById(@Param("khbh") String khbh); + @Query("from Fz35InoutCustomer where id=:id order by id ") + List<Fz35InoutCustomer> getDataById(@Param("id") String id); } -- Gitblit v1.9.3