diff --git a/WebContent/Tenwa/Lease/Flow/CollectionAudit/LcReviewAuditRentPlanList2.jsp b/WebContent/Tenwa/Lease/Flow/CollectionAudit/LcReviewAuditRentPlanList2.jsp index 6f82fd7bc..a95ff8494 100644 --- a/WebContent/Tenwa/Lease/Flow/CollectionAudit/LcReviewAuditRentPlanList2.jsp +++ b/WebContent/Tenwa/Lease/Flow/CollectionAudit/LcReviewAuditRentPlanList2.jsp @@ -214,11 +214,11 @@ var res = RunJavaMethodTrans("com.tenwa.lease.app.quartzmession.Checkfordeduction", "execute", "contract_number="+contract_number); if (res== "true") { - alert("生成凭证成功!"); + alert("执行成功!"); location.reload(); }else{ - alert("生成凭证失败!"); + alert("执行失败!"); return; } } diff --git a/src_tenwa/com/tenwa/lease/app/quartzmession/Checkfordeduction.java b/src_tenwa/com/tenwa/lease/app/quartzmession/Checkfordeduction.java index b497cfe19..32a14123e 100644 --- a/src_tenwa/com/tenwa/lease/app/quartzmession/Checkfordeduction.java +++ b/src_tenwa/com/tenwa/lease/app/quartzmession/Checkfordeduction.java @@ -142,18 +142,18 @@ public class Checkfordeduction { } } - public boolean execute(JBOTransaction tx){ + public String execute(JBOTransaction tx){ try{ initLVRentIncome(); for(String voucherno:voucher_nos){ CreateVoucher(voucherno); } - return true; + return "true"; }catch (Exception e){ e.printStackTrace(); - return false; + return "false"; } }