|
|
|
|
@ -8,6 +8,7 @@ import org.springblade.desk.order.pojo.entity.YieldPlan; |
|
|
|
|
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; |
|
|
|
|
|
|
|
|
|
import java.util.List; |
|
|
|
|
@ -43,14 +44,14 @@ public interface IApsOrderClient { |
|
|
|
|
String UP_DATE_MAX = API_PREFIX + "/upByDateMax"; |
|
|
|
|
|
|
|
|
|
@PostMapping(SYNC_PLAN_FROM_SAVE) |
|
|
|
|
void saveList(List<YieldPlan> yieldOrderList); |
|
|
|
|
void saveList(@RequestBody List<YieldPlan> yieldOrderList); |
|
|
|
|
@GetMapping(GET_CRAFT_LIST) |
|
|
|
|
List<DsCraftEntity> getDsCraftList(); |
|
|
|
|
@GetMapping(GET_PLAN_LIST) |
|
|
|
|
List<YieldPlan> getPlanList(); |
|
|
|
|
|
|
|
|
|
@GetMapping(GET_PART_LIST_BY_PARAM) |
|
|
|
|
List<DsPartEntity> getPartListByParam(List<String> partCodeList); |
|
|
|
|
List<DsPartEntity> getPartListByParam(@RequestParam("partCodeList") List<String> partCodeList); |
|
|
|
|
@GetMapping(GET_PART_LIST) |
|
|
|
|
List<DsPartEntity> getPartList(); |
|
|
|
|
@GetMapping(UPDATE_BY_ID) |
|
|
|
|
@ -69,7 +70,7 @@ public interface IApsOrderClient { |
|
|
|
|
@GetMapping(GET_CRAFT_CODE) |
|
|
|
|
List<DsPartEntity> getDsCraftListByCode(@RequestParam("prtno") String prtno); |
|
|
|
|
@PostMapping(SAVE_ORDER_LIST) |
|
|
|
|
void saveOrderList(List<YieldOrder> yieldOrderList); |
|
|
|
|
void saveOrderList(@RequestBody List<YieldOrder> yieldOrderList); |
|
|
|
|
@GetMapping (UP_DATE_MAX) |
|
|
|
|
void upByDateMax(@RequestParam("max") String max,@RequestParam("code") String code); |
|
|
|
|
|
|
|
|
|
@ -83,5 +84,5 @@ public interface IApsOrderClient { |
|
|
|
|
* @param yieldOrderList |
|
|
|
|
*/ |
|
|
|
|
@PostMapping(SAVE_ORDER) |
|
|
|
|
void saveOrder(List<YieldOrder> yieldOrderList); |
|
|
|
|
void saveOrder(@RequestBody List<YieldOrder> yieldOrderList); |
|
|
|
|
} |
|
|
|
|
|