From 62e5467e5f9ce4142ecc79a10b4f911fa8023be1 Mon Sep 17 00:00:00 2001 From: hejinbo Date: Thu, 30 Nov 2023 19:59:50 +0800 Subject: [PATCH] =?UTF-8?q?=E6=A1=88=E4=BB=B6=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../service/impl/CaseApplicationServiceImpl.java | 4 ++-- .../mapper/wisdomarbitrate/CaseApplicationMapper.xml | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/ruoyi-system/src/main/java/com/ruoyi/wisdomarbitrate/service/impl/CaseApplicationServiceImpl.java b/ruoyi-system/src/main/java/com/ruoyi/wisdomarbitrate/service/impl/CaseApplicationServiceImpl.java index 77b1eb4..a1fed99 100644 --- a/ruoyi-system/src/main/java/com/ruoyi/wisdomarbitrate/service/impl/CaseApplicationServiceImpl.java +++ b/ruoyi-system/src/main/java/com/ruoyi/wisdomarbitrate/service/impl/CaseApplicationServiceImpl.java @@ -1316,7 +1316,7 @@ public class CaseApplicationServiceImpl implements ICaseApplicationService { if(caseAffiliate.getIdentityType()==1){ // 校验申请人 for (String applicAffiliateColumn : applicAffiliateColumns) { - if(StrUtil.isEmpty( ObjectFieldUtils.getValue(caseApplication, applicAffiliateColumn))){ + if(StrUtil.isEmpty( ObjectFieldUtils.getValue(caseAffiliate, applicAffiliateColumn))){ errorMsg.append(applicAffiliateColumn).append("不能为空,"); // todo 暂抛出异常,后边改为提示具体的字段 throw new ServiceException("必填字段未填写,请完善案件信息!"); @@ -1326,7 +1326,7 @@ public class CaseApplicationServiceImpl implements ICaseApplicationService { // 校验被申请人 // 校验申请人 for (String applicAffiliateColumn : dectborAffiliateColumns) { - if(StrUtil.isEmpty( ObjectFieldUtils.getValue(caseApplication, applicAffiliateColumn))){ + if(StrUtil.isEmpty( ObjectFieldUtils.getValue(caseAffiliate, applicAffiliateColumn))){ errorMsg.append(applicAffiliateColumn).append("不能为空,"); // todo 暂抛出异常,后边改为提示具体的字段 throw new ServiceException("必填字段未填写,请完善案件信息!"); diff --git a/ruoyi-system/src/main/resources/mapper/wisdomarbitrate/CaseApplicationMapper.xml b/ruoyi-system/src/main/resources/mapper/wisdomarbitrate/CaseApplicationMapper.xml index e4d41a3..2dcae92 100644 --- a/ruoyi-system/src/main/resources/mapper/wisdomarbitrate/CaseApplicationMapper.xml +++ b/ruoyi-system/src/main/resources/mapper/wisdomarbitrate/CaseApplicationMapper.xml @@ -1535,7 +1535,7 @@ order by c.create_time desc limit 1