
31 changed files with 995 additions and 583 deletions
File diff suppressed because it is too large
@ -0,0 +1,26 @@ |
|||
package com.yxt.sms.feign.yxtbase; |
|||
|
|||
import com.yxt.common.core.result.ResultBean; |
|||
import io.swagger.annotations.ApiOperation; |
|||
import org.springframework.cloud.openfeign.FeignClient; |
|||
import org.springframework.web.bind.annotation.PostMapping; |
|||
import org.springframework.web.bind.annotation.RequestParam; |
|||
|
|||
import java.util.List; |
|||
|
|||
/** |
|||
* @description: 库存信息 |
|||
* @author: fzz |
|||
* @date: 2024/3/7 |
|||
**/ |
|||
@FeignClient( |
|||
contextId = "yxt-base-BaseGoodsSkuExtend", |
|||
name = "yxt-base", |
|||
path = "/apiadmin/base/basegoodsskuextend" |
|||
) |
|||
public interface BaseGoodsSkuExtendFeign { |
|||
|
|||
@ApiOperation("根据skuSid修改销售单价") |
|||
@PostMapping("/updateSalesPrice") |
|||
ResultBean updateSalesPrice(@RequestParam("skuSid") String skuSid,@RequestParam("salesPrice") String salesPrice); |
|||
} |
@ -0,0 +1,31 @@ |
|||
package com.yxt.sms.feign.yxtbase; |
|||
|
|||
import com.yxt.common.core.query.PagerQuery; |
|||
import com.yxt.common.core.result.ResultBean; |
|||
import com.yxt.common.core.vo.PagerVo; |
|||
import com.yxt.sms.feign.wms.wmsinventory.*; |
|||
import io.swagger.annotations.ApiOperation; |
|||
import org.springframework.cloud.openfeign.FeignClient; |
|||
import org.springframework.web.bind.annotation.GetMapping; |
|||
import org.springframework.web.bind.annotation.PostMapping; |
|||
import org.springframework.web.bind.annotation.RequestBody; |
|||
import org.springframework.web.bind.annotation.RequestParam; |
|||
|
|||
import java.util.List; |
|||
|
|||
/** |
|||
* @description: 库存信息 |
|||
* @author: fzz |
|||
* @date: 2024/3/7 |
|||
**/ |
|||
@FeignClient( |
|||
contextId = "yxt-base-BaseGoodsSku", |
|||
name = "yxt-base", |
|||
path = "/apiadmin/base/basegoodssku" |
|||
) |
|||
public interface BaseGoodsSkuFeign { |
|||
|
|||
@ApiOperation("根据商品类别sid查询对应的skusid") |
|||
@PostMapping("/fetchSkuSid") |
|||
ResultBean<List<String>> fetchSkuSid(@RequestParam("goodTypeSid") String goodTypeSid); |
|||
} |
@ -0,0 +1,24 @@ |
|||
package com.yxt.wms.feign.base.basegoodsskuextend; |
|||
|
|||
import com.yxt.common.core.result.ResultBean; |
|||
import io.swagger.annotations.ApiOperation; |
|||
import org.springframework.cloud.openfeign.FeignClient; |
|||
import org.springframework.web.bind.annotation.PostMapping; |
|||
import org.springframework.web.bind.annotation.RequestParam; |
|||
|
|||
/** |
|||
* @description: 库存信息 |
|||
* @author: fzz |
|||
* @date: 2024/3/7 |
|||
**/ |
|||
@FeignClient( |
|||
contextId = "yxt-base-BaseGoodsSkuExtend", |
|||
name = "yxt-base", |
|||
path = "/apiadmin/base/basegoodsskuextend" |
|||
) |
|||
public interface BaseGoodsSkuExtendFeign { |
|||
|
|||
@ApiOperation("根据skuSid修改销售单价") |
|||
@PostMapping("/updateSalesPrice") |
|||
ResultBean updateSalesPrice(@RequestParam("skuSid") String skuSid,@RequestParam("salesPrice") String salesPrice); |
|||
} |
@ -0,0 +1,25 @@ |
|||
package com.yxt.wms.feign.sms.smspricestrategybilldetail; |
|||
|
|||
import com.yxt.common.core.result.ResultBean; |
|||
import io.swagger.annotations.ApiOperation; |
|||
import org.springframework.cloud.openfeign.FeignClient; |
|||
import org.springframework.web.bind.annotation.GetMapping; |
|||
import org.springframework.web.bind.annotation.PathVariable; |
|||
import org.springframework.web.bind.annotation.RequestParam; |
|||
|
|||
/** |
|||
* @description: |
|||
* @author: dimengzhe |
|||
* @date: 2024/3/20 |
|||
**/ |
|||
@FeignClient( |
|||
contextId = "yxt-sms-SmsPricesTrategyBillDetail", |
|||
name = "yxt-sms", |
|||
path = "v1/smspricestrategybilldetail" |
|||
) |
|||
public interface SmsPricesTrategyBillDetailFeign { |
|||
|
|||
@ApiOperation("根据商品类别sid查询是否存在定调价策略") |
|||
@GetMapping("/selSid") |
|||
public ResultBean<String> selSid(@RequestParam("goodsTypeSid") String goodsTypeSid,@RequestParam("deptSid") String deptSid); |
|||
} |
@ -0,0 +1,26 @@ |
|||
package com.yxt.wms.feign.sms.smsspricestrategybillgoodstypedetail; |
|||
|
|||
import com.yxt.common.core.result.ResultBean; |
|||
import io.swagger.annotations.ApiOperation; |
|||
import org.springframework.cloud.openfeign.FeignClient; |
|||
import org.springframework.web.bind.annotation.GetMapping; |
|||
import org.springframework.web.bind.annotation.RequestParam; |
|||
|
|||
import java.util.List; |
|||
|
|||
/** |
|||
* @description: |
|||
* @author: dimengzhe |
|||
* @date: 2024/3/20 |
|||
**/ |
|||
@FeignClient( |
|||
contextId = "yxt-sms-SmsPricesTrategyBillGoodsTypeDetail", |
|||
name = "yxt-sms", |
|||
path = "v1/smspricestrategybillgoodstypedetail" |
|||
) |
|||
public interface SmsPricesTrategyBillGoodsTypeDetailFeign { |
|||
|
|||
@ApiOperation("根据定调价明细sid查询") |
|||
@GetMapping("/selByMainSid") |
|||
public ResultBean<List<SmsPricestrategyBillGoodstypedetailDetailsVo>> selByMainSid(@RequestParam("mainSid") String mainSid); |
|||
} |
@ -0,0 +1,64 @@ |
|||
/********************************************************* |
|||
********************************************************* |
|||
******************** ******************* |
|||
************* ************ |
|||
******* _oo0oo_ ******* |
|||
*** o8888888o *** |
|||
* 88" . "88 * |
|||
* (| -_- |) * |
|||
* 0\ = /0 * |
|||
* ___/`---'\___ * |
|||
* .' \\| |// '. *
|
|||
* / \\||| : |||// \ *
|
|||
* / _||||| -:- |||||- \ * |
|||
* | | \\\ - /// | | *
|
|||
* | \_| ''\---/'' |_/ | * |
|||
* \ .-\__ '-' ___/-. / * |
|||
* ___'. .' /--.--\ `. .'___ * |
|||
* ."" '< `.___\_<|>_/___.' >' "". * |
|||
* | | : `- \`.;`\ _ /`;.`/ - ` : | | * |
|||
* \ \ `_. \_ __\ /__ _/ .-` / / * |
|||
* =====`-.____`.___ \_____/___.-`___.-'===== * |
|||
* `=---=' * |
|||
* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ * |
|||
*********__佛祖保佑__永无BUG__验收通过__钞票多多__********* |
|||
*********************************************************/ |
|||
package com.yxt.wms.feign.sms.smsspricestrategybillgoodstypedetail; |
|||
|
|||
|
|||
import com.yxt.common.core.vo.Vo; |
|||
import io.swagger.annotations.ApiModel; |
|||
import io.swagger.annotations.ApiModelProperty; |
|||
import lombok.Data; |
|||
|
|||
import java.math.BigDecimal; |
|||
|
|||
/** |
|||
* Project: yxt-sms(价格策略) <br/> |
|||
* File: SmsPricestrategyBillGoodstypedetailVo.java <br/> |
|||
* Class: com.yxt.sms.api.smspricestrategybillgoodstypedetail.SmsPricestrategyBillGoodstypedetailVo <br/> |
|||
* Description: 价格策略商品类别明细 视图数据对象. <br/> |
|||
* Copyright: Copyright (c) 2011 <br/> |
|||
* Company: https://gitee.com/liuzp315 <br/>
|
|||
* Makedate: 2024-03-28 14:32:24 <br/> |
|||
* |
|||
* @author liupopo |
|||
* @version 1.0 |
|||
* @since 1.0 |
|||
*/ |
|||
@Data |
|||
@ApiModel(value = "价格策略商品类别明细 视图数据详情", description = "价格策略商品类别明细 视图数据详情") |
|||
public class SmsPricestrategyBillGoodstypedetailDetailsVo implements Vo { |
|||
|
|||
private String sid; // sid
|
|||
|
|||
@ApiModelProperty("业务sid") |
|||
private String detailSid; // 业务sid
|
|||
@ApiModelProperty("区间起始") |
|||
private BigDecimal rangeStart; // 区间起始
|
|||
@ApiModelProperty("区间截止") |
|||
private BigDecimal rangeEnd; // 区间截止
|
|||
@ApiModelProperty("加价比例") |
|||
private BigDecimal markupRate; // 加价比例
|
|||
|
|||
} |
Loading…
Reference in new issue