|
|
|
@ -1,6 +1,7 @@ |
|
|
|
package org.springblade.wms.feign; |
|
|
|
package org.springblade.wms.feign; |
|
|
|
|
|
|
|
|
|
|
|
import org.springframework.cloud.openfeign.FeignClient; |
|
|
|
import org.springframework.cloud.openfeign.FeignClient; |
|
|
|
|
|
|
|
import org.springframework.format.annotation.DateTimeFormat; |
|
|
|
import org.springframework.web.bind.annotation.PostMapping; |
|
|
|
import org.springframework.web.bind.annotation.PostMapping; |
|
|
|
import org.springframework.web.bind.annotation.RequestParam; |
|
|
|
import org.springframework.web.bind.annotation.RequestParam; |
|
|
|
|
|
|
|
|
|
|
|
@ -36,6 +37,7 @@ public interface WmsTaskClient { |
|
|
|
*/ |
|
|
|
*/ |
|
|
|
@PostMapping(BUY_ORDER_APPLY) |
|
|
|
@PostMapping(BUY_ORDER_APPLY) |
|
|
|
Long buyOrderApply(@RequestParam("goodsCode")String goodsCode, @RequestParam("buyQty")Double buyQty, @RequestParam("userId")Long userId, |
|
|
|
Long buyOrderApply(@RequestParam("goodsCode")String goodsCode, @RequestParam("buyQty")Double buyQty, @RequestParam("userId")Long userId, |
|
|
|
@RequestParam("buyDate")Date buyDate, @RequestParam("checkUserId")Long checkUserId, @RequestParam("checkDate")Date checkDate) throws Exception; |
|
|
|
@RequestParam("buyDate") @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss") Date buyDate, @RequestParam("checkUserId")Long checkUserId, |
|
|
|
|
|
|
|
@RequestParam("checkDate") @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss") Date checkDate) throws Exception; |
|
|
|
|
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
|