第一种 在service层加@Param(value="ip") void deleteIpsetup(@Param(value="ip")String ip) throws Exception; 第二种 xml层 字段改为_parameter(不管注入的是什么字段都要改为_parameter) < Read More
172.0.0.1String[] splitAddress=qip.split("\\.");//--172001 String ip=splitAddress[0]+"."+splitAddress[1]+"."+splitAddress[2]+".";//截取ip 结果 -- 172.0. Read More
//读取配置文件 Properties prop = new Properties(); //InputStream in = Object. class .getResourceAsStream(("/lainxiti/Url.properties" )); String cd=""; Strin Read More