From 74e0609e9ae8747041720edbac54ae11bd444fc4 Mon Sep 17 00:00:00 2001 From: xinyb_ <xin0322> Date: 星期六, 22 一月 2022 09:16:43 +0800 Subject: [PATCH] 优化维护费支付功能-sql交互的调整 --- src/com/yc/MaintenanceFee/service/PayInfoService.java | 41 ++++++++++++++--------------------------- 1 files changed, 14 insertions(+), 27 deletions(-) diff --git a/src/com/yc/MaintenanceFee/service/PayInfoService.java b/src/com/yc/MaintenanceFee/service/PayInfoService.java index ddc500f..9cd6519 100644 --- a/src/com/yc/MaintenanceFee/service/PayInfoService.java +++ b/src/com/yc/MaintenanceFee/service/PayInfoService.java @@ -1,42 +1,29 @@ package com.yc.MaintenanceFee.service; -import com.baomidou.mybatisplus.extension.service.IService; import com.yc.MaintenanceFee.entiy.PayInfo; import java.util.List; -public interface PayInfoService extends IService<PayInfo> { - List<PayInfo> getAllPayInfo(); - - /** - * 鏌ヨ璐圭敤椤� - * @param cltCode 瀹㈡埛缂栫爜 - * @param docCode 鏂囨。缂栫爜 - * @return - */ - PayInfo getPayInfoByCltCode(String cltCode,String docCode,Integer docStatus); - /** - * 鏌ヨ璐圭敤椤� - * @param cltCode 瀹㈡埛缂栫爜 - * @param docCode 鏂囨。缂栫爜 - * @return - */ - PayInfo getPayInfoByCltCode2(String cltCode,String docCode,Integer docStatus); - - /** - * 鏌ヨ鏈�鏂扮殑鏂囨。缂栧彿 - * @param cltCode 瀹㈡埛缂栧彿 - * @return - */ - String getLastDocCodeByCltCode(String cltCode); +public interface PayInfoService { /** * 鏌ヨ瀵瑰簲瀹㈡埛鏈敮浠樼淮鎶よ垂鐢ㄦ暟鎹� - * @param cltCode 瀹㈡埛缂栧彿 * @return */ - List<PayInfo> queryListByCltCode(String cltCode,Integer docStatus); + List<PayInfo> queryListByCltCode(String dbId); + /** + * 鏍规嵁瀹㈡埛缂栨暟鏌ヨ鐮佹嵁婧� + * @param cltCode + * @return + */ + Integer queryDbIdByCltCode(String cltCode); + /** + * 鏍规嵁瀹㈡埛鏁版嵁婧愭煡璇㈠鎴风紪鍙� + * @param dbId + * @return + */ + String queryCltCodeByDbId(String dbId); } -- Gitblit v1.8.0