调拨入库不推送泛微
This commit is contained in:
parent
2827c64d12
commit
5535ad3a41
|
|
@ -21,6 +21,14 @@ public class OtherInSubmitToFwOp extends AbstractOperationServicePlugIn {
|
||||||
List<Object> successPkIds = operationResult.getSuccessPkIds();
|
List<Object> successPkIds = operationResult.getSuccessPkIds();
|
||||||
for (Object successPkId : successPkIds) {
|
for (Object successPkId : successPkIds) {
|
||||||
DynamicObject bill = BusinessDataServiceHelper.loadSingle(successPkId, "tqq9_otherinapply");
|
DynamicObject bill = BusinessDataServiceHelper.loadSingle(successPkId, "tqq9_otherinapply");
|
||||||
|
DynamicObject tqq9_biztype = bill.getDynamicObject("biztype");
|
||||||
|
if (tqq9_biztype != null) {
|
||||||
|
//调拨入库不推送泛微
|
||||||
|
String biztypenumber = tqq9_biztype.getString("number");
|
||||||
|
if ("605".equals(biztypenumber)) {
|
||||||
|
continue;
|
||||||
|
}
|
||||||
|
}
|
||||||
String resultStr = FWImpl.pushFwOtherIn(bill);
|
String resultStr = FWImpl.pushFwOtherIn(bill);
|
||||||
if (StringUtils.isNotBlank(resultStr)) {
|
if (StringUtils.isNotBlank(resultStr)) {
|
||||||
JSONObject resultObj = JSONObject.parseObject(resultStr);
|
JSONObject resultObj = JSONObject.parseObject(resultStr);
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue