📄 jhmylist.java
字号:
package com.chis.model.etjz;
import java.util.List;
import com.chis.util.Dao;
import com.stframe.form.ActionForm;
import com.stframe.form.DataForm;
import com.stframe.servlet.ActionInstance;
/**
* 儿童计划免疫列表
*
* @author zxh
*
*/
public class JhmyList extends ActionInstance {
@Override
public int execute(ActionForm af) throws Exception {
String corp_code = af.getHttpSession().getAttribute("CORP_CODE")
.toString();
StringBuffer sql = new StringBuffer();
DataForm df = new DataForm("MY_JHMY", "ID");
sql.append("select * from MY_JHMY where 1=1 and CORP_CODE='"
+ corp_code + "'");
List list = new Dao().daoSelectAll(af, sql.toString(), df);
af.getHttpRequest().setAttribute("jhmy_list", list);
return 1;
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -