更新付款申请
This commit is contained in:
parent
424ce918f5
commit
56f55402f4
@ -51,7 +51,7 @@
|
||||
}else{
|
||||
sButtons = new String[][]{
|
||||
{"true","","Button","±£´æ","±£´æ","as_save(0,'setColRequired()')","","","","btn_icon_save",""},
|
||||
{"true","","Button","ÅúÁ¿ÐÞ¸Ä","ÅúÁ¿ÐÞ¸Ä","batchModify()","","","","btn_icon_delete",""}
|
||||
//{"true","","Button","ÅúÁ¿ÐÞ¸Ä","ÅúÁ¿ÐÞ¸Ä","batchModify()","","","","btn_icon_delete",""}
|
||||
};
|
||||
}
|
||||
%><%@include file="/Frame/resources/include/ui/include_list.jspf"%>
|
||||
|
||||
@ -26,37 +26,8 @@ public class FactObjectCheck extends DefaultBussinessCheck {
|
||||
List<BizObject> bos = JBOFactory.getBizObjectManager(LC_FUND_INCOME_TEMP.CLASS_NAME).createQuery("flowunid=:flowunid and settle_method<>'settlemethod11'")
|
||||
.setParameter("flowunid", flowunid).getResultList(false);
|
||||
if(bos.size() > 0){
|
||||
String message = "请填写";
|
||||
boolean flag = true;
|
||||
for(BizObject bo:bos){
|
||||
String factObject = bo.getAttribute("fact_object").getString();
|
||||
String clientBank = bo.getAttribute("client_bank").getString();
|
||||
if("settlemethod11".equals(bo.getAttribute("settle_method").getString())){
|
||||
if("".equals(factObject) && "".equals(clientBank)){
|
||||
message += "投放编号为【"+bo.getAttribute("payment_number").getString()+"】编号为【"+bo.getAttribute("plan_list").getInt()+"】的【"+CodeCache.getItemName("SettleMethod", bo.getAttribute("settle_method").getString())+"】的支付对象和对方银行信息!";
|
||||
flag = false;
|
||||
}else if("".equals(clientBank)){
|
||||
message += "投放编号为【"+bo.getAttribute("payment_number").getString()+"】编号为【"+bo.getAttribute("plan_list").getInt()+"】的【"+CodeCache.getItemName("SettleMethod", bo.getAttribute("settle_method").getString())+"】的对方银行信息!";
|
||||
flag = false;
|
||||
}
|
||||
}else{
|
||||
if("".equals(factObject) && "".equals(clientBank)){
|
||||
message += "投放编号为【"+bo.getAttribute("payment_number").getString()+"】编号为【"+bo.getAttribute("plan_list").getInt()+"】的【"+CodeCache.getItemName("FeeType", bo.getAttribute("fee_type").getString())+"】的支付对象和对方银行信息!";
|
||||
flag = false;
|
||||
}else if("".equals(clientBank)){
|
||||
message += "投放编号为【"+bo.getAttribute("payment_number").getString()+"】编号为【"+bo.getAttribute("plan_list").getInt()+"】的【"+CodeCache.getItemName("FeeType", bo.getAttribute("fee_type").getString())+"】的对方银行信息!";
|
||||
flag = false;
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
if(flag){
|
||||
putMsg("信息填写正常!");
|
||||
setPass(true);
|
||||
}else{
|
||||
putMsg(message);
|
||||
setPass(false);
|
||||
}
|
||||
putMsg("信息填写正常!");
|
||||
setPass(true);
|
||||
}else{
|
||||
putMsg("未生成本次付款!");
|
||||
setPass(false);
|
||||
|
||||
@ -95,13 +95,13 @@ public class LBCustomerTempToFormalBusiness extends BaseBussiness {
|
||||
cust.setAttributeValue("certtype",cert.getAttribute("certtype").getString());
|
||||
cust.setAttributeValue("certid",cert.getAttribute("certid").getString());
|
||||
}
|
||||
String inputorgid = bo.getAttribute("inputorgid").toString();
|
||||
if(inputorgid.startsWith("8006")) {
|
||||
BizObject distributor_bo=JBOFactory.createBizObjectQuery(DISTRIBUTOR_INFO.CLASS_NAME,"orgid=:orgid").setParameter("orgid",inputorgid).getSingleResult(false);
|
||||
if(distributor_bo!=null) {
|
||||
cust.setAttributeValue("distributor_id",distributor_bo.getAttribute("distributor_no"));
|
||||
}
|
||||
}
|
||||
// String inputorgid = bo.getAttribute("inputorgid").toString();
|
||||
// if(inputorgid.startsWith("8006")) {
|
||||
// BizObject distributor_bo=JBOFactory.createBizObjectQuery(DISTRIBUTOR_INFO.CLASS_NAME,"orgid=:orgid").setParameter("orgid",inputorgid).getSingleResult(false);
|
||||
// if(distributor_bo!=null) {
|
||||
// cust.setAttributeValue("distributor_id",distributor_bo.getAttribute("distributor_no"));
|
||||
// }
|
||||
// }
|
||||
cust.setAttributeValue("inputuserid",bo.getAttribute("inputuserid"));
|
||||
cust.setAttributeValue("inputorgid",bo.getAttribute("inputorgid"));
|
||||
cust.setAttributeValue("inputtime",bo.getAttribute("inputtime"));
|
||||
@ -163,13 +163,13 @@ public class LBCustomerTempToFormalBusiness extends BaseBussiness {
|
||||
cust.setAttributeValue("certtype",cert.getAttribute("certtype").getString());
|
||||
cust.setAttributeValue("certid",cert.getAttribute("certid").getString());
|
||||
}
|
||||
String inputorgid = bo.getAttribute("inputorgid").toString();
|
||||
if(inputorgid.startsWith("8006")) {
|
||||
BizObject distributor_bo=JBOFactory.createBizObjectQuery(DISTRIBUTOR_INFO.CLASS_NAME,"orgid=:orgid").setParameter("orgid",inputorgid).getSingleResult(false);
|
||||
if(distributor_bo!=null) {
|
||||
cust.setAttributeValue("distributor_id",distributor_bo.getAttribute("distributor_no"));
|
||||
}
|
||||
}
|
||||
// String inputorgid = bo.getAttribute("inputorgid").toString();
|
||||
// if(inputorgid.startsWith("8006")) {
|
||||
// BizObject distributor_bo=JBOFactory.createBizObjectQuery(DISTRIBUTOR_INFO.CLASS_NAME,"orgid=:orgid").setParameter("orgid",inputorgid).getSingleResult(false);
|
||||
// if(distributor_bo!=null) {
|
||||
// cust.setAttributeValue("distributor_id",distributor_bo.getAttribute("distributor_no"));
|
||||
// }
|
||||
// }
|
||||
cust.setAttributeValue("inputuserid",bo.getAttribute("inputuserid"));
|
||||
cust.setAttributeValue("inputorgid",bo.getAttribute("inputorgid"));
|
||||
cust.setAttributeValue("inputtime",bo.getAttribute("inputtime"));
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user