this.storeId = this.store_list.map(function(e,i){
return e.id
}).join(',')
console.log( this.storeId)
select distinct(substring_index(substring_index(a.col,',',b.help_topic_id+1),',',-1))
(select group_concat(
public class test {
public static void main(String[] args) {
String json = "[\"偏好零售\",\"偏好金融\",\"偏好教育\"]";
JSONArray objects = JSONArray.parseArray(json);
StringBuilder sb = new StringBuilder();
for (Object object
当拼接只有一个元素的时候,就不会进行拼接分隔符号
public static void main(String[] args) {
ArrayList<String> list = new ArrayList<>();
list.add("111");
list.add("222");
list.add("333");
System.out.println(list.toString());
需要将图一变为图2
方法参数解释:jsonString为关联品牌的json对象字符串,key为json对象的名字参数。相当于图一中text参数
//提取json字符串数据中某个属性,返回拼接字符串 逗号分隔
$scope.jsonToString=function(jsonString,key){
var json=JSON.parse(jsonString);//将json字符串转换...