Просмотр исходного кода

[订单接口][新增]:频道IDcouponChannelId

release_toaliyun_real
Stormeye.Wu 7 лет назад
Родитель
Сommit
60e348351e
2 измененных файлов: 13 добавлений и 1 удалений
  1. +11
    -0
      mallinkService/src/main/java/com/simple/domain/vo/WxCouponCVo.java
  2. +2
    -1
      mallinkService/src/main/resources/mapper/WxCouponMapper.xml

+ 11
- 0
mallinkService/src/main/java/com/simple/domain/vo/WxCouponCVo.java Просмотреть файл

@@ -50,6 +50,9 @@ public class WxCouponCVo implements Serializable {
@Transient @Transient
private String priceStr; private String priceStr;


/*频道id**/
@io.swagger.annotations.ApiModelProperty(value="频道id",name="couponChannelId")
private Long couponChannelId;
/*租户ID**/ /*租户ID**/
@io.swagger.annotations.ApiModelProperty(value="租户ID",name="tenantId") @io.swagger.annotations.ApiModelProperty(value="租户ID",name="tenantId")
private String tenantId; private String tenantId;
@@ -170,6 +173,13 @@ public class WxCouponCVo implements Serializable {
private String floorName; private String floorName;




public Long getCouponChannelId() {
return couponChannelId;
}

public void setCouponChannelId(Long couponChannelId) {
this.couponChannelId = couponChannelId;
}


public String getTenantId() { public String getTenantId() {
return tenantId; return tenantId;
@@ -437,6 +447,7 @@ public class WxCouponCVo implements Serializable {
public static enum Field public static enum Field
{ {
Id_ASC("`id` ASC"),Id_DESC("`id` DESC") Id_ASC("`id` ASC"),Id_DESC("`id` DESC")
,CouponChannelId_ASC("`couponChannelId` ASC"),CouponChannelId_DESC("`couponChannelId` DESC")
,TenantId_ASC("`tenantId` ASC"),TenantId_DESC("`tenantId` DESC") ,TenantId_ASC("`tenantId` ASC"),TenantId_DESC("`tenantId` DESC")
,MerchantId_ASC("`merchantId` ASC"),MerchantId_DESC("`merchantId` DESC") ,MerchantId_ASC("`merchantId` ASC"),MerchantId_DESC("`merchantId` DESC")
,Type_ASC("`type` ASC"),Type_DESC("`type` DESC") ,Type_ASC("`type` ASC"),Type_DESC("`type` DESC")


+ 2
- 1
mallinkService/src/main/resources/mapper/WxCouponMapper.xml Просмотреть файл

@@ -465,6 +465,7 @@


<resultMap id="CUserResultMap" type="com.simple.domain.vo.WxCouponCVo"> <resultMap id="CUserResultMap" type="com.simple.domain.vo.WxCouponCVo">
<id column="id" jdbcType="BIGINT" property="id" /> <id column="id" jdbcType="BIGINT" property="id" />
<result column="coupon_channel_id" jdbcType="VARCHAR" property="couponChannelId" />
<result column="tenant_id" jdbcType="VARCHAR" property="tenantId" /> <result column="tenant_id" jdbcType="VARCHAR" property="tenantId" />
<result column="merchant_id" jdbcType="BIGINT" property="merchantId" /> <result column="merchant_id" jdbcType="BIGINT" property="merchantId" />
<result column="type" jdbcType="INTEGER" property="type" /> <result column="type" jdbcType="INTEGER" property="type" />
@@ -507,7 +508,7 @@
</resultMap> </resultMap>


<sql id="allCUserColumns"> <sql id="allCUserColumns">
c.id,c.tenant_id,c.merchant_id,c.type,c.cover_img,c.title,c.sub_title,c.sale_price,c.use_price,c.use_limit_quantity,c.target_ad,c.send_type,c.valid_type,c.valid_start_date,c.valid_end_date,c.valid_days,c.detail,c.price,c.remain_inventory,c.inventory,c.remark,c.status,c.create_date,c.update_date,c.business,
c.id,cc.id as counpon_channel_id,c.tenant_id,c.merchant_id,c.type,c.cover_img,c.title,c.sub_title,c.sale_price,c.use_price,c.use_limit_quantity,c.target_ad,c.send_type,c.valid_type,c.valid_start_date,c.valid_end_date,c.valid_days,c.detail,c.price,c.remain_inventory,c.inventory,c.remark,c.status,c.create_date,c.update_date,c.business,
m.img_url,m.name,m.link_phone,m.status, m.img_url,m.name,m.link_phone,m.status,
s.addr,s.shop_number,s.baidu_poi, s.addr,s.shop_number,s.baidu_poi,
mb.building_name,mf.floor_name, mb.building_name,mf.floor_name,


Загрузка…
Отмена
Сохранить