7 changed files with 113 additions and 3 deletions
@ -0,0 +1,22 @@ |
|||
|
|||
package com.yxt.oms.feign.warehouse.warehouseinventoryrecord; |
|||
|
|||
import com.yxt.common.core.query.Query; |
|||
import lombok.Data; |
|||
|
|||
/** |
|||
* @author Fan |
|||
* @description |
|||
* @date 2024/4/8 17:48 |
|||
*/ |
|||
@Data |
|||
public class WarehouseInventoryCountReportQuery implements Query { |
|||
|
|||
private String settleTime; |
|||
private String startDate; |
|||
private String endDate; |
|||
private String orgPath; |
|||
private String customerName; |
|||
private String customerCode; |
|||
|
|||
} |
@ -0,0 +1,38 @@ |
|||
package com.yxt.oms.feign.warehouse.warehouseinventoryrecord; |
|||
|
|||
import com.yxt.common.core.query.PagerQuery; |
|||
import com.yxt.common.core.result.ResultBean; |
|||
import com.yxt.common.core.vo.PagerVo; |
|||
import com.yxt.oms.biz.func.smssalesbill.GoodsCountVo; |
|||
import io.swagger.annotations.Api; |
|||
import io.swagger.annotations.ApiOperation; |
|||
import org.springframework.cloud.openfeign.FeignClient; |
|||
import org.springframework.web.bind.annotation.PostMapping; |
|||
import org.springframework.web.bind.annotation.RequestBody; |
|||
import org.springframework.web.bind.annotation.RequestParam; |
|||
|
|||
/** |
|||
* 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-WarehouseInventoryRecord", |
|||
name = "ss-common-warehouse", |
|||
path = "/apiadmin/warehouseinventoryrecord/" |
|||
) |
|||
public interface WarehouseInventoryRecordFeign { |
|||
@ApiOperation("客户销售统计报表") |
|||
@PostMapping("/customerSales") |
|||
public ResultBean<PagerVo<WarehouseOutReportVo>> customerSales(@RequestBody PagerQuery<WarehouseInventoryCountReportQuery> pq); |
|||
|
|||
} |
@ -0,0 +1,18 @@ |
|||
package com.yxt.oms.feign.warehouse.warehouseinventoryrecord; |
|||
|
|||
import lombok.Data; |
|||
|
|||
/** |
|||
* @author wangpengfei |
|||
* @date 2025/1/3 16:41 |
|||
*/ |
|||
@Data |
|||
public class WarehouseOutReportVo { |
|||
private String sid; |
|||
private String customerSid; |
|||
private String customerName; |
|||
private String customerCode; |
|||
private String amount; |
|||
private String count; |
|||
private String shippingFee; |
|||
} |
Loading…
Reference in new issue