11 changed files with 164 additions and 65 deletions
@ -0,0 +1,46 @@ |
|||||
|
package com.yxt.wms.apiadmin.aggregation; |
||||
|
|
||||
|
import com.yxt.common.core.query.PagerQuery; |
||||
|
import com.yxt.common.core.result.ResultBean; |
||||
|
import com.yxt.common.core.vo.PagerVo; |
||||
|
import com.yxt.wms.biz.func.inventoryadjustmentdetail.InventoryAdjustmentDetailQuery; |
||||
|
import com.yxt.wms.biz.func.inventoryadjustmentdetail.InventoryAdjustmentDetailService; |
||||
|
import com.yxt.wms.biz.func.inventoryadjustmentdetail.InventoryAdjustmentDetailVo; |
||||
|
import io.swagger.annotations.Api; |
||||
|
import io.swagger.annotations.ApiOperation; |
||||
|
import org.springframework.beans.factory.annotation.Autowired; |
||||
|
import org.springframework.web.bind.annotation.PostMapping; |
||||
|
import org.springframework.web.bind.annotation.RequestBody; |
||||
|
import org.springframework.web.bind.annotation.RequestMapping; |
||||
|
import org.springframework.web.bind.annotation.RestController; |
||||
|
|
||||
|
/** |
||||
|
* @author wangpengfei |
||||
|
* @date 2024/2/28 8:53 |
||||
|
*/ |
||||
|
@Api(tags = "库存调整明细") |
||||
|
@RestController |
||||
|
@RequestMapping("/apiadmin/inventoryadjustmentdetail") |
||||
|
public class InventoryAdjustmentDetailRest { |
||||
|
|
||||
|
@Autowired |
||||
|
InventoryAdjustmentDetailService inventoryAdjustmentDetailService; |
||||
|
|
||||
|
@ApiOperation("分页列表") |
||||
|
@PostMapping("/listPage") |
||||
|
public ResultBean<PagerVo<InventoryAdjustmentDetailVo>> listPage(@RequestBody PagerQuery<InventoryAdjustmentDetailQuery> pq) { |
||||
|
return inventoryAdjustmentDetailService.listPage(pq); |
||||
|
} |
||||
|
|
||||
|
|
||||
|
// @ApiOperation("保存修改")
|
||||
|
// @PostMapping("/saveOrUpdate")
|
||||
|
// public ResultBean<String> saveOrUpdate(@RequestBody InventoryAdjustmentDetailDto dto) {
|
||||
|
// return inventoryAdjustmentDetailService.saveOrUpdate(dto);
|
||||
|
// }
|
||||
|
|
||||
|
|
||||
|
|
||||
|
|
||||
|
|
||||
|
} |
@ -0,0 +1,41 @@ |
|||||
|
package com.yxt.wms.feign.warehouse.inventoryadjustmentdetail; |
||||
|
|
||||
|
import com.yxt.common.core.query.PagerQuery; |
||||
|
import com.yxt.common.core.result.ResultBean; |
||||
|
import com.yxt.common.core.vo.PagerVo; |
||||
|
import com.yxt.wms.biz.func.inventoryadjustment.InventoryAdjustmentDto; |
||||
|
import com.yxt.wms.biz.func.inventoryadjustment.InventoryAdjustmentQuery; |
||||
|
import com.yxt.wms.biz.func.inventoryadjustment.InventoryAdjustmentVo; |
||||
|
import com.yxt.wms.biz.func.inventoryadjustmentdetail.InventoryAdjustmentDetailQuery; |
||||
|
import com.yxt.wms.biz.func.inventoryadjustmentdetail.InventoryAdjustmentDetailVo; |
||||
|
import com.yxt.wms.utils.OrgPathQuery; |
||||
|
import io.swagger.annotations.Api; |
||||
|
import io.swagger.annotations.ApiOperation; |
||||
|
import org.springframework.cloud.openfeign.FeignClient; |
||||
|
import org.springframework.web.bind.annotation.*; |
||||
|
|
||||
|
/** |
||||
|
* Project: anrui_portal(门户建设) <br/> |
||||
|
* File: SysRoleFeign.java <br/> |
||||
|
* Class: com.yxt.anrui.portal.api.sysrole.SysRoleFeign <br/> |
||||
|
* Description: 角色. <br/> |
||||
|
* Copyright: Copyright (c) 2011 <br/> |
||||
|
* Company: https://gitee.com/liuzp315 <br/>
|
||||
|
* Makedate: 2021-08-03 00:24:29 <br/> |
||||
|
* |
||||
|
* @author liupopo |
||||
|
* @version 1.0 |
||||
|
* @since 1.0 |
||||
|
*/ |
||||
|
@Api(tags = "库存调整明细") |
||||
|
@FeignClient( |
||||
|
contextId = "ss-common-warehouse-InventoryAdjustmentDetail", |
||||
|
name = "ss-common-warehouse", |
||||
|
path = "/apiadmin/inventoryadjustmentdetail" |
||||
|
) |
||||
|
public interface InventoryAdjustmentDetailFeign { |
||||
|
@ApiOperation("分页列表") |
||||
|
@PostMapping("/listPage") |
||||
|
public ResultBean<PagerVo<InventoryAdjustmentDetailVo>> listPage(@RequestBody PagerQuery<InventoryAdjustmentDetailQuery> pq); |
||||
|
|
||||
|
} |
Loading…
Reference in new issue