|
|
@@ -153,7 +153,13 @@ public class BuyBackActionOpPlugin extends AbstractOperationServicePlugIn {
|
|
|
}
|
|
|
|
|
|
//预计利息
|
|
|
- String actinterest = detail.substring(detail.indexOf("预算到期利息:") + 7, detail.indexOf("[business_id"));
|
|
|
+ String actinterest = "0";
|
|
|
+ if(detail.contains("[business_id")){
|
|
|
+ actinterest = detail.substring(detail.indexOf("预算到期利息:") + 7, detail.indexOf("[business_id"));
|
|
|
+ } else if(detail.contains("预算到期利息:")){
|
|
|
+ actinterest = detail.substring(detail.indexOf("预算到期利息:") + 7);
|
|
|
+ }
|
|
|
+
|
|
|
if(StringUtils.isNotEmpty(actinterest)){
|
|
|
data.set("nckd_actinterest", new BigDecimal(actinterest));
|
|
|
}
|