14 changed files with 170 additions and 13 deletions
@ -0,0 +1,42 @@ |
|||||
|
package com.qs.serve.modules.oms.entity.dto; |
||||
|
|
||||
|
import lombok.Data; |
||||
|
|
||||
|
import java.math.BigDecimal; |
||||
|
|
||||
|
/** |
||||
|
* @author YenHex |
||||
|
* @since 2024/8/14 |
||||
|
*/ |
||||
|
@Data |
||||
|
public class SeeYonOrderItemDTO { |
||||
|
|
||||
|
/** |
||||
|
* 从表相关字段 |
||||
|
* 产品编号 spuCode |
||||
|
* 产品名称 skuTitle |
||||
|
* 单品编码 skuAddCode |
||||
|
* 单品名称 skuCode |
||||
|
* 临期品编号 batchCode |
||||
|
* 产品分类 skuCategories |
||||
|
* 规格 specVal |
||||
|
* 备注 remark |
||||
|
* 重量 weight |
||||
|
* 体积 volume |
||||
|
* 价格 salesPrice |
||||
|
* 合计价格 totalPrice |
||||
|
*/ |
||||
|
private String spuCode; |
||||
|
private String skuTitle; |
||||
|
private String skuAddCode; |
||||
|
private String skuCode; |
||||
|
private String batchCode; |
||||
|
private String skuCategories; |
||||
|
private String specVal; |
||||
|
private String remark; |
||||
|
private BigDecimal weight; |
||||
|
private BigDecimal volume; |
||||
|
private BigDecimal salesPrice; |
||||
|
private BigDecimal totalPrice; |
||||
|
|
||||
|
} |
@ -0,0 +1,35 @@ |
|||||
|
package com.qs.serve.modules.wx.common.conf; |
||||
|
|
||||
|
import lombok.AllArgsConstructor; |
||||
|
import lombok.extern.slf4j.Slf4j; |
||||
|
import me.chanjar.weixin.cp.api.WxCpService; |
||||
|
import me.chanjar.weixin.cp.api.impl.WxCpServiceImpl; |
||||
|
import org.springframework.context.annotation.Configuration; |
||||
|
|
||||
|
/** |
||||
|
* 企业微信配置 |
||||
|
* @author YenHex |
||||
|
* @since 2024/8/12 |
||||
|
*/ |
||||
|
@Slf4j |
||||
|
//@AllArgsConstructor
|
||||
|
//@Configuration(proxyBeanMethods = false)
|
||||
|
public class WxCpConfig { |
||||
|
|
||||
|
private static WxCpConfig wxCpConfig; |
||||
|
|
||||
|
private static WxCpService wxCpService; |
||||
|
|
||||
|
public WxCpService wxCpService(){ |
||||
|
if(wxCpService!=null){ |
||||
|
return wxCpService; |
||||
|
} |
||||
|
//
|
||||
|
WxCpService service = new WxCpServiceImpl(); |
||||
|
// 挂载到静态类
|
||||
|
WxCpConfig.wxCpService = service; |
||||
|
return service; |
||||
|
} |
||||
|
|
||||
|
|
||||
|
} |
Loading…
Reference in new issue