接收的String类型转换Integer Integer.parseInt();
String insurance = (String) params.get("companyName");
Integer insur = Integer.parseInt(insurance);
insuranceCompany.setId(insur);
setupInsuranceRelation.setInsuranceCompany(insuranceCompany);//
Integer转String
Integer s = 10;
String reg = Integer.toString(s);
public static void main(String[] args) {
// 浮点数的打印
// BigDecimal amount = new BigDecimal("10000000000.67");
// System.out.println(amount.stripTrailingZeros().toPlainString());
//
//// // 普通的数字字符串
//// System.out.println(new BigDecimal("100.000").toString());
////
//// // 去除末尾多余的0
//// System.out.println(new BigDecimal("100.000").stripTrailingZeros().toString());
////
//// // 避免输出科学计数法
//// System.out.println(new BigDecimal("100.000").stripTrailingZeros().toPlainString());
//
// }