67,512
社区成员
发帖
与我相关
我的任务
分享
Long deptId = new Long(request.getParameter("deptId"));
public class test {
public static void main(String[] args) {
String b = null;
if (null == b) {
System.out.println("传值为空,请确认是否有数据。");
} else {
Long a = new Long(b);
System.out.println(a);
}
}
}
public class test {
public static void main(String[] args) {
String b = null;
Long a = new Long(b);
System.out.println(a);
}
}