clear.java
来自「WAP PUSH后台源码,WAP PUSH后台源码」· Java 代码 · 共 29 行
JAVA
29 行
package com.sxit.wap.threads;import com.sxit.wap.channel.*;public class Clear extends Thread{ private String item = ""; private String column = ""; private int type =0; private String values = ""; public Clear(String item,String column,int type,String values){ this.item=item; this.column=column; this.type=type; this.values=values; } public void doClear(){ String sql = "DELETE FROM "+this.item + " WHERE " + this.column + "="; switch(this.type){ case 0 : sql = sql + "'"+this.values+"'"; break; case 1 : sql = sql + this.values; break; default: break; } } public static void main(String[] args) { }}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?