【仓库审核推送泛微】修改

This commit is contained in:
tanfengling@x-ri.com 2025-10-17 11:38:03 +08:00
parent 585b194b31
commit 2eb9366993
1 changed files with 3 additions and 4 deletions

View File

@ -6,6 +6,7 @@ import kd.bos.entity.operate.result.OperationResult;
import kd.bos.entity.plugin.AbstractOperationServicePlugIn;
import kd.bos.entity.plugin.args.AfterOperationArgs;
import kd.bos.servicehelper.BusinessDataServiceHelper;
import kd.bos.servicehelper.operation.SaveServiceHelper;
import org.apache.commons.lang3.StringUtils;
import tqq9.lc123.cloud.app.plugin.trd.FWImpl;
@ -24,11 +25,9 @@ public class WarehouseAuditOp extends AbstractOperationServicePlugIn {
JSONObject resultJson = JSONObject.parseObject(resultStr);
String status = resultJson.getString("status");
if("1".equals(status)){
}else{
String msg = resultJson.getString("result");
dataEntity.set("tqq9_ispushfw", true);
SaveServiceHelper.save(new DynamicObject[]{dataEntity});
}
}
}
}