📄 emplist.java
字号:
package com.chis.model.other;
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 EmpList extends ActionInstance {
@Override
public int execute(ActionForm af) throws Exception {
String corp_code = af.getHttpSession().getAttribute("CORP_CODE")
.toString();
DataForm df = new DataForm();
String sql = "select * from T_EMP where CORP_CODE='" + corp_code + "'";
List list = new Dao().daoSelectAll(af, sql, df);
af.getHttpRequest().setAttribute("emp_list", list);
return 1;
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -