这是前台传到后台我拿的时候出现的,请问userDTO.getDepartmentName()保存的到底是啥?
/**System.out.println((userDTO.getDepartmentName())==null);*System.out.println((userD...
/*
* System.out.println((userDTO.getDepartmentName()) == null);
* System.out.println((userDTO.getDepartmentName()) == "");
* System.out.println((userDTO.getDepartmentName()).length());
*/
输出为false,false,0 展开
* System.out.println((userDTO.getDepartmentName()) == null);
* System.out.println((userDTO.getDepartmentName()) == "");
* System.out.println((userDTO.getDepartmentName()).length());
*/
输出为false,false,0 展开
1个回答
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询