Commit 4820187a authored by 陈家荣's avatar 陈家荣

update 同步数据时,当bonus为空则默认赋值0积分

parent 6c024258
......@@ -46,6 +46,8 @@ public class KolonMemberDTO implements Serializable {
String b_str = Util.getByIndex(row, 3);
if(StringUtils.isNotEmpty(b_str)){
this.bonus = Integer.valueOf(b_str);
}else{
this.bonus = 0;
}
this.cardNo = Util.getByIndex(row, 4);
this.lifecycle = Util.getByIndex(row, 5);
......
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 to comment