|
|
@@ -2568,19 +2568,19 @@ public class RenBaoNewCrawlerRequestBuilder {
|
|
|
}
|
|
|
} else if ("TY1".equals(zgKindCode)) {
|
|
|
// 附加增值服务特约条款(道路救援服务)
|
|
|
- if (serviceTimes != null) {
|
|
|
- kind.put("quantity", serviceTimes);
|
|
|
+ if (!amountStr.isEmpty()) {
|
|
|
+ kind.put("quantity", amountStr);
|
|
|
}
|
|
|
} else if ("TY2".equals(zgKindCode)) {
|
|
|
// 附加增值服务特约条款(车辆安全检测)
|
|
|
- if (serviceTimes != null) {
|
|
|
- List<Map<String, Object>> safeCheckItemList = buildSafeCheckItemList(serviceTimes);
|
|
|
+ if (!amountStr.isEmpty()) {
|
|
|
+ List<Map<String, Object>> safeCheckItemList = buildSafeCheckItemList(amountStr);
|
|
|
kind.put("safeCheckItemList", safeCheckItemList);
|
|
|
}
|
|
|
} else if ("TY3".equals(zgKindCode) || "TY4".equals(zgKindCode)) {
|
|
|
// 附加增值服务特约条款(代为驾驶服务)
|
|
|
- if (serviceTimes != null) {
|
|
|
- kind.put("quantity", serviceTimes);
|
|
|
+ if (!amountStr.isEmpty()) {
|
|
|
+ kind.put("quantity", amountStr);
|
|
|
}
|
|
|
} else if ("MJ1".equals(zgKindCode) || "MJ2".equals(zgKindCode) ||
|
|
|
"MJ3".equals(zgKindCode) || "MJ4".equals(zgKindCode)){
|