// 定义需要更新的字段Map updateData = ["quote_company_name__c": "广东华认检测科技有限公司"] // 定义查询条件QueryTemplate template = QueryTemplate.AND(["quote_company_name__c": Operator.EQ("1")]) // 执行批量更新def (Boolean error, Object data, String message) = Fx.object.update("SalesOrderObj", template, updateData, UpdateAttribute.builder().build())if (error) {log.info("error: " + message)} else {log.info("success!")} // 返回一个空的UIEvent对象return UIEvent.build(context) { }
上一篇:没有了!
下一篇:批量更新某个字段