|
@@ -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());
|
|
|
}
|
|
|
|