61 changed files with 1929 additions and 298 deletions
@ -0,0 +1,24 @@ |
|||||
|
package com.yxt.wms.apiadmin.aggregation; |
||||
|
|
||||
|
import com.yxt.common.core.result.ResultBean; |
||||
|
import com.yxt.wms.biz.func.warehouseinvoiceout.WarehouseInvoiceOutDto; |
||||
|
import com.yxt.wms.biz.func.warehouseinvoiceout.WarehouseInvoiceOutService; |
||||
|
import com.yxt.wms.biz.func.warehouseinvoiceout.WarehouseInvoiceOutVo; |
||||
|
import io.swagger.annotations.Api; |
||||
|
import io.swagger.annotations.ApiOperation; |
||||
|
import org.springframework.beans.factory.annotation.Autowired; |
||||
|
import org.springframework.web.bind.annotation.*; |
||||
|
|
||||
|
import java.util.List; |
||||
|
|
||||
|
/** |
||||
|
* @author wangpengfei |
||||
|
* @date 2024/8/14 14:56 |
||||
|
*/ |
||||
|
|
||||
|
@Api(tags = "发票和出库单关联表") |
||||
|
@RestController |
||||
|
@RequestMapping("/apiadmin/warehouseinvoiceout") |
||||
|
public class WarehouseInvoiceOutRest { |
||||
|
|
||||
|
} |
@ -0,0 +1,37 @@ |
|||||
|
package com.yxt.wms.apiadmin.aggregation; |
||||
|
|
||||
|
import com.yxt.common.core.result.ResultBean; |
||||
|
import com.yxt.wms.biz.func.warehouseinvoice.WarehouseInvoiceDto; |
||||
|
import com.yxt.wms.biz.func.warehouseinvoice.WarehouseInvoiceService; |
||||
|
import com.yxt.wms.biz.func.warehouseinvoice.WarehouseInvoiceVo; |
||||
|
import io.swagger.annotations.Api; |
||||
|
import io.swagger.annotations.ApiOperation; |
||||
|
import org.springframework.beans.factory.annotation.Autowired; |
||||
|
import org.springframework.web.bind.annotation.*; |
||||
|
|
||||
|
/** |
||||
|
* @author wangpengfei |
||||
|
* @date 2024/8/14 14:55 |
||||
|
*/ |
||||
|
@Api(tags = "发票信息") |
||||
|
@RestController |
||||
|
@RequestMapping("/apiadmin/warehouseinvoice") |
||||
|
public class WarehouseInvoiceRest { |
||||
|
@Autowired |
||||
|
private WarehouseInvoiceService warehouseInvoiceService; |
||||
|
|
||||
|
|
||||
|
|
||||
|
@ApiOperation("保存修改") |
||||
|
@PostMapping("/saveOrUpdate") |
||||
|
ResultBean saveOrUpdate(@RequestBody WarehouseInvoiceDto dto) { |
||||
|
return warehouseInvoiceService.saveOrUpdate(dto); |
||||
|
} |
||||
|
|
||||
|
@ApiOperation("详情") |
||||
|
@GetMapping("/details") |
||||
|
ResultBean<WarehouseInvoiceVo> details(@RequestParam("sid") String sid) { |
||||
|
return warehouseInvoiceService.details(sid); |
||||
|
} |
||||
|
|
||||
|
} |
@ -0,0 +1,33 @@ |
|||||
|
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.warehouseoutbilldetail.WarehouseOutBillDetailService; |
||||
|
import com.yxt.wms.biz.func.warehouseoutbilldetail.WarehouseOutBillDetailVo; |
||||
|
import io.swagger.annotations.Api; |
||||
|
import io.swagger.annotations.ApiOperation; |
||||
|
import org.springframework.beans.factory.annotation.Autowired; |
||||
|
import org.springframework.web.bind.annotation.*; |
||||
|
|
||||
|
import java.util.List; |
||||
|
|
||||
|
/** |
||||
|
* @author wangpengfei |
||||
|
* @date 2024/6/7 13:51 |
||||
|
*/ |
||||
|
@Api(tags = "出库单据明细") |
||||
|
@RestController |
||||
|
@RequestMapping("/apiadmin/warehouseoutbilldetail") |
||||
|
public class WarehouseOutBillDetailRest { |
||||
|
@Autowired |
||||
|
WarehouseOutBillDetailService warehouseOutBillDetailService; |
||||
|
|
||||
|
|
||||
|
@ApiOperation("根据SID获取一条记录") |
||||
|
@GetMapping("/selectDetailsByBillSid") |
||||
|
public ResultBean<List<WarehouseOutBillDetailVo>> selectDetailsByBillSid(@RequestParam("sid") String sid){ |
||||
|
return warehouseOutBillDetailService.selectDetailsByBillSid(sid); |
||||
|
} |
||||
|
|
||||
|
} |
@ -0,0 +1,37 @@ |
|||||
|
package com.yxt.wms.apiadmin.aggregation; |
||||
|
|
||||
|
import com.yxt.common.core.result.ResultBean; |
||||
|
import com.yxt.wms.biz.func.warehouseoutlocation.WarehouseOutLocationDto; |
||||
|
import com.yxt.wms.biz.func.warehouseoutlocation.WarehouseOutLocationService; |
||||
|
import com.yxt.wms.biz.func.warehouseoutlocation.WarehouseOutLocationVo; |
||||
|
import io.swagger.annotations.Api; |
||||
|
import io.swagger.annotations.ApiOperation; |
||||
|
import org.springframework.beans.factory.annotation.Autowired; |
||||
|
import org.springframework.web.bind.annotation.*; |
||||
|
|
||||
|
import java.util.List; |
||||
|
|
||||
|
/** |
||||
|
* @author wangpengfei |
||||
|
* @date 2024/8/15 10:09 |
||||
|
*/ |
||||
|
@Api(tags = "出库库位分配") |
||||
|
@RestController |
||||
|
@RequestMapping("/apiadmin/warehouseoutlocation") |
||||
|
public class WarehouseOutLocationRest { |
||||
|
|
||||
|
@Autowired |
||||
|
WarehouseOutLocationService warehouseOutLocationService; |
||||
|
|
||||
|
@ApiOperation("保存修改") |
||||
|
@PostMapping("/saveOrUpdate") |
||||
|
ResultBean save(@RequestBody List<WarehouseOutLocationDto> dtos) { |
||||
|
return warehouseOutLocationService.save(dtos); |
||||
|
} |
||||
|
|
||||
|
@ApiOperation("详情") |
||||
|
@GetMapping("/details") |
||||
|
ResultBean<List<WarehouseOutLocationVo>> details(@RequestParam("sid") String sid) { |
||||
|
return warehouseOutLocationService.details(sid); |
||||
|
} |
||||
|
} |
@ -0,0 +1,25 @@ |
|||||
|
package com.yxt.wms.biz.func.warehouseinventory; |
||||
|
|
||||
|
import lombok.Data; |
||||
|
|
||||
|
import java.math.BigDecimal; |
||||
|
|
||||
|
/** |
||||
|
* @author wangpengfei |
||||
|
* @date 2024/8/15 11:23 |
||||
|
*/ |
||||
|
@Data |
||||
|
public class AvailableCountVo { |
||||
|
private String sid; |
||||
|
private String locationSid;//分配明细sid
|
||||
|
private String goodsSkuSid; |
||||
|
private String goodsSpuName; |
||||
|
private String warehouseName; |
||||
|
private String areaName; |
||||
|
private String rackSid; |
||||
|
private String rackName; |
||||
|
private String rackCode; |
||||
|
private BigDecimal useCount; |
||||
|
private BigDecimal initialCount=new BigDecimal(0);//原分配数
|
||||
|
private BigDecimal count=new BigDecimal(0);//分配数
|
||||
|
} |
@ -0,0 +1,33 @@ |
|||||
|
package com.yxt.wms.biz.func.warehouseinvoice; |
||||
|
|
||||
|
import com.yxt.common.core.domain.BaseEntity; |
||||
|
import io.swagger.annotations.ApiModelProperty; |
||||
|
import lombok.Data; |
||||
|
|
||||
|
/** |
||||
|
* @description: |
||||
|
* @author: dimengzhe |
||||
|
* @date: 2024/4/24 |
||||
|
**/ |
||||
|
@Data |
||||
|
public class WarehouseInvoice extends BaseEntity { |
||||
|
|
||||
|
|
||||
|
@ApiModelProperty("单据sid") |
||||
|
private String billSid; |
||||
|
@ApiModelProperty("发票类型 1 普通发票") |
||||
|
private String invoiceType; |
||||
|
|
||||
|
@ApiModelProperty("开票方") |
||||
|
private String invoicingParty; |
||||
|
@ApiModelProperty("抬头") |
||||
|
private String rise; |
||||
|
@ApiModelProperty("总金额") |
||||
|
private String totalAmount; |
||||
|
@ApiModelProperty("税号") |
||||
|
private String dutyParagraph; |
||||
|
@ApiModelProperty("内容类型 1 发票商品 2自定义明细") |
||||
|
private String contentType; |
||||
|
|
||||
|
|
||||
|
} |
@ -0,0 +1,39 @@ |
|||||
|
package com.yxt.wms.biz.func.warehouseinvoice; |
||||
|
|
||||
|
import com.yxt.wms.biz.func.warehouseinvoiceout.WarehouseInvoiceOutDto; |
||||
|
import io.swagger.annotations.ApiModelProperty; |
||||
|
import lombok.Data; |
||||
|
|
||||
|
import java.util.ArrayList; |
||||
|
import java.util.List; |
||||
|
|
||||
|
/** |
||||
|
* @description: |
||||
|
* @author: dimengzhe |
||||
|
* @date: 2024/4/24 |
||||
|
**/ |
||||
|
@Data |
||||
|
public class WarehouseInvoiceDto { |
||||
|
private String sid; |
||||
|
@ApiModelProperty("单据sid") |
||||
|
private String billSid; |
||||
|
@ApiModelProperty("发票类型 1 普通发票") |
||||
|
private String invoiceType; |
||||
|
|
||||
|
@ApiModelProperty("开票方") |
||||
|
private String invoicingParty; |
||||
|
@ApiModelProperty("抬头") |
||||
|
private String rise; |
||||
|
@ApiModelProperty("总金额") |
||||
|
private String totalAmount; |
||||
|
@ApiModelProperty("税号") |
||||
|
private String dutyParagraph; |
||||
|
@ApiModelProperty("内容类型 1 发票商品 2自定义明细") |
||||
|
private String contentType; |
||||
|
private String remarks; |
||||
|
|
||||
|
|
||||
|
private List<WarehouseInvoiceOutDto> detailsList = new ArrayList<>(); |
||||
|
|
||||
|
|
||||
|
} |
@ -0,0 +1,22 @@ |
|||||
|
package com.yxt.wms.biz.func.warehouseinvoice; |
||||
|
|
||||
|
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper; |
||||
|
import com.baomidou.mybatisplus.core.mapper.BaseMapper; |
||||
|
import com.baomidou.mybatisplus.core.metadata.IPage; |
||||
|
import com.baomidou.mybatisplus.core.toolkit.Constants; |
||||
|
import org.apache.ibatis.annotations.Mapper; |
||||
|
import org.apache.ibatis.annotations.Param; |
||||
|
|
||||
|
/** |
||||
|
* @description: |
||||
|
* @author: dimengzhe |
||||
|
* @date: 2024/4/24 |
||||
|
**/ |
||||
|
@Mapper |
||||
|
public interface WarehouseInvoiceMapper extends BaseMapper<WarehouseInvoice> { |
||||
|
IPage<WarehouseInvoiceVo> listPage(IPage<WarehouseInvoice> page, @Param(Constants.WRAPPER) QueryWrapper<WarehouseInvoice> qw); |
||||
|
|
||||
|
WarehouseInvoiceVo details(@Param("sid") String sid); |
||||
|
|
||||
|
} |
||||
|
|
@ -0,0 +1,5 @@ |
|||||
|
<?xml version="1.0" encoding="UTF-8" ?> |
||||
|
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd"> |
||||
|
<mapper namespace="com.yxt.wms.biz.func.warehouseinvoice.WarehouseInvoiceMapper"> |
||||
|
|
||||
|
</mapper> |
@ -0,0 +1,49 @@ |
|||||
|
package com.yxt.wms.biz.func.warehouseinvoice; |
||||
|
|
||||
|
import com.yxt.common.core.query.Query; |
||||
|
import io.swagger.annotations.ApiModelProperty; |
||||
|
import lombok.Data; |
||||
|
|
||||
|
/** |
||||
|
* @description: |
||||
|
* @author: dimengzhe |
||||
|
* @date: 2024/4/24 |
||||
|
**/ |
||||
|
@Data |
||||
|
public class WarehouseInvoiceQuery implements Query { |
||||
|
|
||||
|
@ApiModelProperty("单据编号") |
||||
|
private String billNo; |
||||
|
private String billState; |
||||
|
@ApiModelProperty("外部单号") |
||||
|
private String externalOrderNumber; |
||||
|
@ApiModelProperty("线上单号") |
||||
|
private String onlineOrderNumber; |
||||
|
@ApiModelProperty("买家") |
||||
|
private String buyer; |
||||
|
@ApiModelProperty("运单号") |
||||
|
private String waybillNumber; |
||||
|
@ApiModelProperty("平台") |
||||
|
private String platform; |
||||
|
@ApiModelProperty("承运商") |
||||
|
private String carrier; |
||||
|
@ApiModelProperty("手机") |
||||
|
private String mobile; |
||||
|
@ApiModelProperty("出库类型") |
||||
|
private String outboundType; |
||||
|
@ApiModelProperty("地址") |
||||
|
private String address; |
||||
|
@ApiModelProperty("下单日期开始时间") |
||||
|
private String orderTimeStart; |
||||
|
@ApiModelProperty("下单日期结束时间") |
||||
|
private String orderTimeEnd; |
||||
|
|
||||
|
private String orgLevelKey;//权限等级
|
||||
|
@ApiModelProperty("菜单路由") |
||||
|
private String menuUrl; |
||||
|
@ApiModelProperty("组织全路径sid") |
||||
|
private String orgPath; |
||||
|
@ApiModelProperty("用户sid") |
||||
|
private String userSid; |
||||
|
private int index; |
||||
|
} |
@ -0,0 +1,36 @@ |
|||||
|
package com.yxt.wms.biz.func.warehouseinvoice; |
||||
|
|
||||
|
import cn.hutool.core.bean.BeanUtil; |
||||
|
import com.yxt.common.base.service.MybatisBaseService; |
||||
|
import com.yxt.common.base.utils.StringUtils; |
||||
|
import com.yxt.common.core.result.ResultBean; |
||||
|
import com.yxt.wms.biz.func.warehouseinvoiceout.WarehouseInvoiceOutDto; |
||||
|
import com.yxt.wms.biz.func.warehouseinvoiceout.WarehouseInvoiceOutService; |
||||
|
import com.yxt.wms.biz.func.warehouseinvoiceout.WarehouseInvoiceOutVo; |
||||
|
import com.yxt.wms.feign.warehouse.warehouseinvoice.WarehouseInvoiceFeign; |
||||
|
import org.springframework.beans.factory.annotation.Autowired; |
||||
|
import org.springframework.stereotype.Service; |
||||
|
|
||||
|
import java.util.Collections; |
||||
|
import java.util.List; |
||||
|
|
||||
|
/** |
||||
|
* @description: |
||||
|
* @author: dimengzhe |
||||
|
* @date: 2024/4/24 |
||||
|
**/ |
||||
|
@Service |
||||
|
public class WarehouseInvoiceService extends MybatisBaseService<WarehouseInvoiceMapper, WarehouseInvoice> { |
||||
|
|
||||
|
@Autowired |
||||
|
WarehouseInvoiceFeign warehouseInvoiceFeign; |
||||
|
|
||||
|
public ResultBean<String> saveOrUpdate(WarehouseInvoiceDto dto) { |
||||
|
return warehouseInvoiceFeign.saveOrUpdate(dto); |
||||
|
} |
||||
|
|
||||
|
public ResultBean<WarehouseInvoiceVo> details(String sid) { |
||||
|
return warehouseInvoiceFeign.details(sid); |
||||
|
} |
||||
|
|
||||
|
} |
@ -0,0 +1,42 @@ |
|||||
|
package com.yxt.wms.biz.func.warehouseinvoice; |
||||
|
|
||||
|
|
||||
|
import com.yxt.wms.biz.func.warehouseinvoiceout.WarehouseInvoiceOutVo; |
||||
|
import io.swagger.annotations.ApiModelProperty; |
||||
|
import lombok.Data; |
||||
|
|
||||
|
import java.util.ArrayList; |
||||
|
import java.util.List; |
||||
|
|
||||
|
/** |
||||
|
* @description: |
||||
|
* @author: dimengzhe |
||||
|
* @date: 2024/4/24 |
||||
|
**/ |
||||
|
@Data |
||||
|
public class WarehouseInvoiceVo { |
||||
|
private String sid; |
||||
|
@ApiModelProperty("单据sid") |
||||
|
private String billSid; |
||||
|
@ApiModelProperty("发票类型 1 普通发票") |
||||
|
private String invoiceType; |
||||
|
private String invoiceTypeValue; |
||||
|
|
||||
|
@ApiModelProperty("开票方") |
||||
|
private String invoicingParty; |
||||
|
@ApiModelProperty("抬头") |
||||
|
private String rise; |
||||
|
@ApiModelProperty("总金额") |
||||
|
private String totalAmount; |
||||
|
@ApiModelProperty("税号") |
||||
|
private String dutyParagraph; |
||||
|
@ApiModelProperty("内容类型 1 发票商品 2自定义明细") |
||||
|
private String contentType; |
||||
|
private String contentTypeValue; |
||||
|
private String remarks; |
||||
|
|
||||
|
|
||||
|
private List<WarehouseInvoiceOutVo> detailsList = new ArrayList<>(); |
||||
|
|
||||
|
|
||||
|
} |
@ -0,0 +1,35 @@ |
|||||
|
package com.yxt.wms.biz.func.warehouseinvoiceout; |
||||
|
|
||||
|
import com.yxt.common.core.domain.BaseEntity; |
||||
|
import io.swagger.annotations.ApiModelProperty; |
||||
|
import lombok.Data; |
||||
|
|
||||
|
import java.math.BigDecimal; |
||||
|
|
||||
|
/** |
||||
|
* @description: |
||||
|
* @author: dimengzhe |
||||
|
* @date: 2024/4/24 |
||||
|
**/ |
||||
|
@Data |
||||
|
public class WarehouseInvoiceOut extends BaseEntity { |
||||
|
|
||||
|
|
||||
|
@ApiModelProperty("发票sid") |
||||
|
private String invoiceSid; |
||||
|
@ApiModelProperty("商品skusid") |
||||
|
private String goodsSkuSid; |
||||
|
|
||||
|
@ApiModelProperty("商品名") |
||||
|
private String goodsSpuName; |
||||
|
@ApiModelProperty("单位") |
||||
|
private String unit; |
||||
|
@ApiModelProperty("单价") |
||||
|
private BigDecimal price; |
||||
|
@ApiModelProperty("数量") |
||||
|
private BigDecimal orderCount; |
||||
|
@ApiModelProperty("总金额") |
||||
|
private BigDecimal salesAmount; |
||||
|
|
||||
|
|
||||
|
} |
@ -0,0 +1,35 @@ |
|||||
|
package com.yxt.wms.biz.func.warehouseinvoiceout; |
||||
|
|
||||
|
import io.swagger.annotations.ApiModelProperty; |
||||
|
import lombok.Data; |
||||
|
|
||||
|
import java.math.BigDecimal; |
||||
|
|
||||
|
/** |
||||
|
* @description: |
||||
|
* @author: dimengzhe |
||||
|
* @date: 2024/4/24 |
||||
|
**/ |
||||
|
@Data |
||||
|
public class WarehouseInvoiceOutDto { |
||||
|
|
||||
|
private String sid; |
||||
|
@ApiModelProperty("发票sid") |
||||
|
private String invoiceSid; |
||||
|
@ApiModelProperty("商品skusid") |
||||
|
private String goodsSkuSid; |
||||
|
|
||||
|
@ApiModelProperty("商品名") |
||||
|
private String goodsSpuName; |
||||
|
@ApiModelProperty("单位") |
||||
|
private String unit; |
||||
|
@ApiModelProperty("单价") |
||||
|
private BigDecimal price; |
||||
|
@ApiModelProperty("数量") |
||||
|
private BigDecimal orderCount; |
||||
|
@ApiModelProperty("总金额") |
||||
|
private BigDecimal salesAmount; |
||||
|
|
||||
|
|
||||
|
|
||||
|
} |
@ -0,0 +1,24 @@ |
|||||
|
package com.yxt.wms.biz.func.warehouseinvoiceout; |
||||
|
|
||||
|
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper; |
||||
|
import com.baomidou.mybatisplus.core.mapper.BaseMapper; |
||||
|
import com.baomidou.mybatisplus.core.metadata.IPage; |
||||
|
import com.baomidou.mybatisplus.core.toolkit.Constants; |
||||
|
import org.apache.ibatis.annotations.Mapper; |
||||
|
import org.apache.ibatis.annotations.Param; |
||||
|
|
||||
|
import java.util.List; |
||||
|
|
||||
|
/** |
||||
|
* @description: |
||||
|
* @author: dimengzhe |
||||
|
* @date: 2024/4/24 |
||||
|
**/ |
||||
|
@Mapper |
||||
|
public interface WarehouseInvoiceOutMapper extends BaseMapper<WarehouseInvoiceOut> { |
||||
|
IPage<WarehouseInvoiceOutVo> listPage(IPage<WarehouseInvoiceOut> page, @Param(Constants.WRAPPER) QueryWrapper<WarehouseInvoiceOut> qw); |
||||
|
|
||||
|
List<WarehouseInvoiceOutVo> detailsByInvoiceSid(@Param("sid") String sid); |
||||
|
|
||||
|
} |
||||
|
|
@ -0,0 +1,6 @@ |
|||||
|
<?xml version="1.0" encoding="UTF-8" ?> |
||||
|
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd"> |
||||
|
<mapper namespace="com.yxt.wms.biz.func.warehouseinvoiceout.WarehouseInvoiceOutMapper"> |
||||
|
|
||||
|
|
||||
|
</mapper> |
@ -0,0 +1,49 @@ |
|||||
|
package com.yxt.wms.biz.func.warehouseinvoiceout; |
||||
|
|
||||
|
import com.yxt.common.core.query.Query; |
||||
|
import io.swagger.annotations.ApiModelProperty; |
||||
|
import lombok.Data; |
||||
|
|
||||
|
/** |
||||
|
* @description: |
||||
|
* @author: dimengzhe |
||||
|
* @date: 2024/4/24 |
||||
|
**/ |
||||
|
@Data |
||||
|
public class WarehouseInvoiceOutQuery implements Query { |
||||
|
|
||||
|
@ApiModelProperty("单据编号") |
||||
|
private String billNo; |
||||
|
private String billState; |
||||
|
@ApiModelProperty("外部单号") |
||||
|
private String externalOrderNumber; |
||||
|
@ApiModelProperty("线上单号") |
||||
|
private String onlineOrderNumber; |
||||
|
@ApiModelProperty("买家") |
||||
|
private String buyer; |
||||
|
@ApiModelProperty("运单号") |
||||
|
private String waybillNumber; |
||||
|
@ApiModelProperty("平台") |
||||
|
private String platform; |
||||
|
@ApiModelProperty("承运商") |
||||
|
private String carrier; |
||||
|
@ApiModelProperty("手机") |
||||
|
private String mobile; |
||||
|
@ApiModelProperty("出库类型") |
||||
|
private String outboundType; |
||||
|
@ApiModelProperty("地址") |
||||
|
private String address; |
||||
|
@ApiModelProperty("下单日期开始时间") |
||||
|
private String orderTimeStart; |
||||
|
@ApiModelProperty("下单日期结束时间") |
||||
|
private String orderTimeEnd; |
||||
|
|
||||
|
private String orgLevelKey;//权限等级
|
||||
|
@ApiModelProperty("菜单路由") |
||||
|
private String menuUrl; |
||||
|
@ApiModelProperty("组织全路径sid") |
||||
|
private String orgPath; |
||||
|
@ApiModelProperty("用户sid") |
||||
|
private String userSid; |
||||
|
private int index; |
||||
|
} |
@ -0,0 +1,21 @@ |
|||||
|
package com.yxt.wms.biz.func.warehouseinvoiceout; |
||||
|
|
||||
|
import cn.hutool.core.bean.BeanUtil; |
||||
|
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper; |
||||
|
import com.yxt.common.base.service.MybatisBaseService; |
||||
|
import com.yxt.common.core.result.ResultBean; |
||||
|
import org.springframework.beans.factory.annotation.Autowired; |
||||
|
import org.springframework.stereotype.Service; |
||||
|
|
||||
|
import java.util.List; |
||||
|
|
||||
|
/** |
||||
|
* @description: |
||||
|
* @author: dimengzhe |
||||
|
* @date: 2024/4/24 |
||||
|
**/ |
||||
|
@Service |
||||
|
public class WarehouseInvoiceOutService extends MybatisBaseService<WarehouseInvoiceOutMapper, WarehouseInvoiceOut> { |
||||
|
|
||||
|
|
||||
|
} |
@ -0,0 +1,34 @@ |
|||||
|
package com.yxt.wms.biz.func.warehouseinvoiceout; |
||||
|
|
||||
|
import io.swagger.annotations.ApiModelProperty; |
||||
|
import lombok.Data; |
||||
|
|
||||
|
import java.math.BigDecimal; |
||||
|
|
||||
|
/** |
||||
|
* @description: |
||||
|
* @author: dimengzhe |
||||
|
* @date: 2024/4/24 |
||||
|
**/ |
||||
|
@Data |
||||
|
public class WarehouseInvoiceOutVo { |
||||
|
|
||||
|
private String sid; |
||||
|
@ApiModelProperty("发票sid") |
||||
|
private String invoiceSid; |
||||
|
@ApiModelProperty("商品skusid") |
||||
|
private String goodsSkuSid; |
||||
|
|
||||
|
@ApiModelProperty("商品名") |
||||
|
private String goodsSpuName; |
||||
|
@ApiModelProperty("单位") |
||||
|
private String unit; |
||||
|
@ApiModelProperty("单价") |
||||
|
private BigDecimal price; |
||||
|
@ApiModelProperty("数量") |
||||
|
private BigDecimal orderCount; |
||||
|
@ApiModelProperty("总金额") |
||||
|
private BigDecimal salesAmount; |
||||
|
|
||||
|
|
||||
|
} |
@ -0,0 +1,31 @@ |
|||||
|
package com.yxt.wms.biz.func.warehouseoutbill; |
||||
|
|
||||
|
import com.yxt.common.core.query.Query; |
||||
|
import io.swagger.annotations.ApiModelProperty; |
||||
|
import lombok.Data; |
||||
|
|
||||
|
/** |
||||
|
* @description: |
||||
|
* @author: dimengzhe |
||||
|
* @date: 2024/4/26 |
||||
|
**/ |
||||
|
@Data |
||||
|
public class WarehouseOutBillGoodsQuery implements Query { |
||||
|
private String sourceBillSid; |
||||
|
//商品编码
|
||||
|
private String goodsSkuCode; |
||||
|
//商品名称
|
||||
|
private String goodsSpuName; |
||||
|
//规格
|
||||
|
private String goodsSkuOwnSpec; |
||||
|
|
||||
|
|
||||
|
private String orgLevelKey;//权限等级
|
||||
|
@ApiModelProperty("菜单路由") |
||||
|
private String menuUrl; |
||||
|
@ApiModelProperty("组织全路径sid") |
||||
|
private String orgPath; |
||||
|
@ApiModelProperty("用户sid") |
||||
|
private String userSid; |
||||
|
private int index; |
||||
|
} |
@ -0,0 +1,15 @@ |
|||||
|
package com.yxt.wms.biz.func.warehouseoutbill; |
||||
|
|
||||
|
import lombok.Data; |
||||
|
|
||||
|
/** |
||||
|
* @author wangpengfei |
||||
|
* @date 2024/8/15 16:19 |
||||
|
*/ |
||||
|
@Data |
||||
|
public class WarehouseOutStateQuery { |
||||
|
private String billState;//0 待分配 1 零拣 2待出库 3已出库
|
||||
|
private String sid; |
||||
|
private String userSid; |
||||
|
private String userName; |
||||
|
} |
@ -1,21 +1,5 @@ |
|||||
<?xml version="1.0" encoding="UTF-8" ?> |
<?xml version="1.0" encoding="UTF-8" ?> |
||||
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd"> |
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd"> |
||||
<mapper namespace="com.yxt.wms.biz.func.warehouseoutbilldetail.WarehouseOutBillDetailMapper"> |
<mapper namespace="com.yxt.wms.biz.func.warehouseoutbilldetail.WarehouseOutBillDetailMapper"> |
||||
<delete id="deleteByMainSid"> |
|
||||
delete |
|
||||
from wms_out_bill_detail |
|
||||
where billSid = #{sid} |
|
||||
</delete> |
|
||||
|
|
||||
<select id="selectDetailsList" resultType="com.yxt.wms.biz.func.warehouseoutbilldetail.WarehouseOutBillDetailDto"> |
|
||||
select wbd.goodSpuSid, |
|
||||
wbd.goodsSpuName, |
|
||||
wbd.goodsSkuSid, |
|
||||
wbd.goodsSkuTitle, |
|
||||
wbd.goodsSkuCode, |
|
||||
wbd.goodsSkuOwnSpec, |
|
||||
wbd.unit |
|
||||
from warehouse_out_bill_detail wbd |
|
||||
where wbd.billSid = #{sid} |
|
||||
</select> |
|
||||
</mapper> |
</mapper> |
@ -0,0 +1,13 @@ |
|||||
|
package com.yxt.wms.biz.func.warehouseoutbilldetail; |
||||
|
|
||||
|
import com.yxt.common.core.query.Query; |
||||
|
import lombok.Data; |
||||
|
|
||||
|
/** |
||||
|
* @author wangpengfei |
||||
|
* @date 2024/6/6 16:42 |
||||
|
*/ |
||||
|
@Data |
||||
|
public class WarehouseOutBillDetailQuery implements Query { |
||||
|
private String name; |
||||
|
} |
@ -0,0 +1,59 @@ |
|||||
|
package com.yxt.wms.biz.func.warehouseoutbilldetail; |
||||
|
|
||||
|
import io.swagger.annotations.ApiModelProperty; |
||||
|
import lombok.Data; |
||||
|
|
||||
|
import java.math.BigDecimal; |
||||
|
import java.util.Date; |
||||
|
|
||||
|
/** |
||||
|
* @description: |
||||
|
* @author: dimengzhe |
||||
|
* @date: 2024/4/12 |
||||
|
**/ |
||||
|
@Data |
||||
|
public class WarehouseOutBillDetailVo { |
||||
|
private String sid; |
||||
|
@ApiModelProperty("单据sid") |
||||
|
private String sourceBillSid; |
||||
|
@ApiModelProperty("图片") |
||||
|
private String pic; |
||||
|
@ApiModelProperty("商品名称") |
||||
|
private String goodsSpuName; |
||||
|
@ApiModelProperty("商品Skusid") |
||||
|
private String goodsSkuSid; |
||||
|
@ApiModelProperty("商品Sku名称") |
||||
|
private String goodsSkuTitle; |
||||
|
@ApiModelProperty("商品sku编码") |
||||
|
private String goodsSkuCode; |
||||
|
@ApiModelProperty("规格型号") |
||||
|
private String goodsSkuOwnSpec; |
||||
|
@ApiModelProperty("条码") |
||||
|
private String barCode; |
||||
|
@ApiModelProperty("计量单位") |
||||
|
private String unit; |
||||
|
@ApiModelProperty("单价") |
||||
|
private BigDecimal price; |
||||
|
@ApiModelProperty("订单数量") |
||||
|
private BigDecimal orderCount; |
||||
|
@ApiModelProperty("应收价格") |
||||
|
private BigDecimal receivable; |
||||
|
@ApiModelProperty("实际价格") |
||||
|
private BigDecimal actualPrice; |
||||
|
@ApiModelProperty("销售金额") |
||||
|
private BigDecimal salesAmount; |
||||
|
@ApiModelProperty("序列号") |
||||
|
private String serialNumber; |
||||
|
@ApiModelProperty("库位状态") |
||||
|
private String rackState; |
||||
|
private String rackStateValue; |
||||
|
@ApiModelProperty("批次号") |
||||
|
private String batchNumber; |
||||
|
@ApiModelProperty("生产日期") |
||||
|
private Date dateOfManufacture; |
||||
|
@ApiModelProperty("过期日期") |
||||
|
private Date expirationDate; |
||||
|
@ApiModelProperty("批次扩展属性") |
||||
|
private String batchExpansion; |
||||
|
|
||||
|
} |
@ -0,0 +1,35 @@ |
|||||
|
package com.yxt.wms.biz.func.warehouseoutlocation; |
||||
|
|
||||
|
import com.yxt.common.core.domain.BaseEntity; |
||||
|
import io.swagger.annotations.ApiModelProperty; |
||||
|
import lombok.Data; |
||||
|
|
||||
|
/** |
||||
|
* @description: |
||||
|
* @author: dimengzhe |
||||
|
* @date: 2024/4/24 |
||||
|
**/ |
||||
|
@Data |
||||
|
public class WarehouseOutLocation extends BaseEntity { |
||||
|
|
||||
|
|
||||
|
@ApiModelProperty("来源单") |
||||
|
private String sourceBillSid; |
||||
|
@ApiModelProperty("sku") |
||||
|
private String goodsSkuSid; |
||||
|
|
||||
|
@ApiModelProperty("商品名称") |
||||
|
private String goodsSpuName; |
||||
|
@ApiModelProperty("商品title") |
||||
|
private String goodsSpuTitle; |
||||
|
@ApiModelProperty("商品规格编码") |
||||
|
private String goodsSkuCode; |
||||
|
@ApiModelProperty("数量") |
||||
|
private String count; |
||||
|
@ApiModelProperty("库位sid") |
||||
|
private String rackSid; |
||||
|
@ApiModelProperty("库位编码") |
||||
|
private String rackCode; |
||||
|
private String spec; |
||||
|
|
||||
|
} |
@ -0,0 +1,39 @@ |
|||||
|
package com.yxt.wms.biz.func.warehouseoutlocation; |
||||
|
|
||||
|
import io.swagger.annotations.ApiModelProperty; |
||||
|
import lombok.Data; |
||||
|
|
||||
|
import java.math.BigDecimal; |
||||
|
|
||||
|
/** |
||||
|
* @description: |
||||
|
* @author: dimengzhe |
||||
|
* @date: 2024/4/24 |
||||
|
**/ |
||||
|
@Data |
||||
|
public class WarehouseOutLocationDto { |
||||
|
private String sid; |
||||
|
@ApiModelProperty("来源单") |
||||
|
private String sourceBillSid; |
||||
|
@ApiModelProperty("sku") |
||||
|
private String goodsSkuSid; |
||||
|
|
||||
|
@ApiModelProperty("商品名称") |
||||
|
private String goodsSpuName; |
||||
|
@ApiModelProperty("商品title") |
||||
|
private String goodsSpuTitle; |
||||
|
@ApiModelProperty("商品规格编码") |
||||
|
private String goodsSkuCode; |
||||
|
@ApiModelProperty("数量") |
||||
|
private BigDecimal count; |
||||
|
@ApiModelProperty("库位sid") |
||||
|
private String rackSid; |
||||
|
@ApiModelProperty("库位编码") |
||||
|
private String rackCode; |
||||
|
private String inventorySid; |
||||
|
private BigDecimal initialCount; |
||||
|
private String locationSid; |
||||
|
private String spec; |
||||
|
|
||||
|
|
||||
|
} |
@ -0,0 +1,18 @@ |
|||||
|
package com.yxt.wms.biz.func.warehouseoutlocation; |
||||
|
|
||||
|
import com.baomidou.mybatisplus.core.mapper.BaseMapper; |
||||
|
import org.apache.ibatis.annotations.Mapper; |
||||
|
import org.apache.ibatis.annotations.Param; |
||||
|
|
||||
|
/** |
||||
|
* @description: |
||||
|
* @author: dimengzhe |
||||
|
* @date: 2024/4/24 |
||||
|
**/ |
||||
|
@Mapper |
||||
|
public interface WarehouseOutLocationMapper extends BaseMapper<WarehouseOutLocation> { |
||||
|
|
||||
|
WarehouseOutLocationVo details(@Param("sid") String sid); |
||||
|
|
||||
|
} |
||||
|
|
@ -0,0 +1,6 @@ |
|||||
|
<?xml version="1.0" encoding="UTF-8" ?> |
||||
|
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd"> |
||||
|
<mapper namespace="com.yxt.wms.biz.func.warehouseoutlocation.WarehouseOutLocationMapper"> |
||||
|
|
||||
|
|
||||
|
</mapper> |
@ -0,0 +1,49 @@ |
|||||
|
package com.yxt.wms.biz.func.warehouseoutlocation; |
||||
|
|
||||
|
import com.yxt.common.core.query.Query; |
||||
|
import io.swagger.annotations.ApiModelProperty; |
||||
|
import lombok.Data; |
||||
|
|
||||
|
/** |
||||
|
* @description: |
||||
|
* @author: dimengzhe |
||||
|
* @date: 2024/4/24 |
||||
|
**/ |
||||
|
@Data |
||||
|
public class WarehouseOutLocationQuery implements Query { |
||||
|
|
||||
|
@ApiModelProperty("单据编号") |
||||
|
private String billNo; |
||||
|
private String billState; |
||||
|
@ApiModelProperty("外部单号") |
||||
|
private String externalOrderNumber; |
||||
|
@ApiModelProperty("线上单号") |
||||
|
private String onlineOrderNumber; |
||||
|
@ApiModelProperty("买家") |
||||
|
private String buyer; |
||||
|
@ApiModelProperty("运单号") |
||||
|
private String waybillNumber; |
||||
|
@ApiModelProperty("平台") |
||||
|
private String platform; |
||||
|
@ApiModelProperty("承运商") |
||||
|
private String carrier; |
||||
|
@ApiModelProperty("手机") |
||||
|
private String mobile; |
||||
|
@ApiModelProperty("出库类型") |
||||
|
private String outboundType; |
||||
|
@ApiModelProperty("地址") |
||||
|
private String address; |
||||
|
@ApiModelProperty("下单日期开始时间") |
||||
|
private String orderTimeStart; |
||||
|
@ApiModelProperty("下单日期结束时间") |
||||
|
private String orderTimeEnd; |
||||
|
|
||||
|
private String orgLevelKey;//权限等级
|
||||
|
@ApiModelProperty("菜单路由") |
||||
|
private String menuUrl; |
||||
|
@ApiModelProperty("组织全路径sid") |
||||
|
private String orgPath; |
||||
|
@ApiModelProperty("用户sid") |
||||
|
private String userSid; |
||||
|
private int index; |
||||
|
} |
@ -0,0 +1,35 @@ |
|||||
|
package com.yxt.wms.biz.func.warehouseoutlocation; |
||||
|
|
||||
|
import cn.hutool.core.bean.BeanUtil; |
||||
|
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper; |
||||
|
import com.yxt.common.base.service.MybatisBaseService; |
||||
|
import com.yxt.common.base.utils.StringUtils; |
||||
|
import com.yxt.common.core.result.ResultBean; |
||||
|
import com.yxt.wms.biz.func.warehouseinventory.WarehouseInventory; |
||||
|
import com.yxt.wms.biz.func.warehouseinventory.WarehouseInventoryService; |
||||
|
import com.yxt.wms.feign.warehouse.warehouseoutlocation.WarehouseOutLocationFeign; |
||||
|
import org.springframework.beans.factory.annotation.Autowired; |
||||
|
import org.springframework.stereotype.Service; |
||||
|
|
||||
|
import java.util.List; |
||||
|
|
||||
|
/** |
||||
|
* @description: |
||||
|
* @author: dimengzhe |
||||
|
* @date: 2024/4/24 |
||||
|
**/ |
||||
|
@Service |
||||
|
public class WarehouseOutLocationService extends MybatisBaseService<WarehouseOutLocationMapper, WarehouseOutLocation> { |
||||
|
@Autowired |
||||
|
WarehouseOutLocationFeign warehouseOutLocationFeign; |
||||
|
|
||||
|
|
||||
|
public ResultBean<String> save(List<WarehouseOutLocationDto> dtos) { |
||||
|
return warehouseOutLocationFeign.save(dtos); |
||||
|
} |
||||
|
|
||||
|
public ResultBean<List<WarehouseOutLocationVo>> details(String sid) { |
||||
|
return warehouseOutLocationFeign.details(sid); |
||||
|
} |
||||
|
|
||||
|
} |
@ -0,0 +1,35 @@ |
|||||
|
package com.yxt.wms.biz.func.warehouseoutlocation; |
||||
|
|
||||
|
import io.swagger.annotations.ApiModelProperty; |
||||
|
import lombok.Data; |
||||
|
|
||||
|
/** |
||||
|
* @description: |
||||
|
* @author: dimengzhe |
||||
|
* @date: 2024/4/24 |
||||
|
**/ |
||||
|
@Data |
||||
|
public class WarehouseOutLocationVo { |
||||
|
|
||||
|
private String sid; |
||||
|
@ApiModelProperty("来源单") |
||||
|
private String sourceBillSid; |
||||
|
@ApiModelProperty("sku") |
||||
|
private String goodsSkuSid; |
||||
|
|
||||
|
@ApiModelProperty("商品名称") |
||||
|
private String goodsSpuName; |
||||
|
@ApiModelProperty("商品title") |
||||
|
private String goodsSpuTitle; |
||||
|
@ApiModelProperty("商品规格编码") |
||||
|
private String goodsSkuCode; |
||||
|
@ApiModelProperty("数量") |
||||
|
private String count; |
||||
|
@ApiModelProperty("库位sid") |
||||
|
private String rackSid; |
||||
|
@ApiModelProperty("库位编码") |
||||
|
private String rackCode; |
||||
|
|
||||
|
private String spec; |
||||
|
|
||||
|
} |
@ -1,46 +0,0 @@ |
|||||
package com.yxt.wms.feign.base.basesupplierinfo; |
|
||||
|
|
||||
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.supplierinfo.*; |
|
||||
import io.swagger.annotations.ApiOperation; |
|
||||
import org.springframework.cloud.openfeign.FeignClient; |
|
||||
import org.springframework.web.bind.annotation.*; |
|
||||
|
|
||||
import java.util.List; |
|
||||
|
|
||||
/** |
|
||||
* @author wangpengfei |
|
||||
* @date 2024/3/26 17:12 |
|
||||
*/ |
|
||||
@FeignClient( |
|
||||
contextId = "ss-common-goods-BaseSupplierInfo", |
|
||||
name = "ss-common-goods", |
|
||||
path = "/apiadmin/base/basesupplierinfo", |
|
||||
fallback = BaseSupplierInfoFeignFallback.class) |
|
||||
public interface BaseSupplierInfoFeign { |
|
||||
|
|
||||
@ApiOperation("根据SID获取供应商") |
|
||||
@GetMapping("/fetchDetailsBySid/{sid}") |
|
||||
ResultBean<SupplierInfoDetailsVo> fetchDetailsBySid(@PathVariable("sid") String sid); |
|
||||
|
|
||||
|
|
||||
@ApiOperation("根据条件分页查询数据的列表") |
|
||||
@PostMapping("/listPage") |
|
||||
public ResultBean<PagerVo<SupplierInfoVo>> listPage(@RequestBody PagerQuery<SupplierInfoQuery> pq); |
|
||||
|
|
||||
@ApiOperation("新增或修改") |
|
||||
@PostMapping("/save") |
|
||||
public ResultBean save(@RequestBody SupplierInfoDto dto); |
|
||||
|
|
||||
@ApiOperation("根据sid批量删除") |
|
||||
@DeleteMapping("/delBySids") |
|
||||
public ResultBean delBySids(@RequestBody String[] sids); |
|
||||
|
|
||||
|
|
||||
|
|
||||
@ApiOperation("选择供应商") |
|
||||
@PostMapping("/choiceSupplierInfo") |
|
||||
public ResultBean<List<SupplierInfoChoice>> choiceSupplierInfo(@RequestParam("createOrgSid") String createOrgSid); |
|
||||
} |
|
@ -1,44 +0,0 @@ |
|||||
package com.yxt.wms.feign.base.basesupplierinfo; |
|
||||
|
|
||||
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.supplierinfo.*; |
|
||||
import org.springframework.stereotype.Component; |
|
||||
|
|
||||
import java.util.List; |
|
||||
|
|
||||
/** |
|
||||
* @author wangpengfei |
|
||||
* @date 2024/3/26 17:12 |
|
||||
*/ |
|
||||
@Component |
|
||||
public class BaseSupplierInfoFeignFallback implements BaseSupplierInfoFeign { |
|
||||
|
|
||||
|
|
||||
@Override |
|
||||
public ResultBean<SupplierInfoDetailsVo> fetchDetailsBySid(String sid) { |
|
||||
return null; |
|
||||
} |
|
||||
|
|
||||
@Override |
|
||||
public ResultBean<PagerVo<SupplierInfoVo>> listPage(PagerQuery<SupplierInfoQuery> pq) { |
|
||||
return null; |
|
||||
} |
|
||||
|
|
||||
@Override |
|
||||
public ResultBean save(SupplierInfoDto dto) { |
|
||||
return null; |
|
||||
} |
|
||||
|
|
||||
|
|
||||
@Override |
|
||||
public ResultBean delBySids(String[] sids) { |
|
||||
return null; |
|
||||
} |
|
||||
|
|
||||
@Override |
|
||||
public ResultBean<List<SupplierInfoChoice>> choiceSupplierInfo(String createOrgSid) { |
|
||||
return null; |
|
||||
} |
|
||||
} |
|
@ -0,0 +1,44 @@ |
|||||
|
package com.yxt.wms.feign.warehouse.warehouseinvoice; |
||||
|
|
||||
|
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.warehouseinventoryrecord.*; |
||||
|
import com.yxt.wms.biz.func.warehouseinventoryrecord.report.*; |
||||
|
import com.yxt.wms.biz.func.warehouseinvoice.WarehouseInvoiceDto; |
||||
|
import com.yxt.wms.biz.func.warehouseinvoice.WarehouseInvoiceVo; |
||||
|
import io.swagger.annotations.Api; |
||||
|
import io.swagger.annotations.ApiOperation; |
||||
|
import org.springframework.cloud.openfeign.FeignClient; |
||||
|
import org.springframework.web.bind.annotation.*; |
||||
|
|
||||
|
import java.util.List; |
||||
|
|
||||
|
/** |
||||
|
* 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-WarehouseInvoice", |
||||
|
name = "ss-common-warehouse", |
||||
|
path = "/apiadmin/warehouseinvoice", |
||||
|
fallback = WarehouseInvoiceFeignFallback.class) |
||||
|
public interface WarehouseInvoiceFeign { |
||||
|
@ApiOperation("保存修改") |
||||
|
@PostMapping("/saveOrUpdate") |
||||
|
ResultBean saveOrUpdate(@RequestBody WarehouseInvoiceDto dto); |
||||
|
|
||||
|
@ApiOperation("详情") |
||||
|
@GetMapping("/details") |
||||
|
ResultBean<WarehouseInvoiceVo> details(@RequestParam("sid") String sid); |
||||
|
} |
@ -0,0 +1,40 @@ |
|||||
|
package com.yxt.wms.feign.warehouse.warehouseinvoice; |
||||
|
|
||||
|
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.warehouseinventoryrecord.*; |
||||
|
import com.yxt.wms.biz.func.warehouseinventoryrecord.report.*; |
||||
|
import com.yxt.wms.biz.func.warehouseinvoice.WarehouseInvoiceDto; |
||||
|
import com.yxt.wms.biz.func.warehouseinvoice.WarehouseInvoiceVo; |
||||
|
import org.springframework.stereotype.Component; |
||||
|
|
||||
|
import java.util.List; |
||||
|
|
||||
|
/** |
||||
|
* Project: anrui_portal(门户建设) <br/> |
||||
|
* File: SysRoleFeignFallback.java <br/> |
||||
|
* Class: com.yxt.anrui.portal.api.sysrole.SysRoleFeignFallback <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 |
||||
|
*/ |
||||
|
@Component |
||||
|
public class WarehouseInvoiceFeignFallback implements WarehouseInvoiceFeign { |
||||
|
|
||||
|
|
||||
|
@Override |
||||
|
public ResultBean saveOrUpdate(WarehouseInvoiceDto dto) { |
||||
|
return null; |
||||
|
} |
||||
|
|
||||
|
@Override |
||||
|
public ResultBean<WarehouseInvoiceVo> details(String sid) { |
||||
|
return null; |
||||
|
} |
||||
|
} |
@ -0,0 +1,37 @@ |
|||||
|
package com.yxt.wms.feign.warehouse.warehouseinvoiceout; |
||||
|
|
||||
|
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.warehouseinventoryrecord.*; |
||||
|
import com.yxt.wms.biz.func.warehouseinventoryrecord.report.*; |
||||
|
import io.swagger.annotations.Api; |
||||
|
import io.swagger.annotations.ApiOperation; |
||||
|
import org.springframework.cloud.openfeign.FeignClient; |
||||
|
import org.springframework.web.bind.annotation.*; |
||||
|
|
||||
|
import java.util.List; |
||||
|
|
||||
|
/** |
||||
|
* 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-WarehouseInvoiceOut", |
||||
|
name = "ss-common-warehouse", |
||||
|
path = "/apiadmin/warehouseinvoiceout", |
||||
|
fallback = WarehouseInvoiceOutFeignFallback.class) |
||||
|
public interface WarehouseInvoiceOutFeign { |
||||
|
|
||||
|
|
||||
|
} |
@ -0,0 +1,28 @@ |
|||||
|
package com.yxt.wms.feign.warehouse.warehouseinvoiceout; |
||||
|
|
||||
|
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.warehouseinventoryrecord.*; |
||||
|
import com.yxt.wms.biz.func.warehouseinventoryrecord.report.*; |
||||
|
import org.springframework.stereotype.Component; |
||||
|
|
||||
|
import java.util.List; |
||||
|
|
||||
|
/** |
||||
|
* Project: anrui_portal(门户建设) <br/> |
||||
|
* File: SysRoleFeignFallback.java <br/> |
||||
|
* Class: com.yxt.anrui.portal.api.sysrole.SysRoleFeignFallback <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 |
||||
|
*/ |
||||
|
@Component |
||||
|
public class WarehouseInvoiceOutFeignFallback implements WarehouseInvoiceOutFeign { |
||||
|
|
||||
|
} |
@ -0,0 +1,45 @@ |
|||||
|
package com.yxt.wms.feign.warehouse.warehouseoutlocation; |
||||
|
|
||||
|
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.warehouseinventory.*; |
||||
|
import com.yxt.wms.biz.func.warehouseoutlocation.WarehouseOutLocationDto; |
||||
|
import com.yxt.wms.biz.func.warehouseoutlocation.WarehouseOutLocationVo; |
||||
|
import io.swagger.annotations.Api; |
||||
|
import io.swagger.annotations.ApiOperation; |
||||
|
import org.springframework.cloud.openfeign.FeignClient; |
||||
|
import org.springframework.web.bind.annotation.*; |
||||
|
|
||||
|
import java.util.List; |
||||
|
|
||||
|
/** |
||||
|
* 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-WarehouseOutLocation", |
||||
|
name = "ss-common-warehouse", |
||||
|
path = "/apiadmin/warehouseoutlocation", |
||||
|
fallback = WarehouseOutLocationFeignFallback.class) |
||||
|
public interface WarehouseOutLocationFeign { |
||||
|
|
||||
|
@ApiOperation("保存修改") |
||||
|
@PostMapping("/save") |
||||
|
ResultBean save(@RequestBody List<WarehouseOutLocationDto> dtos); |
||||
|
|
||||
|
@ApiOperation("详情") |
||||
|
@GetMapping("/details") |
||||
|
ResultBean<List<WarehouseOutLocationVo>> details(@RequestParam("sid") String sid); |
||||
|
|
||||
|
} |
@ -0,0 +1,40 @@ |
|||||
|
package com.yxt.wms.feign.warehouse.warehouseoutlocation; |
||||
|
|
||||
|
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.warehouseinventory.*; |
||||
|
import com.yxt.wms.biz.func.warehouseoutlocation.WarehouseOutLocationDto; |
||||
|
import com.yxt.wms.biz.func.warehouseoutlocation.WarehouseOutLocationVo; |
||||
|
import org.springframework.stereotype.Component; |
||||
|
|
||||
|
import java.util.List; |
||||
|
|
||||
|
/** |
||||
|
* Project: anrui_portal(门户建设) <br/> |
||||
|
* File: SysRoleFeignFallback.java <br/> |
||||
|
* Class: com.yxt.anrui.portal.api.sysrole.SysRoleFeignFallback <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 |
||||
|
*/ |
||||
|
@Component |
||||
|
public class WarehouseOutLocationFeignFallback implements WarehouseOutLocationFeign { |
||||
|
|
||||
|
|
||||
|
|
||||
|
@Override |
||||
|
public ResultBean save(List<WarehouseOutLocationDto> dtos) { |
||||
|
return null; |
||||
|
} |
||||
|
|
||||
|
@Override |
||||
|
public ResultBean<List<WarehouseOutLocationVo>> details(String sid) { |
||||
|
return null; |
||||
|
} |
||||
|
} |
@ -0,0 +1,39 @@ |
|||||
|
package com.yxt.wms.feign.warehouse.warehousesoutbilldetail; |
||||
|
|
||||
|
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.warehouseoutbill.*; |
||||
|
import com.yxt.wms.biz.func.warehouseoutbilldetail.WarehouseOutBillDetailVo; |
||||
|
import io.swagger.annotations.Api; |
||||
|
import io.swagger.annotations.ApiOperation; |
||||
|
import org.springframework.cloud.openfeign.FeignClient; |
||||
|
import org.springframework.web.bind.annotation.*; |
||||
|
|
||||
|
import java.util.List; |
||||
|
|
||||
|
/** |
||||
|
* 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-WarehouseOutBillDetail", |
||||
|
name = "ss-common-warehouse", |
||||
|
path = "/apiadmin/warehouseoutbilldetail", |
||||
|
fallback = WarehouseOutBillDetailFeignFallback.class) |
||||
|
public interface WarehouseOutBillDetailFeign { |
||||
|
@ApiOperation("根据SID获取一条记录") |
||||
|
@GetMapping("/selectDetailsByBillSid") |
||||
|
public ResultBean<List<WarehouseOutBillDetailVo>> selectDetailsByBillSid(@RequestParam("sid") String sid); |
||||
|
|
||||
|
} |
@ -0,0 +1,32 @@ |
|||||
|
package com.yxt.wms.feign.warehouse.warehousesoutbilldetail; |
||||
|
|
||||
|
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.warehouseoutbill.*; |
||||
|
import com.yxt.wms.biz.func.warehouseoutbilldetail.WarehouseOutBillDetailVo; |
||||
|
import org.springframework.stereotype.Component; |
||||
|
|
||||
|
import java.util.List; |
||||
|
|
||||
|
/** |
||||
|
* Project: anrui_portal(门户建设) <br/> |
||||
|
* File: SysRoleFeignFallback.java <br/> |
||||
|
* Class: com.yxt.anrui.portal.api.sysrole.SysRoleFeignFallback <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 |
||||
|
*/ |
||||
|
@Component |
||||
|
public class WarehouseOutBillDetailFeignFallback implements WarehouseOutBillDetailFeign { |
||||
|
|
||||
|
@Override |
||||
|
public ResultBean<List<WarehouseOutBillDetailVo>> selectDetailsByBillSid(String sid) { |
||||
|
return null; |
||||
|
} |
||||
|
} |
Loading…
Reference in new issue