From 9bd270e77d635534e5adceb04e3b7973ac42c976 Mon Sep 17 00:00:00 2001 From: sy Date: Fri, 8 Sep 2023 13:24:27 +0800 Subject: [PATCH 1/6] =?UTF-8?q?=E8=96=AA=E9=85=AC=E7=B3=BB=E7=BB=9F-?= =?UTF-8?q?=E7=A6=8F=E5=88=A9=E5=8F=B0=E8=B4=A6=EF=BC=8C=E8=B0=83=E5=B7=AE?= =?UTF-8?q?=E6=94=AF=E6=8C=81=E4=B8=80=E4=BA=BA=E5=A4=9A=E6=9D=A1=E8=AE=B0?= =?UTF-8?q?=E5=BD=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../InsuranceCompensationMapper.java | 1 + .../siaccount/InsuranceCompensationMapper.xml | 12 +++ .../impl/SICompensationServiceImpl.java | 77 +++++++++++++++---- .../service/impl/SISchemeServiceImpl.java | 10 --- 4 files changed, 76 insertions(+), 24 deletions(-) diff --git a/src/com/engine/salary/mapper/siaccount/InsuranceCompensationMapper.java b/src/com/engine/salary/mapper/siaccount/InsuranceCompensationMapper.java index e96a6b8bb..ff149a787 100644 --- a/src/com/engine/salary/mapper/siaccount/InsuranceCompensationMapper.java +++ b/src/com/engine/salary/mapper/siaccount/InsuranceCompensationMapper.java @@ -17,6 +17,7 @@ public interface InsuranceCompensationMapper { List queryByBillMonthAndPayOrg(@Param("billMonth") String billMonth, @Param("paymentOrganization") Long paymentOrganization); InsuranceCompensationPO getOneByBillMonthPayOrgEmpId(InsuranceCompensationPO insuranceCompensationPO); + List getListByBillMonthPayOrgEmpId(InsuranceCompensationPO insuranceCompensationPO); List getByBillMonthPayOrgEmpIds(InsuranceCompensationPO insuranceCompensationPO); diff --git a/src/com/engine/salary/mapper/siaccount/InsuranceCompensationMapper.xml b/src/com/engine/salary/mapper/siaccount/InsuranceCompensationMapper.xml index 7e3d4e321..0f2aa206b 100644 --- a/src/com/engine/salary/mapper/siaccount/InsuranceCompensationMapper.xml +++ b/src/com/engine/salary/mapper/siaccount/InsuranceCompensationMapper.xml @@ -208,6 +208,7 @@ WHERE t.bill_month = #{billMonth} AND t.payment_organization = #{paymentOrganization} AND t.delete_type = 0 + ORDER BY t.employee_id, t.create_time @@ -221,6 +222,17 @@ AND t.delete_type = 0 + + +