微信账单支付导入
This commit is contained in:
parent
dfd93e1015
commit
0ebe655851
@ -0,0 +1,27 @@
|
||||
<%@page import="com.itextpdf.text.log.SysoCounter"%>
|
||||
<%@ page contentType="text/html; charset=GBK"%><%@
|
||||
include
|
||||
file="/Frame/resources/include/include_begin_info.jspf"%>
|
||||
<%
|
||||
String sPrevUrl = CurPage.getParameter("PrevUrl");
|
||||
if(sPrevUrl == null) sPrevUrl = "/Tenwa/Lease/Flow/Comm/LBImportPage/PayBillImportList.jsp";
|
||||
String sTempletNo = "LCPayBillInfo";//--模板号--
|
||||
ASObjectModel doTemp = new ASObjectModel(sTempletNo);
|
||||
ASObjectWindow dwTemp = new ASObjectWindow(CurPage, doTemp,request);
|
||||
dwTemp.Style = "2";//freeform
|
||||
dwTemp.ReadOnly = "0";//只读模式
|
||||
dwTemp.genHTMLObjectWindow(CurPage.getParameter("ID"));
|
||||
|
||||
String sButtons[][] = {
|
||||
{"true", "All", "Button", "保存","保存所有修改", "saveRecord()", "", "", "", ""},
|
||||
};
|
||||
%><%@ include file="/Frame/resources/include/ui/include_info.jspf"%>
|
||||
<script type="text/javascript">
|
||||
function goBack(){
|
||||
parent.AsDialog.ClosePage();
|
||||
}
|
||||
function saveRecord(sPostEvents) {
|
||||
as_save("myiframe0", "goBack()");
|
||||
}
|
||||
</script>
|
||||
<%@ include file="/Frame/resources/include/include_end.jspf"%>
|
||||
@ -0,0 +1,115 @@
|
||||
<%@ page contentType="text/html; charset=GBK"%>
|
||||
<%@ include file="/Frame/resources/include/include_begin_list.jspf"%>
|
||||
|
||||
<%/*~BEGIN~可编辑区~[Editable=true;CodeAreaID=List01;Describe=定义页面属性;]~*/%>
|
||||
<%
|
||||
String PG_TITLE = "微信支付账单导入"; // 浏览器窗口标题 <title> PG_TITLE </title>
|
||||
%>
|
||||
<%
|
||||
ASObjectModel doTemp = new ASObjectModel("LCPayBillList");
|
||||
ASObjectWindow dwTemp = new ASObjectWindow(CurPage,doTemp,request);
|
||||
dwTemp.Style="1"; //--设置为Grid风格--
|
||||
dwTemp.MultiSelect = true; //多选
|
||||
dwTemp.ReadOnly = "1"; //只读模式
|
||||
dwTemp.setPageSize(30);
|
||||
dwTemp.genHTMLObjectWindow("");
|
||||
%>
|
||||
<%/*~END~*/%>
|
||||
|
||||
|
||||
<%/*~BEGIN~可编辑区~[Editable=true;CodeAreaID=List04;Describe=定义按钮;]~*/%>
|
||||
<%
|
||||
String sButtons[][] = {
|
||||
//{"true","All","Button","新增","新增","newRecord()","","","","btn_icon_add",""},
|
||||
{"true","","Button","修改","修改","viewAndEdit()","","","","btn_icon_edit"},
|
||||
{"true","All","Button","删除","删除","deleteRecord()","","","","btn_icon_delete",""},
|
||||
{"true","","Button","excel导入","excel导入","importExcel()","","","","btn_icon_import"},
|
||||
{"true","","Button","模版下载","模版下载","DiscountDownload()","","","","btn_icon_down",""},
|
||||
/* {"true","All","Button","生成租金计划","生成租金计划","createPlan()","","","","btn_icon_generate"},
|
||||
{"true","All","Button","测试拷贝","测试拷贝","copyPath()","","","","btn_icon_generate"}, */
|
||||
};
|
||||
%>
|
||||
<%/*~END~*/%>
|
||||
<%/*~BEGIN~不可编辑区~[Editable=false;CodeAreaID=List05;Describe=主体页面;]~*/%>
|
||||
<%@include file="/Frame/resources/include/ui/include_list.jspf"%>
|
||||
<%/*~END~*/%>
|
||||
<iframe name="MyAtt" src="<%=com.amarsoft.awe.util.Escape.getBlankJsp(sWebRootPath,"正在下载附件,请稍候...")%>" style="background-color: blue" width=100% height=100% frameborder=0 hspace=0 vspace=0 marginwidth=0 marginheight=0 scrolling="no">
|
||||
</iframe>
|
||||
<form name=form1 method=post action="<%=sWebRootPath%>/servlet/view/fileTemplateView?CompClientID=<%=sCompClientID%>" target=MyAtt>
|
||||
<div style="display:none">
|
||||
<input id="sqlString" name="sqlString" value="">
|
||||
</div>
|
||||
</form>
|
||||
<%/*~BEGIN~可编辑区~[Editable=false;CodeAreaID=List06;Describe=定义按钮事件;]~*/%>
|
||||
<script type="text/javascript">
|
||||
/*~[Describe=新增记录;InputParam=无;OutPutParam=无;]~*/
|
||||
function newRecord(){
|
||||
var sUrl = "/Tenwa/Lease/Flow/Comm/LBImportPage/PayBillImportInfo.jsp";
|
||||
AsDialog.PopView(sUrl,'',"resizable=yes;dialogWidth=800px;dialogHeight=300px;center:yes;status:no;statusbar:no",function(){
|
||||
reloadSelf();},"新增信息");
|
||||
}
|
||||
|
||||
function viewAndEdit(){
|
||||
|
||||
var sUrl = "/Tenwa/Lease/Flow/Comm/LBImportPage/PayBillImportInfo.jsp";
|
||||
var sPara = getItemValue(0,getRow(0),'ID');
|
||||
if(typeof(sPara)=="undefined" || sPara.length==0 ){
|
||||
alert("参数不能为空!");
|
||||
return ;
|
||||
}
|
||||
AsDialog.PopView(sUrl,"ID="+sPara,"resizable=yes;dialogWidth=850px;dialogHeight=200px;center:yes;status:no;statusbar:no",function(){reloadSelf();},"修改信息");
|
||||
}
|
||||
|
||||
//excel导入
|
||||
function importExcel(){
|
||||
debugger;
|
||||
var importCondition={};//导入配置
|
||||
importCondition["templateNo"]="8f9770f5088b487abd3f6a03d56d7dd0";//导入的模板编号必填s
|
||||
//增加其他配置参数
|
||||
importCondition["inputuserid"]="<%=CurUser.getUserID()%>";
|
||||
importCondition["inputorgid"]="<%=CurUser.getOrgID()%>";
|
||||
var sparam=JSON.stringify(importCondition).replace(/,/g,"@");//生成模板的参数据
|
||||
AsDialog.PopView("/Tenwa/Core/OfficeTemplate/TemplateManager/BFTemplateTest/uploadExcel.jsp","importparam="+sparam,
|
||||
{width:"350px",height:"40px",title:"上传文件下载数据"},function(){
|
||||
reloadSelf();});
|
||||
}
|
||||
//模板下载
|
||||
function DiscountDownload(){
|
||||
var sId="8f9770f5088b487abd3f6a03d56d7dd0";
|
||||
if (typeof(sId)=="undefined" || sId.length==0){
|
||||
return;
|
||||
}else{
|
||||
$("#sqlString").val("save@"+sId);
|
||||
form1.submit();
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
function deleteRecord(){
|
||||
var ownNumber = getItemValue(0,getRow(),'id');
|
||||
if(typeof(ownNumber)=="undefined" || ownNumber.length==0 ){
|
||||
alert("请选择一条信息!");
|
||||
return ;
|
||||
}
|
||||
if(confirm('确实要删除吗?')){
|
||||
as_delete(0,'');
|
||||
}
|
||||
}
|
||||
</script>
|
||||
<%/*~END~*/%>
|
||||
<%/*~BEGIN~可编辑区~[Editable=false;CodeAreaID=List07;Describe=自定义函数;]~*/%>
|
||||
<script type="text/javascript">
|
||||
//如果没有找到对应记录,则新增一条,并可以设置字段默认值
|
||||
setItemValue(0,0,"INPUTUSERID","<%=CurUser.getUserName()%>");
|
||||
setItemValue(0,0,"INPUTORGID","<%=CurUser.getOrgName()%>");
|
||||
setItemValue(0,0,"INPUTTIME","<%=StringFunction.getTodayNow()%>");
|
||||
setItemValue(0,0,"UPDATEUSERID","<%=CurUser.getUserName()%>");
|
||||
setItemValue(0,0,"UPDATEORGID","<%=CurUser.getOrgName()%>");
|
||||
setItemValue(0,0,"UPDATETIME","<%=StringFunction.getTodayNow()%>");
|
||||
</script>
|
||||
<%/*~END~*/%>
|
||||
<%/*~BEGIN~可编辑区~[Editable=false;CodeAreaID=List08;Describe=页面装载时,进行初始化;]~*/%>
|
||||
<script type="text/javascript">
|
||||
</script>
|
||||
<%/*~END~*/%>
|
||||
<%@ include file="/Frame/resources/include/include_end.jspf"%>
|
||||
@ -5260,31 +5260,31 @@
|
||||
</managerProperties>
|
||||
</manager>
|
||||
</class>
|
||||
<class name="LB_MANY_SUBJECT" label="微信对公账号维护" keyAttributes="id">
|
||||
<attributes>
|
||||
<attribute name="id" label="标识" type="STRING" length="32"/>
|
||||
<class name="LB_MANY_SUBJECT" label="微信对公账号维护" keyAttributes="id">
|
||||
<attributes>
|
||||
<attribute name="id" label="标识" type="STRING" length="32"/>
|
||||
<attribute name="subject_id" label="主体标识" type="STRING" length="32"/>
|
||||
<attribute name="subject_name" label="主体名称" type="STRING" length="200"/>
|
||||
<attribute name="acc_name" label="银行账户" type="STRING" length="200"/>
|
||||
<attribute name="acc_number" label="银行账号" type="STRING" length="200"/>
|
||||
<attribute name="branch_title" label="开户分行" type="STRING" length="200"/>
|
||||
<attribute name="bank_name" label="银行名称" type="STRING" length="200"/>
|
||||
<attribute name="union_MerId" label="银联商户号" type="STRING" length="10"/>
|
||||
<attribute name="is_enable" label="是否启用,Y启用N不启用" type="STRING" length="2"/>
|
||||
<attribute name="inputuserid" label="登记人" type="STRING" length="32"/>
|
||||
<attribute name="inputorgid" label="登记部门" type="STRING" length="32"/>
|
||||
<attribute name="inputtime" label="登记时间" type="STRING" length="32"/>
|
||||
<attribute name="updateuserid" label="更新人" type="STRING" length="32"/>
|
||||
<attribute name="updateorgid" label="更新部门" type="STRING" length="32"/>
|
||||
<attribute name="updatetime" label="更新时间" type="STRING" length="32"/>
|
||||
</attributes>
|
||||
<manager>
|
||||
<managerProperties>
|
||||
<attribute name="subject_name" label="主体名称" type="STRING" length="200"/>
|
||||
<attribute name="acc_name" label="银行账户" type="STRING" length="200"/>
|
||||
<attribute name="acc_number" label="银行账号" type="STRING" length="200"/>
|
||||
<attribute name="branch_title" label="开户分行" type="STRING" length="200"/>
|
||||
<attribute name="bank_name" label="银行名称" type="STRING" length="200"/>
|
||||
<attribute name="union_MerId" label="银联商户号" type="STRING" length="10"/>
|
||||
<attribute name="is_enable" label="是否启用,Y启用N不启用" type="STRING" length="2"/>
|
||||
<attribute name="inputuserid" label="登记人" type="STRING" length="32"/>
|
||||
<attribute name="inputorgid" label="登记部门" type="STRING" length="32"/>
|
||||
<attribute name="inputtime" label="登记时间" type="STRING" length="32"/>
|
||||
<attribute name="updateuserid" label="更新人" type="STRING" length="32"/>
|
||||
<attribute name="updateorgid" label="更新部门" type="STRING" length="32"/>
|
||||
<attribute name="updatetime" label="更新时间" type="STRING" length="32"/>
|
||||
</attributes>
|
||||
<manager>
|
||||
<managerProperties>
|
||||
<property name="table" value="lb_many_subject" />
|
||||
<property name="createKey" value="true" />
|
||||
</managerProperties>
|
||||
</manager>
|
||||
</class>
|
||||
<property name="createKey" value="true" />
|
||||
</managerProperties>
|
||||
</manager>
|
||||
</class>
|
||||
</package>
|
||||
<package name="jbo.com.tenwa.lease.carbrand" >
|
||||
<class name="LB_CLAIMS_BOOK_DETAIL" label="索赔申请书详情表" keyAttributes="ID">
|
||||
@ -5640,6 +5640,59 @@
|
||||
</manager>
|
||||
</class>
|
||||
|
||||
<class name="WX_PAY_THE_BILLS" label="" keyAttributes="id">
|
||||
<attributes>
|
||||
<attribute name="id" label="标识" type="STRING" length="32"/>
|
||||
<attribute name="Trading_hours" label="交易时间" type="STRING" length="32"/>
|
||||
<!-- <attribute name="public_accounts" label="公众账号id" type="STRING" length="32"/> -->
|
||||
<attribute name="merchants_number" label="商户号" type="STRING" length="32"/>
|
||||
<attribute name="Engaged_merchant_number" label="特约商户号" type="STRING" length="32"/>
|
||||
<attribute name="Device_number" label="设备号" type="STRING" length="32"/>
|
||||
<attribute name="WX_order_number" label="微信订单号" type="STRING" length="32"/>
|
||||
<attribute name="Merchant_order_no" label="商户订单号" type="STRING" length="32"/>
|
||||
<attribute name="User_identification" label="用户标识" type="STRING" length="32"/>
|
||||
<attribute name="Transaction_type" label="交易类型" type="STRING" length="32"/>
|
||||
<attribute name="Transaction_status" label="交易状态" type="STRING" length="32"/>
|
||||
<attribute name="payment_bank" label="付款银行" type="STRING" length="32"/>
|
||||
<attribute name="Currency_type" label="货币种类" type="STRING" length="32"/>
|
||||
<attribute name="order_amount_money" label="应结订单金额" type="STRING" length="32"/>
|
||||
<attribute name="voucher_money" label="代金券金额" type="STRING" length="32"/>
|
||||
<attribute name="WX_refund_number" label="微信退款单号" type="STRING" length="32"/>
|
||||
<attribute name="merchant_refund_number" label="商户退款单号" type="STRING" length="32"/>
|
||||
<attribute name="refund_money" label="退款金额" type="STRING" length="32"/>
|
||||
<attribute name="voucher_refund_money" label="充值券退款金额" type="STRING" length="32"/>
|
||||
<attribute name="refund_type" label="退款类型" type="STRING" length="32"/>
|
||||
<attribute name="refund_state" label="退款状态" type="STRING" length="32"/>
|
||||
<attribute name="goods_name" label="商品名称" type="STRING" length="32"/>
|
||||
<attribute name="merchant_data" label="商户数据包" type="STRING" length="32"/>
|
||||
<attribute name="poundage" label="手续费" type="STRING" length="32"/>
|
||||
<attribute name="rate" label="费率" type="STRING" length="32"/>
|
||||
<attribute name="order_money" label="订单金额" type="STRING" length="32"/>
|
||||
<attribute name="Refund_amount" label="申请退款金额" type="STRING" length="32"/>
|
||||
<attribute name="Rate_note" label="费率备注" type="STRING" length="32"/>
|
||||
<attribute name="Total_transaction_number" label="总交易单数" type="STRING" length="32"/>
|
||||
<attribute name="Total_order_amount_money" label="应结订单总金额" type="STRING" length="32"/>
|
||||
<attribute name="Total_refund" label="退款总金额" type="STRING" length="32"/>
|
||||
<attribute name="voucher_Total_refund" label="充值券退款总金额" type="STRING" length="32"/>
|
||||
<attribute name="poundage_total_amount" label="手续费总金额" type="STRING" length="32"/>
|
||||
<attribute name="Total_order_amount" label="订单总金额" type="STRING" length="32"/>
|
||||
<attribute name="apply_Total_refund" label="申请退款总金额" type="STRING" length="32"/>
|
||||
<attribute name="money" label="金额" type="STRING" length="32"/>
|
||||
<attribute name="INPUTUSERID" label="登记人" type="STRING" length="32"/>
|
||||
<attribute name="INPUTORGID" label="登记部门" type="STRING" length="32"/>
|
||||
<attribute name="INPUTTIME" label="登记时间" type="STRING" length="32"/>
|
||||
<attribute name="UPDATEUSERID" label="更新人" type="STRING" length="32"/>
|
||||
<attribute name="UPDATEORGID" label="更新部门" type="STRING" length="32"/>
|
||||
<attribute name="UPDATETIME" label="更新日期" type="STRING" length="32"/>
|
||||
</attributes>
|
||||
<manager>
|
||||
<managerProperties>
|
||||
<property name="table" value="wx_pay_the_bills" />
|
||||
<property name="createKey" value="true" />
|
||||
</managerProperties>
|
||||
</manager>
|
||||
</class>
|
||||
|
||||
|
||||
</package>
|
||||
</jbo>
|
||||
|
||||
180
src_jbo/jbo/com/tenwa/lease/carbrand/WX_PAY_THE_BILLS.java
Normal file
180
src_jbo/jbo/com/tenwa/lease/carbrand/WX_PAY_THE_BILLS.java
Normal file
@ -0,0 +1,180 @@
|
||||
package jbo.com.tenwa.lease.carbrand;
|
||||
|
||||
import java.lang.String;
|
||||
|
||||
/**
|
||||
* - JBO命名常量类<br><br>
|
||||
* Note: This file is generated by ADE tools, <em>dont</em> modify it.<br>
|
||||
|
||||
*/
|
||||
public interface WX_PAY_THE_BILLS{
|
||||
/**
|
||||
* <br><br>
|
||||
* 代表本类映射的BizObjectClass
|
||||
*/
|
||||
public static final String CLASS_NAME = "jbo.com.tenwa.lease.carbrand.WX_PAY_THE_BILLS";
|
||||
/**
|
||||
* 标识 STRING(32)<br>
|
||||
*/
|
||||
public static final String id = "id";
|
||||
/**
|
||||
* 交易时间 STRING(32)<br>
|
||||
*/
|
||||
public static final String Trading_hours = "Trading_hours";
|
||||
/**
|
||||
* 商户号 STRING(32)<br>
|
||||
*/
|
||||
public static final String merchants_number = "merchants_number";
|
||||
/**
|
||||
* 特约商户号 STRING(32)<br>
|
||||
*/
|
||||
public static final String Engaged_merchant_number = "Engaged_merchant_number";
|
||||
/**
|
||||
* 设备号 STRING(32)<br>
|
||||
*/
|
||||
public static final String Device_number = "Device_number";
|
||||
/**
|
||||
* 微信订单号 STRING(32)<br>
|
||||
*/
|
||||
public static final String WX_order_number = "WX_order_number";
|
||||
/**
|
||||
* 商户订单号 STRING(32)<br>
|
||||
*/
|
||||
public static final String Merchant_order_no = "Merchant_order_no";
|
||||
/**
|
||||
* 用户标识 STRING(32)<br>
|
||||
*/
|
||||
public static final String User_identification = "User_identification";
|
||||
/**
|
||||
* 交易类型 STRING(32)<br>
|
||||
*/
|
||||
public static final String Transaction_type = "Transaction_type";
|
||||
/**
|
||||
* 交易状态 STRING(32)<br>
|
||||
*/
|
||||
public static final String Transaction_status = "Transaction_status";
|
||||
/**
|
||||
* 付款银行 STRING(32)<br>
|
||||
*/
|
||||
public static final String payment_bank = "payment_bank";
|
||||
/**
|
||||
* 货币种类 STRING(32)<br>
|
||||
*/
|
||||
public static final String Currency_type = "Currency_type";
|
||||
/**
|
||||
* 应结订单金额 STRING(32)<br>
|
||||
*/
|
||||
public static final String order_amount_money = "order_amount_money";
|
||||
/**
|
||||
* 代金券金额 STRING(32)<br>
|
||||
*/
|
||||
public static final String voucher_money = "voucher_money";
|
||||
/**
|
||||
* 微信退款单号 STRING(32)<br>
|
||||
*/
|
||||
public static final String WX_refund_number = "WX_refund_number";
|
||||
/**
|
||||
* 商户退款单号 STRING(32)<br>
|
||||
*/
|
||||
public static final String merchant_refund_number = "merchant_refund_number";
|
||||
/**
|
||||
* 退款金额 STRING(32)<br>
|
||||
*/
|
||||
public static final String refund_money = "refund_money";
|
||||
/**
|
||||
* 充值券退款金额 STRING(32)<br>
|
||||
*/
|
||||
public static final String voucher_refund_money = "voucher_refund_money";
|
||||
/**
|
||||
* 退款类型 STRING(32)<br>
|
||||
*/
|
||||
public static final String refund_type = "refund_type";
|
||||
/**
|
||||
* 退款状态 STRING(32)<br>
|
||||
*/
|
||||
public static final String refund_state = "refund_state";
|
||||
/**
|
||||
* 商品名称 STRING(32)<br>
|
||||
*/
|
||||
public static final String goods_name = "goods_name";
|
||||
/**
|
||||
* 商户数据包 STRING(32)<br>
|
||||
*/
|
||||
public static final String merchant_data = "merchant_data";
|
||||
/**
|
||||
* 手续费 STRING(32)<br>
|
||||
*/
|
||||
public static final String poundage = "poundage";
|
||||
/**
|
||||
* 费率 STRING(32)<br>
|
||||
*/
|
||||
public static final String rate = "rate";
|
||||
/**
|
||||
* 订单金额 STRING(32)<br>
|
||||
*/
|
||||
public static final String order_money = "order_money";
|
||||
/**
|
||||
* 申请退款金额 STRING(32)<br>
|
||||
*/
|
||||
public static final String Refund_amount = "Refund_amount";
|
||||
/**
|
||||
* 费率备注 STRING(32)<br>
|
||||
*/
|
||||
public static final String Rate_note = "Rate_note";
|
||||
/**
|
||||
* 总交易单数 STRING(32)<br>
|
||||
*/
|
||||
public static final String Total_transaction_number = "Total_transaction_number";
|
||||
/**
|
||||
* 应结订单总金额 STRING(32)<br>
|
||||
*/
|
||||
public static final String Total_order_amount_money = "Total_order_amount_money";
|
||||
/**
|
||||
* 退款总金额 STRING(32)<br>
|
||||
*/
|
||||
public static final String Total_refund = "Total_refund";
|
||||
/**
|
||||
* 充值券退款总金额 STRING(32)<br>
|
||||
*/
|
||||
public static final String voucher_Total_refund = "voucher_Total_refund";
|
||||
/**
|
||||
* 手续费总金额 STRING(32)<br>
|
||||
*/
|
||||
public static final String poundage_total_amount = "poundage_total_amount";
|
||||
/**
|
||||
* 订单总金额 STRING(32)<br>
|
||||
*/
|
||||
public static final String Total_order_amount = "Total_order_amount";
|
||||
/**
|
||||
* 申请退款总金额 STRING(32)<br>
|
||||
*/
|
||||
public static final String apply_Total_refund = "apply_Total_refund";
|
||||
/**
|
||||
* 金额 STRING(32)<br>
|
||||
*/
|
||||
public static final String money = "money";
|
||||
/**
|
||||
* 登记人 STRING(32)<br>
|
||||
*/
|
||||
public static final String INPUTUSERID = "INPUTUSERID";
|
||||
/**
|
||||
* 登记部门 STRING(32)<br>
|
||||
*/
|
||||
public static final String INPUTORGID = "INPUTORGID";
|
||||
/**
|
||||
* 登记时间 STRING(32)<br>
|
||||
*/
|
||||
public static final String INPUTTIME = "INPUTTIME";
|
||||
/**
|
||||
* 更新人 STRING(32)<br>
|
||||
*/
|
||||
public static final String UPDATEUSERID = "UPDATEUSERID";
|
||||
/**
|
||||
* 更新部门 STRING(32)<br>
|
||||
*/
|
||||
public static final String UPDATEORGID = "UPDATEORGID";
|
||||
/**
|
||||
* 更新日期 STRING(32)<br>
|
||||
*/
|
||||
public static final String UPDATETIME = "UPDATETIME";
|
||||
}
|
||||
Loading…
x
Reference in New Issue
Block a user