Commit 4d9cb813 authored by huyuchen's avatar huyuchen

商险优化

parent 71a0a534
......@@ -209,7 +209,7 @@ public class EkpInsuranceUtil {
}
//结算月
if(null != param.getSettleMonth()){
pushParam.setFd_3aea2f0180eccc(param.getSettleMonth());
pushParam.setFd_3aea2f0180eccc(dateStringInsert(param.getSettleMonth()));
}else{
pushParam.setFd_3aea2f0180eccc(CommonConstants.EMPTY_STRING);
}
......@@ -235,5 +235,14 @@ public class EkpInsuranceUtil {
}
return pushParam;
}
public static String dateStringInsert(String month) {
if (month.length() == 6) {
StringBuilder sb = new StringBuilder(month);
sb.insert(4, "-");
return sb.toString();
}
return month;
}
}
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