【物料变更】 requestid获取
This commit is contained in:
parent
1c1afbca61
commit
6a72929f69
|
|
@ -90,7 +90,7 @@ public class MaterialBillPlugin extends AbstractBillPlugIn {
|
|||
DynamicObjectCollection changeEntries = dataEntity.getDynamicObjectCollection("tqq9_changeentry");
|
||||
for (IDataEntityProperty prop : iDataEntityProperties) {
|
||||
String name = prop.getName();//字段标识
|
||||
if ("status".equals(name) || "useorg".equals(name) || "modifytime".equals(name)
|
||||
if ("number".equals(name) || "status".equals(name) || "useorg".equals(name) || "modifytime".equals(name)
|
||||
|| "tqq9_changereason".equals(name) || "tqq9_changereason_tag".equals(name)) {
|
||||
continue;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -6114,6 +6114,9 @@ public class FWImpl {
|
|||
tableName_2 = "formtable_main_105_dt2";
|
||||
wfID = ConfigUtils.getThirdConfigByNumber("FW_WFID_GYSBG");
|
||||
requestid = bill.getString("tqq9_fwupdid");
|
||||
if(StringUtils.isBlank(requestid)){
|
||||
requestid = bill.getString("tqq9_fwrequestid");
|
||||
}
|
||||
|
||||
//修改供应商时,有可能修改供应商区域资质字段
|
||||
if(StringUtils.isNotBlank(gysqyzzbg)){
|
||||
|
|
@ -6582,6 +6585,9 @@ public class FWImpl {
|
|||
requestName = "变更物料流程";
|
||||
wfID = ConfigUtils.getThirdConfigByNumber("FW_WFID_WLBG");
|
||||
requestid = bill.getString("tqq9_fwupdid");
|
||||
if(StringUtils.isBlank(requestid)){
|
||||
requestid = bill.getString("tqq9_fwrequestid");
|
||||
}
|
||||
|
||||
JSONObject detail_change = new JSONObject();
|
||||
JSONArray recordsArr_change = new JSONArray();
|
||||
|
|
@ -6606,9 +6612,9 @@ public class FWImpl {
|
|||
JSONObject recordObj = new JSONObject();
|
||||
recordObj.put("recordOrder", 0);
|
||||
recordObj.put("workflowRequestTableFields", recordsArr);
|
||||
|
||||
recordsArr_change.add(recordObj);
|
||||
}
|
||||
|
||||
detail_change.put("tableDBName", "formtable_main_113_dt1");
|
||||
detail_change.put("workflowRequestTableRecords", recordsArr_change);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue