Преглед изворни кода

fix bug

release_toaliyun_real
winter пре 4 година
родитељ
комит
a0908ea527
1 измењених фајлова са 2 додато и 11 уклоњено
  1. +2
    -11
      mallinkService/src/main/java/com/iformall/domain/vo/WxCouponChannelVo.java

+ 2
- 11
mallinkService/src/main/java/com/iformall/domain/vo/WxCouponChannelVo.java Прегледај датотеку

@@ -174,17 +174,8 @@ public class WxCouponChannelVo extends WxCouponChannel implements Serializable {
*/
public void setWxCoupon(WxCoupon c){
if(c != null){
if(this.getChannelStock() == null){
this.setRemainInventory(c.getRemainInventory());
}else{
this.setRemainInventory(this.getChannelStock());
}
if(this.getChannelPrice() == null){
this.setSalePrice(c.getSalePrice());
}else{
this.setSalePrice(this.getChannelPrice());
}

this.setRemainInventory(c.getRemainInventory());
this.setSalePrice(c.getSalePrice());
this.setInventory(c.getInventory());
this.setCoverImg(c.getCoverImg());
this.setSubTitle(c.getSubTitle());


Loading…
Откажи
Сачувај