|
|
|
@ -3,8 +3,10 @@ package com.logpm.trunkline.feign;
|
|
|
|
|
import com.logpm.trunkline.entity.TrunklineAdvanceEntity; |
|
|
|
|
import org.springblade.common.constant.ModuleNameConstant; |
|
|
|
|
import org.springframework.cloud.openfeign.FeignClient; |
|
|
|
|
import org.springframework.web.bind.annotation.GetMapping; |
|
|
|
|
import org.springframework.web.bind.annotation.PostMapping; |
|
|
|
|
import org.springframework.web.bind.annotation.RequestBody; |
|
|
|
|
import org.springframework.web.bind.annotation.RequestParam; |
|
|
|
|
|
|
|
|
|
@FeignClient( |
|
|
|
|
value = ModuleNameConstant.APPLICATION_TRUNKLINE_NAME |
|
|
|
@ -16,5 +18,7 @@ public interface ITrunklineAdvanceClient {
|
|
|
|
|
@PostMapping(API_PREFIX+"/addAdvanceReturnId") |
|
|
|
|
Long addAdvanceReturnId(@RequestBody TrunklineAdvanceEntity trunklineAdvanceEntity); |
|
|
|
|
|
|
|
|
|
@GetMapping(API_PREFIX+"/findAdvanceLimitOneByOrderCode") |
|
|
|
|
TrunklineAdvanceEntity findAdvanceLimitOneByOrderCode(@RequestParam String orderCode); |
|
|
|
|
|
|
|
|
|
} |
|
|
|
|