|
|
@ -20,6 +20,7 @@ import com.logpm.oldproject.dto.AdvanceDTO; |
|
|
|
import com.logpm.oldproject.entity.AdvanceEntity; |
|
|
|
import com.logpm.oldproject.entity.AdvanceEntity; |
|
|
|
import com.logpm.oldproject.service.IAdvanceService; |
|
|
|
import com.logpm.oldproject.service.IAdvanceService; |
|
|
|
import lombok.AllArgsConstructor; |
|
|
|
import lombok.AllArgsConstructor; |
|
|
|
|
|
|
|
import lombok.extern.slf4j.Slf4j; |
|
|
|
import org.springframework.web.bind.annotation.GetMapping; |
|
|
|
import org.springframework.web.bind.annotation.GetMapping; |
|
|
|
import org.springframework.web.bind.annotation.PostMapping; |
|
|
|
import org.springframework.web.bind.annotation.PostMapping; |
|
|
|
import org.springframework.web.bind.annotation.RestController; |
|
|
|
import org.springframework.web.bind.annotation.RestController; |
|
|
@ -33,6 +34,7 @@ import java.util.List; |
|
|
|
* @author slwk |
|
|
|
* @author slwk |
|
|
|
* @since 2023-05-10 |
|
|
|
* @since 2023-05-10 |
|
|
|
*/ |
|
|
|
*/ |
|
|
|
|
|
|
|
@Slf4j |
|
|
|
@ApiIgnore() |
|
|
|
@ApiIgnore() |
|
|
|
@RestController |
|
|
|
@RestController |
|
|
|
@AllArgsConstructor |
|
|
|
@AllArgsConstructor |
|
|
@ -72,7 +74,14 @@ public class AdvanceClient implements IAdvanceClient { |
|
|
|
@Override |
|
|
|
@Override |
|
|
|
@GetMapping(API_PREFIX + "/queryDataOne") |
|
|
|
@GetMapping(API_PREFIX + "/queryDataOne") |
|
|
|
public AdvanceEntity getQueryDataOne(String orderSelfNum) { |
|
|
|
public AdvanceEntity getQueryDataOne(String orderSelfNum) { |
|
|
|
return service.advanceEntityOne(orderSelfNum); |
|
|
|
log.info("#########getQueryDataOne: orderSelfNum={}",orderSelfNum); |
|
|
|
|
|
|
|
try{ |
|
|
|
|
|
|
|
AdvanceEntity advanceEntity = service.advanceEntityOne(orderSelfNum); |
|
|
|
|
|
|
|
return advanceEntity; |
|
|
|
|
|
|
|
}catch (Exception e){ |
|
|
|
|
|
|
|
log.error("#######系统异常orderSelfNum= "+orderSelfNum,e); |
|
|
|
|
|
|
|
return null; |
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
@Override |
|
|
|
@Override |
|
|
|