同步代码
This commit is contained in:
parent
7674527cbb
commit
3748fe0e6e
|
@ -82,9 +82,9 @@ public class OrderController {
|
||||||
|
|
||||||
@Transactional
|
@Transactional
|
||||||
@ApiOperation("修改行程节点")
|
@ApiOperation("修改行程节点")
|
||||||
@PostMapping("/leg/update")
|
@PostMapping("/leg/change/")
|
||||||
public Result<String> updateLeg(@RequestBody AddLegData addLegData) {
|
public Result<String> changeLeg(@RequestBody AddLegData addLegData) {
|
||||||
orderApplicationService.updateLegToOrder(addLegData);
|
orderApplicationService.changeLeg(addLegData);
|
||||||
return Result.Success(SUCCESS);
|
return Result.Success(SUCCESS);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -153,4 +153,8 @@ public class OrderApplicationService {
|
||||||
@Transactional
|
@Transactional
|
||||||
public void updateLegToOrder(AddLegData addLegData) {
|
public void updateLegToOrder(AddLegData addLegData) {
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Transactional
|
||||||
|
public void changeLeg(AddLegData addLegData) {
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue