Browse Source

1.修复bug

test
zhenghaoyu 2 years ago
parent
commit
b93d4ae4f4
  1. 4
      blade-service-api/logpm-old-project-api/src/main/java/com/logpm/oldproject/feign/INewDistributionContactClient.java
  2. 2
      blade-service/logpm-factory/src/main/java/com/logpm/factory/mt/service/impl/MtFactoryDataServiceImpl.java
  3. 4
      blade-service/logpm-old-project/src/main/java/com/logpm/oldproject/feign/NewDistributionContactClient.java
  4. 2
      blade-service/logpm-old-project/src/main/java/com/logpm/oldproject/service/INewDistributionContactService.java
  5. 2
      blade-service/logpm-old-project/src/main/java/com/logpm/oldproject/service/impl/NewDistributionContactServiceImpl.java

4
blade-service-api/logpm-old-project-api/src/main/java/com/logpm/oldproject/feign/INewDistributionContactClient.java

@ -35,6 +35,6 @@ public interface INewDistributionContactClient {
String API_PREFIX = "/client"; String API_PREFIX = "/client";
String TOP = API_PREFIX + "/top"; String TOP = API_PREFIX + "/top";
@GetMapping(API_PREFIX + "/fingById") @GetMapping(API_PREFIX + "/fingByNewDistributionContactId")
NewDistributionContactEntity fingById(@RequestParam Integer NewDistributionContactId); NewDistributionContactEntity fingByNewDistributionContactId(@RequestParam Integer NewDistributionContactId);
} }

2
blade-service/logpm-factory/src/main/java/com/logpm/factory/mt/service/impl/MtFactoryDataServiceImpl.java

@ -318,7 +318,7 @@ public class MtFactoryDataServiceImpl implements IMtFactoryDataService {
List<ReceiveBodyDTO> receiveBodyList = receiveInfoDTO.getReceiveBodyList(); List<ReceiveBodyDTO> receiveBodyList = receiveInfoDTO.getReceiveBodyList();
List<ReceivePhotoDTO> receivePhotoList = receiveInfoDTO.getReceivePhotoList(); List<ReceivePhotoDTO> receivePhotoList = receiveInfoDTO.getReceivePhotoList();
//查询签收人 //查询签收人
NewDistributionContactEntity newDistributionContactEntity = newDistributionContactClient.fingById(newDistributionContactId); NewDistributionContactEntity newDistributionContactEntity = newDistributionContactClient.fingByNewDistributionContactId(newDistributionContactId);
String receiver = null; String receiver = null;
if (!Objects.isNull(newDistributionContactEntity)){ if (!Objects.isNull(newDistributionContactEntity)){
receiver = newDistributionContactEntity.getContact(); receiver = newDistributionContactEntity.getContact();

4
blade-service/logpm-old-project/src/main/java/com/logpm/oldproject/feign/NewDistributionContactClient.java

@ -14,7 +14,7 @@ public class NewDistributionContactClient implements INewDistributionContactClie
private final INewDistributionContactService newDistributionContactService; private final INewDistributionContactService newDistributionContactService;
@Override @Override
public NewDistributionContactEntity fingById(Integer NewDistributionContactId) { public NewDistributionContactEntity fingByNewDistributionContactId(Integer NewDistributionContactId) {
return newDistributionContactService.fingById(NewDistributionContactId); return newDistributionContactService.fingByNewDistributionContactId(NewDistributionContactId);
} }
} }

2
blade-service/logpm-old-project/src/main/java/com/logpm/oldproject/service/INewDistributionContactService.java

@ -4,5 +4,5 @@ import com.logpm.oldproject.entity.NewDistributionContactEntity;
public interface INewDistributionContactService { public interface INewDistributionContactService {
NewDistributionContactEntity fingById(Integer newDistributionContactId); NewDistributionContactEntity fingByNewDistributionContactId(Integer newDistributionContactId);
} }

2
blade-service/logpm-old-project/src/main/java/com/logpm/oldproject/service/impl/NewDistributionContactServiceImpl.java

@ -13,7 +13,7 @@ public class NewDistributionContactServiceImpl implements INewDistributionContac
private final NewDistributionContactMapper newDistributionContactMapper; private final NewDistributionContactMapper newDistributionContactMapper;
@Override @Override
public NewDistributionContactEntity fingById(Integer newDistributionContactId) { public NewDistributionContactEntity fingByNewDistributionContactId(Integer newDistributionContactId) {
return newDistributionContactMapper.selectById(newDistributionContactId); return newDistributionContactMapper.selectById(newDistributionContactId);
} }
} }

Loading…
Cancel
Save