Commit b2898dc9 by zhangchen

1.替换

parent 8accaa96
package com.ctrip.fun.golf.domain.order;
import com.ctrip.fun.golf.utils.StringUtils;
import static javax.persistence.GenerationType.IDENTITY;
import java.math.BigDecimal;
......@@ -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;
}
......
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