Преглед изворни кода

[招商]adjust

release_toaliyun_real
Burce пре 6 година
родитељ
комит
52070c05f4
2 измењених фајлова са 4 додато и 4 уклоњено
  1. +3
    -3
      mallinkAdmin/src/main/java/com/iformall/controller/invest/InvestFollowRecordController.java
  2. +1
    -1
      mallinkService/src/main/java/com/iformall/service/invest/impl/InvestBizServiceImpl.java

+ 3
- 3
mallinkAdmin/src/main/java/com/iformall/controller/invest/InvestFollowRecordController.java Прегледај датотеку

@@ -47,9 +47,9 @@ public class InvestFollowRecordController extends InvestBaseController {
/**
* 信息
*/
//@GetMapping("/info/{id}")
public InvestResultData info(@PathVariable("id") Long id){
return execute(id, p -> investFollowRecordService.getById(p));
@GetMapping("/info/{id}")
public InvestResultData<InvestFollowRecordVo> info(@PathVariable("id") Long id){
return execute(id, p -> bizService.findFollowRecordById(p));
}

/**


+ 1
- 1
mallinkService/src/main/java/com/iformall/service/invest/impl/InvestBizServiceImpl.java Прегледај датотеку

@@ -170,8 +170,8 @@ public class InvestBizServiceImpl implements InvestBizService {
InvestHelper.notNull(customerDto, customerDto.getDemandId());
InvestDemandEntity demandEntity = demandService.getByIdNotNull(customerDto.getDemandId());
InvestCustomerEntity customerEntity = new InvestCustomerEntity();
customerDto.setId(demandEntity.getCustomerId());
BeanUtils.copyProperties(customerDto, customerEntity);
customerEntity.setId(customerDto.getId());
customerService.updateById(customerEntity);
setValDmand(customerDto, demandEntity);
return demandService.updateById(demandEntity);


Loading…
Откажи
Сачувај