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

浙公网安备 33010602011771号