WebRoot/zhanghumingxi_list.jsp
(开头部分) 4KB这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。
<%@ page language="java" import="java.util.*" pageEncoding="gb2312"%>
<%@page import="util.Info"%>
<%@page import="dao.CommDAO"%>
<%@page import="util.PageManager"%>
<html>
<head>
<title>账户明细</title>
<LINK href="css.css" type=text/css rel=stylesheet>
<script type="text/javascript" src="js/My97DatePicker/WdatePicker.js" charset="gb2312"></script>
</head>
<body >
<p>已有账户明细列表:</p>
<form name="form1" id="form1" method="post" action="">
搜索: 银行:<%=Info.getselect("yinxing","yinxingxinxi","yinxing"," 1=1 ")%> 账户:<input name="zhanghu1" type="text" id="zhanghu1" value='' style='border:solid 1px #000000; color:#666666;width:30px' />-<input name="zhanghu2" type="text" id="zhanghu2" value='' style='border:solid 1px #000000; color:#666666;width:30px' /> 日期:<input name="riqi1" type="text" id="riqi1" value='' onClick="WdatePicker({'dateFmt':'yyyy-MM-dd'})" style='width:80px; height:20px; border:solid 1px #000000; color:#666666' />-<input name="riqi2" type="text" id="riqi2" value='' onClick="WdatePicker({'dateFmt':'yyyy-MM-dd'})" style='width:80px; height:20px; border:solid 1px #000000; color:#666666' /> 用户名:<input name="yonghuming" type="text" id="yonghuming" style='border:solid 1px #000000; color:#666666' size="12" />
<input type="submit" name="Submit" value="查找" style='border:solid 1px #000000; color:#666666' /> <input type="button" name="Submit2" value="导出EXCEL" style='border:solid 1px #000000; color:#666666' onClick="javascript:location.href='zhanghumingxi_listxls.jsp';" />
</form>
<table width="100%" border="1" align="center" cellpadding="3" cellspacing="1" bordercolor="00FFFF" style="border-collapse:collapse">
<tr>
<td width="30" align="center" bgcolor="CCFFFF">序号</td>
<td bgcolor='#CCFFFF'>银行</td>
<td bgcolor='#CCFFFF'>账户</td>
<td bgcolor='#CCFFFF' width='95' align='center'>日期</td>
<td bgcolor='#CCFFFF'>类型</td>
<td bgcolor='#CCFFFF'>金额</td>
<td bgcolor='#CCFFFF'>用户名</td>
<td bgcolor='#CCFFFF'>姓名</td>
<td bgcolor='#CCFFFF'>电话</td>
<td width="138" align="center" bgcolor="CCFFFF">添加时间</td>
<td width="60" align="center" bgcolor="CCFFFF">操作</td>
</tr>
<%
double jinez=0;
new CommDAO().delete(request,"zhanghumingxi");
String url = "zhanghumingxi_list.jsp?1=1";
String sql = "select * from zhanghumingxi where 1=1";
if(request.getParameter("yinxing")=="" ||request.getParameter("yinxing")==null ){}else{sql=sql+" and yinxing like '%"+request.getParameter("yinxing")+"%'";}
if (request.getParameter("zhanghu1")=="" ||request.getParameter("zhanghu1")==null ) {}else{sql=sql+" and zhanghu >= '"+request.getParameter("zhanghu1")+"'";}
if (request.getParameter("zhanghu2")=="" ||request.getParameter("zhanghu2")==null ) {}else {sql=sql+" and zhanghu <= '"+request.getParameter("zhanghu2")+"'";}
if (request.getParameter("riqi1")=="" ||request.getParameter("riqi1")==null ) {}else{sql=sql+" and riqi >= '"+request.getParameter("riqi1")+"'";}
if (request.getParameter("riqi2")=="" ||request.getParameter("riqi2")==null ) {}else {sql=sql+" and riqi <= '"+request.getParameter("riqi2")+"'";}
if(request.getParameter("yonghuming")=="" ||request.getParameter("yonghuming")==null ){}else{sql=sql+" and yonghuming like '%"+request.getParameter("yonghuming")+"%'";}
sql+=" order by id desc";
ArrayList<HashMap> list = PageManager.getPages(url,15,sql, request);
int i=0;
for(HashMap map:list){
i++;
jinez=jinez+Float.valueOf((String)map.get("jine")).floatValue();
后面还有 30 行代码,购买后查看完整代码
24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明
AI 解读 AI
登录后可用,每次 10 算力,解读结果公开显示在下面。
还没有人解读过这个文件。