add:出入库单据转发中鼎
This commit is contained in:
@@ -4,6 +4,8 @@ import lombok.extern.slf4j.Slf4j;
|
||||
import org.nl.common.base.TableDataInfo;
|
||||
import org.nl.common.domain.query.PageQuery;
|
||||
import org.nl.common.logging.annotation.Log;
|
||||
import org.nl.wms.ext_manage.purchase.service.dto.BillChangeDto;
|
||||
import org.nl.wms.ext_manage.service.WmsToZDWmdService;
|
||||
import org.nl.wms.pm_manage.purchase.service.PurchaseService;
|
||||
import org.nl.wms.pm_manage.purchase.service.dto.PurchaseDto;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
@@ -22,6 +24,8 @@ public class PurchaseController {
|
||||
|
||||
@Autowired
|
||||
private PurchaseService purchaseService;
|
||||
@Autowired
|
||||
private WmsToZDWmdService wmsToZDWmdService;
|
||||
|
||||
@GetMapping("/{type}")
|
||||
@Log("查询采购入库单")
|
||||
@@ -71,4 +75,10 @@ public class PurchaseController {
|
||||
purchaseService.print(ids);
|
||||
return new ResponseEntity<>(HttpStatus.OK);
|
||||
}
|
||||
|
||||
@PostMapping("/pushZD")
|
||||
@Log("出入库单推中鼎")
|
||||
public ResponseEntity pushZD(@RequestBody BillChangeDto billChangeDto){
|
||||
return wmsToZDWmdService.syncPurchaseReceiving(billChangeDto);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user