零件采购订单生成
This commit is contained in:
parent
f75e13f58d
commit
0410a72c5c
@ -1,6 +1,7 @@
|
|||||||
package com.chanko.yunxi.mes.module.heli.controller.admin.purchaseordermake;
|
package com.chanko.yunxi.mes.module.heli.controller.admin.purchaseordermake;
|
||||||
|
|
||||||
import com.chanko.yunxi.mes.module.heli.controller.admin.purchaseordermake.vo.PartPurchaseOrderPageReqVO;
|
import com.chanko.yunxi.mes.module.heli.controller.admin.purchaseordermake.vo.PartPurchaseOrderPageReqVO;
|
||||||
|
import com.chanko.yunxi.mes.module.heli.controller.admin.purchaseordermakedetail.vo.PurchaseOrderMakeDetailRespVO;
|
||||||
import com.chanko.yunxi.mes.module.heli.dal.dataobject.taskdispatch.TaskDispatchDetailDO;
|
import com.chanko.yunxi.mes.module.heli.dal.dataobject.taskdispatch.TaskDispatchDetailDO;
|
||||||
import com.chanko.yunxi.mes.module.heli.service.partpurchaseorder.PartPurchaseOrderService;
|
import com.chanko.yunxi.mes.module.heli.service.partpurchaseorder.PartPurchaseOrderService;
|
||||||
import org.springframework.web.bind.annotation.*;
|
import org.springframework.web.bind.annotation.*;
|
||||||
@ -100,9 +101,11 @@ public class PurchaseOrderMakeController {
|
|||||||
@GetMapping("/getPartPurchaseOrderPage")
|
@GetMapping("/getPartPurchaseOrderPage")
|
||||||
@Operation(summary = "获得零件采购订单生成分页")
|
@Operation(summary = "获得零件采购订单生成分页")
|
||||||
// @PreAuthorize("@ss.hasPermission('heli:material-plan:query')")
|
// @PreAuthorize("@ss.hasPermission('heli:material-plan:query')")
|
||||||
public CommonResult<PageResult<PartPurchaseOrderPageRespVO>> getPartPurchaseOrderPage(@Valid PartPurchaseOrderPageReqVO partPurchaseOrderPageReqVO) {
|
public CommonResult<PageResult<PurchaseOrderMakeDetailRespVO>> getPartPurchaseOrderPage(@Valid PartPurchaseOrderPageReqVO partPurchaseOrderPageReqVO) {
|
||||||
// PageResult<TaskDispatchDetailDO> pageResult = materialPlanService.getPartPage(pageReqVO);
|
// PageResult<TaskDispatchDetailDO> pageResult = materialPlanService.getPartPage(pageReqVO);
|
||||||
// return success(pageResult);
|
// return success(pageResult);
|
||||||
|
|
||||||
|
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -50,4 +50,5 @@ public class PartPurchaseOrderPageRespVO {
|
|||||||
@Schema(description = "零件理论重量")
|
@Schema(description = "零件理论重量")
|
||||||
@ExcelProperty("零件理论重量")
|
@ExcelProperty("零件理论重量")
|
||||||
private BigDecimal theWeight;
|
private BigDecimal theWeight;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
@ -1,9 +1,23 @@
|
|||||||
package com.chanko.yunxi.mes.module.heli.service.partpurchaseorder;
|
package com.chanko.yunxi.mes.module.heli.service.partpurchaseorder;
|
||||||
|
|
||||||
|
import com.chanko.yunxi.mes.framework.common.pojo.PageResult;
|
||||||
|
import com.chanko.yunxi.mes.module.heli.controller.admin.purchaseordermake.vo.PartPurchaseOrderPageReqVO;
|
||||||
|
import com.chanko.yunxi.mes.module.heli.controller.admin.purchaseordermake.vo.PurchaseOrderMakePageReqVO;
|
||||||
|
import com.chanko.yunxi.mes.module.heli.controller.admin.purchaseordermakedetail.vo.PurchaseOrderMakeDetailRespVO;
|
||||||
|
import com.chanko.yunxi.mes.module.heli.dal.dataobject.purchaseordermake.PurchaseOrderMakeDO;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 零件采购订单 Service 接口
|
* 零件采购订单 Service 接口
|
||||||
*
|
*
|
||||||
* @author 管理员
|
* @author 管理员
|
||||||
*/
|
*/
|
||||||
public class PartPurchaseOrderService {
|
public interface PartPurchaseOrderService {
|
||||||
|
/**
|
||||||
|
* 获得零件采购订单生成分页
|
||||||
|
*
|
||||||
|
* @param pageReqVO 分页查询
|
||||||
|
* @return 零件采购订单生成分页
|
||||||
|
*/
|
||||||
|
PageResult<PurchaseOrderMakeDetailRespVO> getPartPurchaseOrderPage(PartPurchaseOrderPageReqVO pageReqVO);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
@ -0,0 +1,18 @@
|
|||||||
|
package com.chanko.yunxi.mes.module.heli.service.partpurchaseorder;
|
||||||
|
|
||||||
|
import com.chanko.yunxi.mes.framework.common.pojo.PageResult;
|
||||||
|
import com.chanko.yunxi.mes.module.heli.controller.admin.purchaseordermake.vo.PartPurchaseOrderPageReqVO;
|
||||||
|
import com.chanko.yunxi.mes.module.heli.controller.admin.purchaseordermakedetail.vo.PurchaseOrderMakeDetailRespVO;
|
||||||
|
import org.springframework.stereotype.Service;
|
||||||
|
import org.springframework.validation.annotation.Validated;
|
||||||
|
|
||||||
|
@Service
|
||||||
|
@Validated
|
||||||
|
public class PartPurchaseOrderServiceImpl implements PartPurchaseOrderService{
|
||||||
|
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public PageResult<PurchaseOrderMakeDetailRespVO> getPartPurchaseOrderPage(PartPurchaseOrderPageReqVO pageReqVO) {
|
||||||
|
return null;
|
||||||
|
}
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user