Commit b31299b6 authored by neo's avatar neo

[bugifx] fixed approval split periodDate

parent ce2d5c2a
......@@ -24,10 +24,10 @@ public class ApprovalDto {
}
public Integer getPeriod() {
return Integer.parseInt(periodDate.split(".")[1]);
return Integer.parseInt(periodDate.split("\\.")[1]);
}
public Integer getYear(){
return Integer.parseInt(periodDate.split(".")[0]);
return Integer.parseInt(periodDate.split("\\.")[0]);
}
}
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