Browse Source

悬赏招亲

master
张彭杰 1 year ago
parent
commit
bbb099f645
2 changed files with 6 additions and 1 deletions
  1. 3
      dating-agency-mall-server/src/main/java/com/qniao/dam/api/query/product/user/response/UserPageProductByMatchmakerVo.java
  2. 4
      dating-agency-mall-server/src/main/resources/mapper/product/WalletAccountAssociateOrderRecordDao.xml

3
dating-agency-mall-server/src/main/java/com/qniao/dam/api/query/product/user/response/UserPageProductByMatchmakerVo.java

@ -42,4 +42,7 @@ public class UserPageProductByMatchmakerVo {
@ApiModelProperty("售价")
private BigDecimal unitSellingPrice;
@ApiModelProperty("有效期天")
private String validityPeriodDays;
}

4
dating-agency-mall-server/src/main/resources/mapper/product/WalletAccountAssociateOrderRecordDao.xml

@ -145,9 +145,11 @@
dp.product_desc,
dp.detail_desc,
dps.unit_original_price,
dps.unit_selling_price
dps.unit_selling_price,
dpst2.`value` as validityPeriodDays
from da_product as dp
LEFT JOIN da_product_spec as dps on dps.is_delete=0 and dps.product_id=dp.id
LEFT JOIN da_product_spec_term as dpst2 on dpst2.is_delete=0 and dpst2.product_spec_id =dps.id and dpst2.`name`=3
where dp.is_delete=0 and dp.`status`=1 and dp.product_type=3
<if test="queryParam.subCategory != null">
AND dp.sub_category = #{queryParam.subCategory}

Loading…
Cancel
Save