按钮里面,这两行不能共存!
转类型 都这样转 String.valueOf() ….
需要忽略权限的时候才会考虑without sharing
//根据,逗号分割
String woId = ApexPages.currentPage().getParameters().get('id');
List<String> woIds= woId.split(',');
按钮里面,这两行不能共存!
转类型 都这样转 String.valueOf() ….
需要忽略权限的时候才会考虑without sharing
//根据,逗号分割
String woId = ApexPages.currentPage().getParameters().get('id');
List<String> woIds= woId.split(',');
转载于:https://www.cnblogs.com/pipidan/p/8473704.html