From c303fef94d423bd02d6023c8fc13b1c1ab3350a5 Mon Sep 17 00:00:00 2001 From: shijie <648688341@qq.com> Date: Tue, 29 Dec 2020 15:55:01 +0800 Subject: [PATCH] =?UTF-8?q?=E4=B8=9A=E5=8A=A1=E7=BC=96=E5=8F=B7=E6=A0=BC?= =?UTF-8?q?=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../mapper/DgApplyAmountInfoMapper.java | 4 +++ .../impl/DgApplyAmountInfoServiceImpl.java | 36 ++++++++++++++----- .../guarantee/DgApplyAmountInfoMapper.xml | 11 ++++++ 3 files changed, 42 insertions(+), 9 deletions(-) diff --git a/dq-financial-guarantee/src/main/java/com/daqing/financial/guarantee/mapper/DgApplyAmountInfoMapper.java b/dq-financial-guarantee/src/main/java/com/daqing/financial/guarantee/mapper/DgApplyAmountInfoMapper.java index d2eeba10..4eadf931 100644 --- a/dq-financial-guarantee/src/main/java/com/daqing/financial/guarantee/mapper/DgApplyAmountInfoMapper.java +++ b/dq-financial-guarantee/src/main/java/com/daqing/financial/guarantee/mapper/DgApplyAmountInfoMapper.java @@ -29,4 +29,8 @@ public interface DgApplyAmountInfoMapper extends BaseMapper { DgApplyAmountInfoResponse selectApplyAmountInfoById(Integer id); List selectListByIds(List ids); + + int selectBusinessTaday(@Param("dateTime") String dateTime); + + String selectMaxBusinessTaday(String dateTime); } diff --git a/dq-financial-guarantee/src/main/java/com/daqing/financial/guarantee/service/impl/DgApplyAmountInfoServiceImpl.java b/dq-financial-guarantee/src/main/java/com/daqing/financial/guarantee/service/impl/DgApplyAmountInfoServiceImpl.java index ea2757d2..1a00b383 100644 --- a/dq-financial-guarantee/src/main/java/com/daqing/financial/guarantee/service/impl/DgApplyAmountInfoServiceImpl.java +++ b/dq-financial-guarantee/src/main/java/com/daqing/financial/guarantee/service/impl/DgApplyAmountInfoServiceImpl.java @@ -10,10 +10,7 @@ import com.daqing.financial.guarantee.feign.CrmsFeignService; import com.daqing.financial.guarantee.feign.HrmsFeignService; import com.daqing.financial.guarantee.mapper.*; import com.daqing.financial.guarantee.model.request.BusinessApplicationRequest; -import com.daqing.financial.guarantee.model.response.BusinessApplicationDetailResponse; -import com.daqing.financial.guarantee.model.response.BusinessApplicationListResponse; -import com.daqing.financial.guarantee.model.response.DgApplyAmountInfoResponse; -import com.daqing.financial.guarantee.model.response.DgEnclosureInfoResponse; +import com.daqing.financial.guarantee.model.response.*; import com.daqing.financial.guarantee.service.IDgApplyAmountInfoService; import com.daqing.financial.guarantee.util.ArraysUtil; import com.daqing.financial.guarantee.util.AuditProcessUtil; @@ -40,10 +37,8 @@ import org.springframework.web.context.request.ServletRequestAttributes; import javax.annotation.Resource; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; -import java.util.ArrayList; -import java.util.Arrays; -import java.util.LinkedHashMap; -import java.util.List; +import java.text.SimpleDateFormat; +import java.util.*; /** *

@@ -125,7 +120,30 @@ public class DgApplyAmountInfoServiceImpl extends ServiceImpl + + + +