Commit 7d2f02e0 by wubh

包活干V1.9.0-修改:恢复数据库字段,回传安装结果时截掉多余的备注

git-svn-id: svn://192.168.3.233/frms/code/car-service/trunk/car-service@27790 aeb6102e-e053-11e5-9fec-f9ebc45caf4b
1 parent 42267d15
......@@ -152,7 +152,13 @@ public class OraReturnOrderSetupTask implements Runnable {
equipment.put("iswired", "1");
equipment.put("installPhotos", this.photosHandler(fileList, 1));
}
equipment.put("installRemarks", order.getInstallRemark()); //设备安装备注
// 截掉过长的字符串
if (order.getInstallRemark().length() > 50) {
equipment.put("installRemarks", order.getInstallRemark().substring(0, 50));
} else {
equipment.put("installRemarks", order.getInstallRemark()); //设备安装备注
}
equipmentList.add(equipment);
}
}
......
......@@ -25,7 +25,7 @@ CREATE TABLE `sys_insurance_policy` (
`insurance_period` int(8) DEFAULT NULL COMMENT '保险期限(默认单位:年)',
`vehicle_color` varchar(20) DEFAULT NULL COMMENT '车辆颜色',
`vehicle_invoice_money` decimal(10,2) DEFAULT NULL COMMENT '车辆价格',
`tasting_unit` varchar(200) DEFAULT NULL COMMENT '受偿单位(第一受益人)',
`tasting_unit` varchar(50) DEFAULT NULL COMMENT '受偿单位(第一受益人)',
`cancel_reason` varchar(50) DEFAULT NULL COMMENT '退保原因',
`remark` varchar(50) DEFAULT NULL COMMENT '备注',
`expected_effective_time` datetime DEFAULT NULL COMMENT '预计生效时间',
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!