Commit c816ca13 by 杨林龙

修复新增工单姓名为空不能同步包活干的问题

1 parent 93693476
......@@ -65,7 +65,7 @@ public class BhgBizService {
map.put("phoneNumber", StringUtils.isNotEmpty(workOrder.getShopTelephone()) ? workOrder.getShopTelephone().trim() : "");
map.put("district", "");//不要给值,包活干那边为数值类型
map.put("carOwner", StringUtils.isNotEmpty(woVehicle.getLesseeName()) ? woVehicle.getLesseeName().trim() : "--");
map.put("carOwner", StringUtils.isNotEmpty(woVehicle.getLesseeName()) ? StringUtils.isNotEmpty(woVehicle.getLesseeName().trim()) ? woVehicle.getLesseeName().trim() : "--" : "--");
map.put("carOwnerPhone", StringUtils.isNotEmpty(woVehicle.getLesseePhone()) ? woVehicle.getLesseePhone().trim() : "");
map.put("vinNo", StringUtils.isNotEmpty(woVehicle.getVin()) ? woVehicle.getVin().trim() : "");
......
......@@ -28,9 +28,11 @@ public class MainTest {
//
// System.out.println(JSONUtil.toJsonStr(request));
List<String> stringList = Lists.newArrayList();
List<String> a = stringList.stream().filter(str -> str.contains("a")).collect(Collectors.toList());
System.out.println("a = " + a);
// List<String> stringList = Lists.newArrayList();
// List<String> a = stringList.stream().filter(str -> str.contains("a")).collect(Collectors.toList());
// System.out.println("a = " + a);
String a = " ";
System.out.println("a.length() = " + a.length());
}
}
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!