第一种

在service层加@Param(value="ip")

void deleteIpsetup(@Param(value="ip")String ip) throws Exception;

第二种

xml层 字段改为_parameter(不管注入的是什么字段都要改为_parameter)

<delete id="deleteIpsetup" parameterType="String">
delete from b_nc_ipsetup where

<if test = " _parameter!=null and_parameter!='' ">
and leftvalue like '${_parameter}%'
</if>

</delete>

最新文章

  1. shell不能执行su 后的脚本
  2. C#单纯的字母数字ASCII码转换
  3. JS事件详解
  4. [codevs1027]姓名与ID
  5. Silverlight
  6. Android APK反编译就这么简单 详解(附图)
  7. Web Design:给实验室UI们的一堂课(下)
  8. 系统级性能分析工具 — Perf
  9. 【VMware】VMware Workstation中虚拟机网络配置
  10. python学习之路网络编程篇(第二篇)
  11. android:Android开发不得不收藏的Utils
  12. python之GIL官方文档 global interpreter lock 全局解释器锁
  13. 使用Nginx过滤网络爬虫
  14. JNI学习笔记_Java调用C —— Android中使用的方法
  15. C++ 补遗
  16. 【文文殿下】[51nod1469] 淋漓尽致子串
  17. 使用Loader实时查询本地数据库用法
  18. Saltstack 命令行:批量覆盖指定文件
  19. TimesTen LINUX 安装日志
  20. C#CRC16 Modbus 效验算法

热门文章

  1. Linux 虚拟机上安装linux系统 (ip:子网掩码,网关,dns,交换机,路由知识回顾)
  2. django中sqlite迁移mysql
  3. EurekaClient项目启动报错Invocation of destroy method failed on bean with name &#39;scopedTarget.eurekaClient&#39;: org.springframework.beans.factory.BeanCreationNotAllowedException: Error creating bean with name &#39;e
  4. jQuery的选择器中的通配符[id^=&#39;code&#39;]或[name^=&#39;code&#39;]及jquery选择器总结
  5. SQL反模式学习笔记22 伪键洁癖,整理数据
  6. 使用navicat连接 mysql时出现client does not support auth...upgrading Mysql Client
  7. net core体系-web应用程序-4asp.net core2.0 项目实战(任务管理系统)-1项目说明
  8. spark算子
  9. 关于jmeter读取CSV文件的详细设置
  10. using eclipse to write c programe