Compare commits

..

No commits in common. "c50878a65bb3b6c86e6331f39c0ca6cfc3fa4bf1" and "f5cf5583174d01af095e1ddba3ab74804dc4c62b" have entirely different histories.

1 changed files with 4 additions and 3 deletions

View File

@ -6,7 +6,6 @@ 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;
@ -25,9 +24,11 @@ public class WarehouseAuditOp extends AbstractOperationServicePlugIn {
JSONObject resultJson = JSONObject.parseObject(resultStr);
String status = resultJson.getString("status");
if("1".equals(status)){
dataEntity.set("tqq9_ispushfw", true);
SaveServiceHelper.save(new DynamicObject[]{dataEntity});
}else{
String msg = resultJson.getString("result");
}
}
}
}