Browse Source

1.同步盘点任务数据提交

training
zhenghaoyu 1 year ago
parent
commit
a6fd571ba9
  1. 71
      blade-service/logpm-patch/src/main/java/com/logpm/patch/controller/SyncInventoryController.java

71
blade-service/logpm-patch/src/main/java/com/logpm/patch/controller/SyncInventoryController.java

@ -0,0 +1,71 @@
/*
* Copyright (c) 2018-2028, Chill Zhuang All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* Redistributions of source code must retain the above copyright notice,
* this list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
* Neither the name of the dreamlu.net developer nor the names of its
* contributors may be used to endorse or promote products derived from
* this software without specific prior written permission.
* Author: Chill 庄骞 (smallchill@163.com)
*/
package com.logpm.patch.controller;
import io.swagger.annotations.Api;
import lombok.AllArgsConstructor;
import org.springblade.core.boot.ctrl.BladeController;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
/**
* 库存品条码记录表 控制器
*
* @author TJJ
* @since 2023-09-04
*/
@RestController
@AllArgsConstructor
@RequestMapping("/syncInventory")
@Api(value = "库存品条码记录表", tags = "库存品条码记录表接口")
public class SyncInventoryController extends BladeController {
/**
* 库存品条码记录表 详情
*/
// @GetMapping("/detail")
// @ApiOperationSupport(order = 1)
// @ApiOperation(value = "详情", notes = "传入disStockListDetail")
// public R<DisStockListDetailEntity> detail(DisStockListDetailEntity disStockListDetail) {
// DisStockListDetailEntity detail = disStockListDetailService.getOne(Condition.getQueryWrapper(disStockListDetail));
// return R.data(detail);
// }
/**
* 库存品条码记录表 分页
*/
// @GetMapping("/list")
// @ApiOperationSupport(order = 2)
// @ApiOperation(value = "分页", notes = "传入disStockListDetail")
// public R<IPage<DisStockListDetailEntity>> list(@ApiIgnore @RequestParam Map<String, Object> disStockListDetail, Query query) {
// IPage<DisStockListDetailEntity> pages = disStockListDetailService.page(Condition.getPage(query), Condition.getQueryWrapper(disStockListDetail, DisStockListDetailEntity.class));
// return R.data(pages);
// }
/**
* 库存品条码记录表 新增或修改
*/
// @PostMapping("/submit")
// @ApiOperationSupport(order = 6)
// @ApiOperation(value = "新增或修改", notes = "传入disStockListDetail")
// public R submit(@Valid @RequestBody DisStockListDetailEntity disStockListDetail) {
// return R.status(disStockListDetailService.saveOrUpdate(disStockListDetail));
// }
}
Loading…
Cancel
Save