Commit 2015e6e7 by zhangchen

1.替换

parent 306e64c5
......@@ -13,6 +13,8 @@ import javax.persistence.Table;
import javax.persistence.Temporal;
import javax.persistence.TemporalType;
import com.ctrip.fun.golf.utils.StringUtils;
/**
* 订单项
*
......@@ -196,6 +198,10 @@ public class OrderItem implements java.io.Serializable {
}
public void setTeeTime(String teeTime) {
String str = " active";
if(!StringUtils.isEmpty(teeTime) && teeTime.contains(str)){
teeTime = teeTime.replace(str, "");
}
this.teeTime = teeTime;
}
......@@ -357,7 +363,6 @@ public class OrderItem implements java.io.Serializable {
public void setVipMaxRandom(Double vipMaxRandom) {
this.vipMaxRandom = vipMaxRandom;
}
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment