jonbo 1 年之前
父节点
当前提交
e468f8ac5a

+ 5 - 5
collect-fees/collect-fees-service/src/main/java/com/tofly/fees/userprofilemgt/controller/DaGhLogController.java

@@ -7,7 +7,6 @@ package com.tofly.fees.userprofilemgt.controller;
 import com.baomidou.mybatisplus.core.metadata.IPage;
 import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
 import com.tofly.common.core.entity.ResultRespone;
-import com.tofly.common.core.util.StringUtil;
 import com.tofly.common.log.annotation.ToFlyAppLog;
 import com.tofly.fees.common.Excel.ExcleFileUtil;
 import com.tofly.fees.common.util.GuidGenerator;
@@ -18,6 +17,7 @@ import com.tofly.fees.userprofilemgt.mapper.DaGhLogMapper;
 import com.tofly.fees.userprofilemgt.service.DaCustomerService;
 import com.tofly.fees.userprofilemgt.service.DaGhLogService;
 import lombok.AllArgsConstructor;
+import org.apache.commons.lang.StringUtils;
 import org.springframework.transaction.annotation.Transactional;
 import org.springframework.web.bind.annotation.*;
 import io.swagger.annotations.Api;
@@ -129,7 +129,7 @@ public class DaGhLogController {
     @Transactional(rollbackFor = Exception.class) //声明式事务管理
     public ResultRespone save(@RequestBody DaGhLog daGhLog, @RequestParam(required = false) String yzqf) {
         ResultRespone<Object> rest = new ResultRespone<>();
-        if (StringUtil.isNotBlank(daGhLog.getCustomerNo())) {
+        if (StringUtils.isNotBlank(daGhLog.getCustomerNo())) {
             if (yzqf.equals("1")) {
                 //判断用户是否存在欠费
                 Map<String, Object> map = sfRecMapper.SelectricCount(daGhLog.getCustomerNo());
@@ -148,13 +148,13 @@ public class DaGhLogController {
                 daCustomer.setCustomerNo(daGhLog.getCustomerNo());//用户编号
                 daCustomer.setCustomerName(daGhLog.getNewCustomerName());//姓名
                 daCustomer.setCustomerPhone(daGhLog.getNewCustomerPhone());//电话
-                if (StringUtil.isNotBlank(daGhLog.getNewCustomerAddr())) {
+                if (StringUtils.isNotBlank(daGhLog.getNewCustomerAddr())) {
                     daCustomer.setCustomerAddress(daGhLog.getNewCustomerAddr());//地址
                 }
-                if (StringUtil.isNotBlank(daGhLog.getNewCertType())) {
+                if (StringUtils.isNotBlank(daGhLog.getNewCertType())) {
                     daCustomer.setCertType(daGhLog.getNewCertType());//证件类型
                 }
-                if (StringUtil.isNotBlank(daGhLog.getNewCertNo())) {
+                if (StringUtils.isNotBlank(daGhLog.getNewCertNo())) {
                     daCustomer.setCertNo(daGhLog.getNewCertNo());//证件号码
                 }