📄 queryone.java
字号:
package com.ksgl.body.index;
import com.core.web.Action;
import com.ksgl.map.*;
import com.opensymphony.xwork.*;
/**
* <p>Title: literature item </p>
*
* <p>Description: </p>
*
* <p>Copyright: Copyright (c) 2007</p>
*
* <p>Company: </p>
*
* @author hj
* @version 1.0
*/
public class QueryOne extends Action{
public QueryOne() {
try {
jbInit();
}
catch (Exception ex) {
ex.printStackTrace();
}
}
T_sys_news ts=new T_sys_news();
private String image;
private String mkid;
public String execute() throws Exception {
BO bo = new BO();
ts=bo.queryList1(this.GetMkid("id"));
System.out.println(ts.getTitle()+"8888888888888888888888888888");
this.setImage(ts.getImage());
this.setMkid(ts.getMkid());
System.out.println(ts.getImage()+"9999999999999999999999999999999");
return SUCCESS;
}
public String GetMkid(String obj)
{
String mkid[] = (String[]) ActionContext.getContext().getParameters().get(obj);
return mkid[0];
}
public T_sys_news getTs() {
return ts;
}
public String getImage() {
return image;
}
public String getMkid() {
return mkid;
}
public void setTs(T_sys_news ts) {
this.ts = ts;
}
public void setImage(String image) {
this.image = image;
}
public void setMkid(String mkid) {
this.mkid = mkid;
}
private void jbInit() throws Exception {
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -