1.自动卡扣的互斥

This commit is contained in:
zhangbb 2019-12-28 19:26:27 +08:00
parent 753e178f79
commit 9017f9f85b
3 changed files with 12 additions and 2 deletions

View File

@ -2579,6 +2579,8 @@
<attribute name="PLAN_LIST" label="PLAN_LIST" type="STRING" length="32"/>
<attribute name="FLOW_NAME" label="FLOW_NAME" type="STRING" length="32"/>
<attribute name="FLOWUNID" label="FLOW_NAME" type="STRING" length="32"/>
<attribute name="PLAN_ID" label="PLAN_ID" type="STRING" length="32"/>
<attribute name="INPUTTIME" label="INPUTTIME" type="STRING" length="32"/>
</attributes>
<manager>
<managerProperties>

View File

@ -33,4 +33,12 @@ public interface LC_OCCUPY_RENT_LIST{
* FLOW_NAME STRING(32)<br>
*/
public static final String FLOWUNID = "FLOWUNID";
/**
* PLAN_ID STRING(32)<br>
*/
public static final String PLAN_ID = "PLAN_ID";
/**
* INPUTTIME STRING(32)<br>
*/
public static final String INPUTTIME = "INPUTTIME";
}

View File

@ -43,14 +43,14 @@ public class AutoBuckle implements Job {
String flowName = bol.get(i).getAttribute("FLOW_NAME").toString();
if("网银收款".equals(flowName)){
//暂时没有让更新
/*String flowunid = bol.get(i).getAttribute("FLOWUNID").toString();
String flowunid = bol.get(i).getAttribute("FLOWUNID").toString();
List<BizObject> bof = JBOFactory.createBizObjectQuery(LC_RENT_INCOME_TEMP.CLASS_NAME,"FLOWUNID=:flowunid").setParameter("flowunid", flowunid).getResultList(false);
if(bof.size()>0){
for(int j=0;j<bof.size();j++){
String planID = bof.get(j).getAttribute("PLAN_ID").toString();
planIDs.add(planID);
}
}*/
}
}else if ("微信银联收款".equals(flowName) || "微信支付收款".equals(flowName)){
planIDs.add(bol.get(i).getAttribute("PLAN_ID").toString());
}