jquery表格排序(16)
来源:未知 责任编辑:责任编辑 发表时间:2015-09-16 20:03 点击:次
private PageService pageService;
Log logWrite=new Log();
public ActionForward executeAction(ActionMapping mapping, ActionForm form,
HttpServletRequest request, HttpServletResponse response)
throws Exception {
logWrite.writeLog(LogPathUtil.getPath(), "开始加载数据维护信息查询页面", "info");
String v_order_field=request.getParameter("order_field");
String v_order_type=request.getParameter("ordertype");
ConnectionPool connectionPool = ConnectionPool.getInstance();
Connection conn = connectionPool.getConnection();
WFEngine engine = new WFEngine();
QueryDatapatchForm datapatchForm=(QueryDatapatchForm)form;
DatapatchInfBO datapatchInf=datapatchForm.getDatapatchInf();
//获得System
SRService srService = new SRServiceImpl();
List systemList = srService.getSystemList(conn, null);
//获得SA和Developer
List saList = engine.getOptionByName("tu_oaf_users", "user_id", "user_name", " where dept='IT' and enable=1 and is_leave=0 order by user_name", conn);
//获得数据维护信息的分页数据
String v_table_name="TU_OAF_DATA_PATCH_MAIN";//表名
String v_get_fields = "DATAPATCH_ID,SA_USERID,SA_USERNAME,U_USERID,U_USERNAME,U_PRIORITY,ITD_DEV_USERID,ITD_DEV_USERNAME,ITD_STATUS,U_SUBMIT_DATE,SA_RECE_DATE,U_SYS,U_SYSTEM,SERIAL_NUMBER";//需要获得的字段
if(StringUtil.isEmpty(v_order_field)){
v_order_field = "DATAPATCH_ID";//排序字段
}
String v_page_size = "10";//每页的大小
String v_current_page = request.getParameter("v_current_page");//当前页
if (StringUtil.isEmpty(v_current_page) ){
相关新闻>>
最新推荐更多>>>
- 发表评论
-
- 最新评论 更多>>