Showing
12 changed files
with
138 additions
and
92 deletions
| ... | @@ -2,15 +2,14 @@ package com.fedex.connect.customer.controller.base; | ... | @@ -2,15 +2,14 @@ package com.fedex.connect.customer.controller.base; |
| 2 | 2 | ||
| 3 | 3 | ||
| 4 | import com.fedex.connect.common.dependencies.common.BasicController; | 4 | import com.fedex.connect.common.dependencies.common.BasicController; |
| 5 | -import com.fedex.connect.common.dependencies.date.vo.ResponseVo; | ||
| 6 | -import com.fedex.connect.common.dependencies.enums.ResponseCode; | ||
| 7 | -import com.fedex.connect.common.dependencies.exception.OpErrorException; | ||
| 8 | import com.fedex.connect.common.dependencies.i18n.LocaleMessageUtil; | 5 | import com.fedex.connect.common.dependencies.i18n.LocaleMessageUtil; |
| 9 | -import com.fedex.connect.common.dependencies.util.CurrentUserInfo; | ||
| 10 | import com.fedex.connect.common.model.sys.User; | 6 | import com.fedex.connect.common.model.sys.User; |
| 7 | +import com.fedex.connect.customer.service.biz.IAttachmentQueryService; | ||
| 11 | import com.fedex.connect.customer.service.biz.IAttachmentService; | 8 | import com.fedex.connect.customer.service.biz.IAttachmentService; |
| 9 | +import com.fedex.connect.customer.service.biz.IConsignmentQueryService; | ||
| 12 | import com.fedex.connect.customer.service.biz.IConsignmentService; | 10 | import com.fedex.connect.customer.service.biz.IConsignmentService; |
| 13 | import com.fedex.connect.customer.validate.controller.biz.AttachmentValidate; | 11 | import com.fedex.connect.customer.validate.controller.biz.AttachmentValidate; |
| 12 | +import com.fedex.connect.customer.validate.controller.biz.ConsignmentInfoValidate; | ||
| 14 | import com.fedex.connect.customer.validate.controller.biz.ConsignmentValidate; | 13 | import com.fedex.connect.customer.validate.controller.biz.ConsignmentValidate; |
| 15 | import lombok.extern.slf4j.Slf4j; | 14 | import lombok.extern.slf4j.Slf4j; |
| 16 | import org.springframework.beans.factory.annotation.Autowired; | 15 | import org.springframework.beans.factory.annotation.Autowired; |
| ... | @@ -30,14 +29,23 @@ public class BaseController extends BasicController { | ... | @@ -30,14 +29,23 @@ public class BaseController extends BasicController { |
| 30 | protected IConsignmentService consignmentService; | 29 | protected IConsignmentService consignmentService; |
| 31 | 30 | ||
| 32 | @Autowired | 31 | @Autowired |
| 32 | + protected IConsignmentQueryService consignmentQueryService; | ||
| 33 | + | ||
| 34 | + @Autowired | ||
| 33 | protected IAttachmentService attachmentService; | 35 | protected IAttachmentService attachmentService; |
| 34 | 36 | ||
| 35 | @Autowired | 37 | @Autowired |
| 38 | + protected IAttachmentQueryService attachmentQueryService; | ||
| 39 | + | ||
| 40 | + @Autowired | ||
| 36 | protected AttachmentValidate attachmentValidate; | 41 | protected AttachmentValidate attachmentValidate; |
| 37 | 42 | ||
| 38 | @Autowired | 43 | @Autowired |
| 39 | protected ConsignmentValidate consignmentValidate; | 44 | protected ConsignmentValidate consignmentValidate; |
| 40 | 45 | ||
| 46 | + @Autowired | ||
| 47 | + protected ConsignmentInfoValidate consignmentInfoValidate; | ||
| 48 | + | ||
| 41 | public User getCurrentUserInfo(){ | 49 | public User getCurrentUserInfo(){ |
| 42 | User user = this.getUserInfo(localeMessageUtil); | 50 | User user = this.getUserInfo(localeMessageUtil); |
| 43 | return user; | 51 | return user; | ... | ... |
| ... | @@ -5,7 +5,6 @@ import com.fedex.connect.common.dependencies.date.vo.ResponseVo; | ... | @@ -5,7 +5,6 @@ import com.fedex.connect.common.dependencies.date.vo.ResponseVo; |
| 5 | import com.fedex.connect.common.dependencies.enums.ResponseCode; | 5 | import com.fedex.connect.common.dependencies.enums.ResponseCode; |
| 6 | import com.fedex.connect.common.dependencies.util.CurrentUserInfo; | 6 | import com.fedex.connect.common.dependencies.util.CurrentUserInfo; |
| 7 | import com.fedex.connect.customer.controller.base.BaseController; | 7 | import com.fedex.connect.customer.controller.base.BaseController; |
| 8 | -import com.fedex.connect.customer.controller.biz.IAttachmentController; | ||
| 9 | import com.fedex.connect.customer.controller.biz.IAttachmentQueryController; | 8 | import com.fedex.connect.customer.controller.biz.IAttachmentQueryController; |
| 10 | import com.fedex.connect.customer.data.bo.LongBo; | 9 | import com.fedex.connect.customer.data.bo.LongBo; |
| 11 | import io.swagger.annotations.Api; | 10 | import io.swagger.annotations.Api; |
| ... | @@ -43,7 +42,7 @@ public class AttachmentQueryController extends BaseController implements IAttach | ... | @@ -43,7 +42,7 @@ public class AttachmentQueryController extends BaseController implements IAttach |
| 43 | log.error(LogShowModel.showException("Exception", e)); | 42 | log.error(LogShowModel.showException("Exception", e)); |
| 44 | return ResponseVo.fail(localeMessageUtil.getMessage(ResponseCode.TOKEN_FORMAT_ERROR.getMsg())); | 43 | return ResponseVo.fail(localeMessageUtil.getMessage(ResponseCode.TOKEN_FORMAT_ERROR.getMsg())); |
| 45 | } | 44 | } |
| 46 | - return attachmentService.findHistory(userId,bo.getId()); | 45 | + return attachmentQueryService.findHistory(userId,bo.getId()); |
| 47 | } | 46 | } |
| 48 | 47 | ||
| 49 | } | 48 | } | ... | ... |
| ... | @@ -37,7 +37,7 @@ public class ConsignmentQueryController extends BaseController implements IConsi | ... | @@ -37,7 +37,7 @@ public class ConsignmentQueryController extends BaseController implements IConsi |
| 37 | ConsignmentQuery query = ConsignmentQuery.dataProcessing(consignmentQuery); | 37 | ConsignmentQuery query = ConsignmentQuery.dataProcessing(consignmentQuery); |
| 38 | query.setUserId(user.getId()); | 38 | query.setUserId(user.getId()); |
| 39 | query.setUuid(user.getUserUuid()); | 39 | query.setUuid(user.getUserUuid()); |
| 40 | - return consignmentService.findConsignments(query); | 40 | + return consignmentQueryService.findConsignments(query); |
| 41 | } | 41 | } |
| 42 | 42 | ||
| 43 | @PostMapping("/info/{id}") | 43 | @PostMapping("/info/{id}") |
| ... | @@ -49,11 +49,13 @@ public class ConsignmentQueryController extends BaseController implements IConsi | ... | @@ -49,11 +49,13 @@ public class ConsignmentQueryController extends BaseController implements IConsi |
| 49 | */ | 49 | */ |
| 50 | User user = this.getCurrentUserInfo(); | 50 | User user = this.getCurrentUserInfo(); |
| 51 | 51 | ||
| 52 | + consignmentInfoValidate.validateConsignmentId(id); | ||
| 53 | + | ||
| 52 | ConsignmentInfoQuery detailQuery = new ConsignmentInfoQuery(); | 54 | ConsignmentInfoQuery detailQuery = new ConsignmentInfoQuery(); |
| 53 | detailQuery.setUserId(user.getId()); | 55 | detailQuery.setUserId(user.getId()); |
| 54 | detailQuery.setUuid(user.getUserUuid()); | 56 | detailQuery.setUuid(user.getUserUuid()); |
| 55 | detailQuery.setConsignmentId(id); | 57 | detailQuery.setConsignmentId(id); |
| 56 | -// return consignmentService.findConsignmentInfo(detailQuery); | 58 | +// return consignmentQueryService.findConsignmentInfo(detailQuery); |
| 57 | return null; | 59 | return null; |
| 58 | } | 60 | } |
| 59 | } | 61 | } | ... | ... |
| 1 | package com.fedex.connect.customer.service.biz; | 1 | package com.fedex.connect.customer.service.biz; |
| 2 | 2 | ||
| 3 | -import com.fedex.connect.common.dependencies.date.vo.ResponseVo; | ||
| 4 | - | ||
| 5 | public interface IAttachmentService { | 3 | public interface IAttachmentService { |
| 6 | - ResponseVo findHistory(Long userId, Long bizId); | ||
| 7 | } | 4 | } | ... | ... |
| 1 | +package com.fedex.connect.customer.service.biz; | ||
| 2 | + | ||
| 3 | +import com.fedex.connect.common.dependencies.date.vo.ResponseVo; | ||
| 4 | +import com.fedex.connect.customer.data.query.ConsignmentQuery; | ||
| 5 | + | ||
| 6 | +public interface IConsignmentQueryService { | ||
| 7 | + /** | ||
| 8 | + * @Author Szl | ||
| 9 | + * @Description 功能说明 运单查询 | ||
| 10 | + * @Date 2024/11/5 | ||
| 11 | + * @param query | ||
| 12 | + * @return com.fedex.connect.common.dependencies.date.vo.ResponseVo | ||
| 13 | + */ | ||
| 14 | + ResponseVo findConsignments(ConsignmentQuery query); | ||
| 15 | +} |
| ... | @@ -3,17 +3,8 @@ package com.fedex.connect.customer.service.biz; | ... | @@ -3,17 +3,8 @@ package com.fedex.connect.customer.service.biz; |
| 3 | import com.fedex.connect.common.dependencies.date.vo.ResponseVo; | 3 | import com.fedex.connect.common.dependencies.date.vo.ResponseVo; |
| 4 | import com.fedex.connect.common.model.sys.User; | 4 | import com.fedex.connect.common.model.sys.User; |
| 5 | import com.fedex.connect.customer.data.bo.AddBo; | 5 | import com.fedex.connect.customer.data.bo.AddBo; |
| 6 | -import com.fedex.connect.customer.data.query.ConsignmentQuery; | ||
| 7 | 6 | ||
| 8 | public interface IConsignmentService { | 7 | public interface IConsignmentService { |
| 9 | - /** | ||
| 10 | - * @Author Szl | ||
| 11 | - * @Description 功能说明 运单查询 | ||
| 12 | - * @Date 2024/11/5 | ||
| 13 | - * @param query | ||
| 14 | - * @return com.fedex.connect.common.dependencies.date.vo.ResponseVo | ||
| 15 | - */ | ||
| 16 | - ResponseVo findConsignments(ConsignmentQuery query); | ||
| 17 | 8 | ||
| 18 | /** | 9 | /** |
| 19 | * @Author Szl | 10 | * @Author Szl | ... | ... |
| 1 | +package com.fedex.connect.customer.service.biz.impl; | ||
| 2 | + | ||
| 3 | +import com.fedex.connect.common.dependencies.contants.DigitConstants; | ||
| 4 | +import com.fedex.connect.common.dependencies.date.vo.PageResult; | ||
| 5 | +import com.fedex.connect.common.dependencies.date.vo.ResponseVo; | ||
| 6 | +import com.fedex.connect.customer.data.dto.AttachmentHistoryDto; | ||
| 7 | +import com.fedex.connect.customer.service.base.BaseService; | ||
| 8 | +import com.fedex.connect.customer.service.biz.IAttachmentQueryService; | ||
| 9 | +import org.springframework.stereotype.Service; | ||
| 10 | + | ||
| 11 | +import java.util.Collections; | ||
| 12 | +import java.util.List; | ||
| 13 | + | ||
| 14 | +/** | ||
| 15 | + * @Author Szl | ||
| 16 | + * @Description 类说明 附件查询相关service | ||
| 17 | + * @Date 2024/11/4 | ||
| 18 | + */ | ||
| 19 | +@Service | ||
| 20 | +public class AttachmentQueryServiceImpl extends BaseService implements IAttachmentQueryService { | ||
| 21 | + /** | ||
| 22 | + * @Author Szl | ||
| 23 | + * @Description 功能说明 查询该运单历史数据 | ||
| 24 | + * @Date 2024/11/5 | ||
| 25 | + * @param userId | ||
| 26 | + * @param bizId | ||
| 27 | + * @return com.fedex.connect.common.dependencies.date.vo.ResponseVo | ||
| 28 | + */ | ||
| 29 | + public ResponseVo findHistory(Long userId, Long bizId) { | ||
| 30 | + List<AttachmentHistoryDto> history = attachmentRepository.findHistory(bizId); | ||
| 31 | + | ||
| 32 | + if (history != null) { | ||
| 33 | + history.forEach(attachmentHistoryDto -> | ||
| 34 | + attachmentHistoryDto.setCreatorFlag( | ||
| 35 | + (attachmentHistoryDto.getUploadUserId() != null && | ||
| 36 | + attachmentHistoryDto.getUploadUserId().equals(userId)) ? | ||
| 37 | + DigitConstants.DIGIT_ONE : DigitConstants.DIGIT_ZERO | ||
| 38 | + ) | ||
| 39 | + ); | ||
| 40 | + } | ||
| 41 | + | ||
| 42 | + PageResult pageResult = new PageResult(); | ||
| 43 | + pageResult.setList(history != null ? history : Collections.emptyList()); | ||
| 44 | + | ||
| 45 | + return ResponseVo.succ(pageResult); | ||
| 46 | + } | ||
| 47 | + | ||
| 48 | +} |
| 1 | package com.fedex.connect.customer.service.biz.impl; | 1 | package com.fedex.connect.customer.service.biz.impl; |
| 2 | 2 | ||
| 3 | -import com.fedex.connect.common.dependencies.contants.DigitConstants; | ||
| 4 | -import com.fedex.connect.common.dependencies.date.vo.PageResult; | ||
| 5 | -import com.fedex.connect.common.dependencies.date.vo.ResponseVo; | ||
| 6 | -import com.fedex.connect.customer.data.dto.AttachmentHistoryDto; | ||
| 7 | import com.fedex.connect.customer.service.base.BaseService; | 3 | import com.fedex.connect.customer.service.base.BaseService; |
| 8 | import com.fedex.connect.customer.service.biz.IAttachmentService; | 4 | import com.fedex.connect.customer.service.biz.IAttachmentService; |
| 9 | import org.springframework.stereotype.Service; | 5 | import org.springframework.stereotype.Service; |
| 10 | 6 | ||
| 11 | -import java.util.Collections; | ||
| 12 | -import java.util.List; | ||
| 13 | - | ||
| 14 | /** | 7 | /** |
| 15 | * @Author Szl | 8 | * @Author Szl |
| 16 | - * @Description 类说明 附件相关service | 9 | + * @Description 类说明 附件操作相关service |
| 17 | * @Date 2024/11/4 | 10 | * @Date 2024/11/4 |
| 18 | */ | 11 | */ |
| 19 | @Service | 12 | @Service |
| 20 | public class AttachmentServiceImpl extends BaseService implements IAttachmentService { | 13 | public class AttachmentServiceImpl extends BaseService implements IAttachmentService { |
| 21 | - /** | ||
| 22 | - * @Author Szl | ||
| 23 | - * @Description 功能说明 查询该运单历史数据 | ||
| 24 | - * @Date 2024/11/5 | ||
| 25 | - * @param userId | ||
| 26 | - * @param bizId | ||
| 27 | - * @return com.fedex.connect.common.dependencies.date.vo.ResponseVo | ||
| 28 | - */ | ||
| 29 | - public ResponseVo findHistory(Long userId, Long bizId) { | ||
| 30 | - List<AttachmentHistoryDto> history = attachmentRepository.findHistory(bizId); | ||
| 31 | - | ||
| 32 | - if (history != null) { | ||
| 33 | - history.forEach(attachmentHistoryDto -> | ||
| 34 | - attachmentHistoryDto.setCreatorFlag( | ||
| 35 | - (attachmentHistoryDto.getUploadUserId() != null && | ||
| 36 | - attachmentHistoryDto.getUploadUserId().equals(userId)) ? | ||
| 37 | - DigitConstants.DIGIT_ONE : DigitConstants.DIGIT_ZERO | ||
| 38 | - ) | ||
| 39 | - ); | ||
| 40 | - } | ||
| 41 | - | ||
| 42 | - PageResult pageResult = new PageResult(); | ||
| 43 | - pageResult.setList(history != null ? history : Collections.emptyList()); | ||
| 44 | - | ||
| 45 | - return ResponseVo.succ(pageResult); | ||
| 46 | - } | ||
| 47 | 14 | ||
| 48 | } | 15 | } | ... | ... |
| 1 | +package com.fedex.connect.customer.service.biz.impl; | ||
| 2 | + | ||
| 3 | +import com.fedex.connect.common.dependencies.contants.GlobalConstantFedex; | ||
| 4 | +import com.fedex.connect.common.dependencies.date.vo.PageResult; | ||
| 5 | +import com.fedex.connect.common.dependencies.date.vo.ResponseVo; | ||
| 6 | +import com.fedex.connect.common.dependencies.util.Utils; | ||
| 7 | +import com.fedex.connect.customer.data.dto.FindConsignmentsDto; | ||
| 8 | +import com.fedex.connect.customer.data.query.ConsignmentQuery; | ||
| 9 | +import com.fedex.connect.customer.service.base.BaseService; | ||
| 10 | +import com.fedex.connect.customer.service.biz.IConsignmentQueryService; | ||
| 11 | +import org.springframework.stereotype.Service; | ||
| 12 | + | ||
| 13 | +import java.util.List; | ||
| 14 | + | ||
| 15 | +/** | ||
| 16 | + * @Author Szl | ||
| 17 | + * @Description 类说明 运单查询相关service | ||
| 18 | + * @Date 2024/10/31 | ||
| 19 | + */ | ||
| 20 | +@Service | ||
| 21 | +public class ConsignmentQueryServiceImpl extends BaseService implements IConsignmentQueryService { | ||
| 22 | + /** | ||
| 23 | + * @Author Szl | ||
| 24 | + * @Description 功能说明 运单查询 | ||
| 25 | + * @Date 2024/11/5 | ||
| 26 | + * @param query | ||
| 27 | + * @return com.fedex.connect.common.dependencies.date.vo.ResponseVo | ||
| 28 | + */ | ||
| 29 | + public ResponseVo findConsignments(ConsignmentQuery query) { | ||
| 30 | + | ||
| 31 | + List<String> consignmentCodeList = query.getConsignmentCodeList(); | ||
| 32 | + if (Utils.isNotEmpty(consignmentCodeList) && consignmentCodeList.size() > GlobalConstantFedex.DECLARE_COUNT) { | ||
| 33 | + return ResponseVo.fail(localeMessageUtil.getMessage("conl_cus_declare_count_max")); | ||
| 34 | + } | ||
| 35 | + | ||
| 36 | + //查询数量 | ||
| 37 | + Long total = consignmentExtRepository.findAllCount(query); | ||
| 38 | + | ||
| 39 | + PageResult pageResult = new PageResult(); | ||
| 40 | + pageResult.setTotal(total); | ||
| 41 | + pageResult.setPage(query.getPage()); | ||
| 42 | + pageResult.setSize(query.getSize()); | ||
| 43 | + if (total != null && total > 0) { | ||
| 44 | + List<FindConsignmentsDto> consignments = consignmentExtRepository.findConsignments(query); | ||
| 45 | + pageResult.setList(consignments); | ||
| 46 | + } | ||
| 47 | + return ResponseVo.succ(pageResult); | ||
| 48 | + } | ||
| 49 | +} |
| 1 | package com.fedex.connect.customer.service.biz.impl; | 1 | package com.fedex.connect.customer.service.biz.impl; |
| 2 | 2 | ||
| 3 | -import com.fedex.connect.common.dependencies.contants.GlobalConstantFedex; | ||
| 4 | -import com.fedex.connect.common.dependencies.date.vo.PageResult; | ||
| 5 | import com.fedex.connect.common.dependencies.date.vo.ResponseVo; | 3 | import com.fedex.connect.common.dependencies.date.vo.ResponseVo; |
| 6 | -import com.fedex.connect.common.dependencies.util.Utils; | ||
| 7 | import com.fedex.connect.common.model.biz.Consignment; | 4 | import com.fedex.connect.common.model.biz.Consignment; |
| 8 | import com.fedex.connect.common.model.sys.User; | 5 | import com.fedex.connect.common.model.sys.User; |
| 9 | import com.fedex.connect.customer.data.bo.AddBo; | 6 | import com.fedex.connect.customer.data.bo.AddBo; |
| 10 | -import com.fedex.connect.customer.data.dto.FindConsignmentsDto; | ||
| 11 | -import com.fedex.connect.customer.data.query.ConsignmentQuery; | ||
| 12 | import com.fedex.connect.customer.service.base.BaseService; | 7 | import com.fedex.connect.customer.service.base.BaseService; |
| 13 | import com.fedex.connect.customer.service.biz.IConsignmentService; | 8 | import com.fedex.connect.customer.service.biz.IConsignmentService; |
| 14 | import com.fedex.connect.customer.util.service.biz.ConsignmentUtil; | 9 | import com.fedex.connect.customer.util.service.biz.ConsignmentUtil; |
| 15 | import org.springframework.beans.factory.annotation.Autowired; | 10 | import org.springframework.beans.factory.annotation.Autowired; |
| 16 | import org.springframework.stereotype.Service; | 11 | import org.springframework.stereotype.Service; |
| 17 | 12 | ||
| 18 | -import java.util.List; | ||
| 19 | - | ||
| 20 | /** | 13 | /** |
| 21 | * @Author Szl | 14 | * @Author Szl |
| 22 | - * @Description 类说明 运单相关service | 15 | + * @Description 类说明 运单操作相关service |
| 23 | * @Date 2024/10/31 | 16 | * @Date 2024/10/31 |
| 24 | */ | 17 | */ |
| 25 | @Service | 18 | @Service |
| ... | @@ -30,34 +23,6 @@ public class ConsignmentServiceImpl extends BaseService implements IConsignmentS | ... | @@ -30,34 +23,6 @@ public class ConsignmentServiceImpl extends BaseService implements IConsignmentS |
| 30 | 23 | ||
| 31 | /** | 24 | /** |
| 32 | * @Author Szl | 25 | * @Author Szl |
| 33 | - * @Description 功能说明 运单查询 | ||
| 34 | - * @Date 2024/11/5 | ||
| 35 | - * @param query | ||
| 36 | - * @return com.fedex.connect.common.dependencies.date.vo.ResponseVo | ||
| 37 | - */ | ||
| 38 | - public ResponseVo findConsignments(ConsignmentQuery query) { | ||
| 39 | - | ||
| 40 | - List<String> consignmentCodeList = query.getConsignmentCodeList(); | ||
| 41 | - if (Utils.isNotEmpty(consignmentCodeList) && consignmentCodeList.size() > GlobalConstantFedex.DECLARE_COUNT) { | ||
| 42 | - return ResponseVo.fail(localeMessageUtil.getMessage("conl_cus_declare_count_max")); | ||
| 43 | - } | ||
| 44 | - | ||
| 45 | - //查询数量 | ||
| 46 | - Long total = consignmentExtRepository.findAllCount(query); | ||
| 47 | - | ||
| 48 | - PageResult pageResult = new PageResult(); | ||
| 49 | - pageResult.setTotal(total); | ||
| 50 | - pageResult.setPage(query.getPage()); | ||
| 51 | - pageResult.setSize(query.getSize()); | ||
| 52 | - if (total != null && total > 0) { | ||
| 53 | - List<FindConsignmentsDto> consignments = consignmentExtRepository.findConsignments(query); | ||
| 54 | - pageResult.setList(consignments); | ||
| 55 | - } | ||
| 56 | - return ResponseVo.succ(pageResult); | ||
| 57 | - } | ||
| 58 | - | ||
| 59 | - /** | ||
| 60 | - * @Author Szl | ||
| 61 | * @Description 功能说明 新增运单 | 26 | * @Description 功能说明 新增运单 |
| 62 | * @Date 2024/11/5 | 27 | * @Date 2024/11/5 |
| 63 | * @param bo | 28 | * @param bo | ... | ... |
| ... | @@ -4,10 +4,8 @@ import com.fedex.connect.common.dependencies.date.vo.ResponseVo; | ... | @@ -4,10 +4,8 @@ import com.fedex.connect.common.dependencies.date.vo.ResponseVo; |
| 4 | import com.fedex.connect.common.dependencies.enums.ResponseCode; | 4 | import com.fedex.connect.common.dependencies.enums.ResponseCode; |
| 5 | import com.fedex.connect.common.dependencies.exception.OpErrorException; | 5 | import com.fedex.connect.common.dependencies.exception.OpErrorException; |
| 6 | import com.fedex.connect.common.dependencies.i18n.LocaleMessageUtil; | 6 | import com.fedex.connect.common.dependencies.i18n.LocaleMessageUtil; |
| 7 | -import com.fedex.connect.customer.data.bo.AddBo; | ||
| 8 | import org.springframework.beans.factory.annotation.Autowired; | 7 | import org.springframework.beans.factory.annotation.Autowired; |
| 9 | import org.springframework.stereotype.Component; | 8 | import org.springframework.stereotype.Component; |
| 10 | -import org.springframework.util.StringUtils; | ||
| 11 | 9 | ||
| 12 | import java.util.Objects; | 10 | import java.util.Objects; |
| 13 | 11 | ... | ... |
-
Please register or login to post a comment