⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 baddebtsenterinfo.jsp

📁 这是一个法律事务所系统源码
💻 JSP
字号:
<%--
模块名称:费用管理
模块功能:坏账登记显示
版    本:V1.0
著 作 人:蔡静
著作日期:2001-10-23
使用说明:
主要技术说明:
参考文献:法律事务设计书
修改历史:
        = = = = = = = = = = = = = = = = = = = = = = = = = =
	修改日期:
	修 改 人:
	修改理由:
	修改出处:
	= = = = = = = = = = = = = = = = = = = = = = = = = =

--%>
<%@ page contentType= "text/html; charset=gb2312" %>
<%@ page language="java" import="java.sql.*" %>
<jsp:useBean id="db" class="dbconnection.DbConnection" scope="page" />
<%
  String bad_debt_id = request.getParameter("bad_debt_id");
  String debt_count, customer_name, lawyer, case_id, begin_date;
  String case_reason, bad_debt_reason, enter_people, enter_date;
  String sql = "select a.debt_count, b.customer_name, c.employee_name lawyer, ";
  sql = sql + "a.case_id, a.begin_date, a.case_reason, a.bad_debt_reason, ";
  sql = sql + "d.employee_name enter_people, a.enter_date from t_baddebt a,";
  sql = sql + "t_customer b, t_employee c, t_employee d where a.customer_id = b.customer_id";
  sql = sql + " and a.lawyer = c.employee_id and a.enter_people = d.employee_id";
  sql = sql + " and bad_debt_id = '" + bad_debt_id + "'";
  ResultSet rs = db.executeQuery(sql);
  if (rs.next()) {
    debt_count = rs.getString("debt_count");
    customer_name = rs.getString("customer_name");
    lawyer = rs.getString("lawyer");
    case_id = rs.getString("case_id");
    begin_date = rs.getString("begin_date");
    case_reason = rs.getString("case_reason");
    bad_debt_reason = rs.getString("bad_debt_reason");
    enter_people = rs.getString("enter_people");
    enter_date = rs.getString("enter_date");
%>
<html>

<head>
<title>坏帐登记显示</title>
<%@ include file="../inc/config.jsp" %>
</head>

<body class="page">
<!--显示工具条-->
<table width="98%" align="center" cellspacing="1">
  <tr>
    <td width="90%"><a href="BadDebtsEnter.jsp"><img src="../images/all.gif" height="22" border="0" width="88"></a><a href="BadDebtsEnterAdd.jsp"><img src="../images/add.gif" alt="增加内容" width="79" height="22" border="0"  ></a><img src="../images/delete.gif" alt="删除选中的内容" onClick="return Del();" style="cursor:hand" width="79" height="22"><a href="BadDebtsEnterSearch.jsp"><img src="../images/query.gif" alt="查询内容"   width="79" height="22" border="0"></a></td>
    <td width="10%" align="right"><img src="../images/back.gif" width="50" height="22" onClick="window.history.back()" style="cursor:hand"></td>
  </tr>
</table>
<table width="98%" background="../images/line.gif" border="0" cellspacing="0" cellpadding="0" height="12" align="center">
  <tr>
    <td>&nbsp;</td>
  </tr>
</table>
<!--显示工具条结束-->
<table width="98%" align="center" border="0" cellspacing="1" cellpadding="5" class="table_bg">
  <tr>
    <td height="24" width="19%"  align="right" class="title_bg"> 坏帐编号:</td>
    <td height="24" width="32%" class="tr_bg1"><%=bad_debt_id%></td>
    <td height="24" width="17%"  align="right" class="title_bg"> 坏帐金额:</td>
    <td height="24" width="32%" class="tr_bg1">
    <%
      if (debt_count != null)
        out.print("¥" + debt_count);
    %>
    </td>
  </tr>
  <tr>
    <td align="right"  height="28" width="19%" class="title_bg"> 客户名称:</td>
    <td height="28" width="32%" class="tr_bg1">
    <%
      if (customer_name != null)
        out.print(customer_name);
    %>
    </td>
    <td align="right"  height="28" width="17%" class="title_bg"> 承办律师:</td>
    <td height=28 width=32% class="tr_bg1">
    <%
      if (lawyer != null)
        out.print(lawyer);
    %>
    </td>
  </tr>
  <tr>
    <td align=right  height=28 width=19% class="title_bg"> 案件编号:</td>
    <td height=28 width=32% class="tr_bg1">
    <%
      if (case_id != null)
        out.print(case_id);
    %>
    </td>
    <td align="right"  height="28" width="17%" class="title_bg"> 收案时间:</td>
    <td height=28 width=32% class="tr_bg1">
    <%
      if ((begin_date != null) && (!begin_date.equals("")))
        out.print(begin_date.substring(0,10));
    %>
    </td>
  </tr>
  <tr>
    <td align=right  height=28 width=19% class="title_bg"> 案由:</td>
    <td height=28 colspan="3" class="tr_bg1">
    <%
      if (case_reason != null)
        out.print(case_reason);
    %>
    </td>
  </tr>
  <tr>
    <td align=right  height=28 width=19% class="title_bg">坏帐原由:</td>
    <td height=28 colspan="3" class="tr_bg1">
    <%
      if (bad_debt_reason != null)
        out.print(bad_debt_reason);
    %>
    </td>
  </tr>
  <tr>
    <td align=right  height=28 width=19% class="title_bg"> 登记人:</td>
    <td height=28 width=32% class="tr_bg1">
    <%
      if (enter_people != null)
        out.print(enter_people);
    %>
    </td>
    <td align=right  height=28 width=17% class="title_bg"> 登记日期:</td>
    <td  height=28 width=32% class="tr_bg1" >
    <%
      if ((enter_date != null) && (!enter_date.equals("")))
        out.print(enter_date.substring(0,10));
    %>
    </td>
  </tr>
</table>
<br>
</body>
</html>
<%}%>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -