|
|
@@ -1178,15 +1178,12 @@ public class cashbill extends Controller {
|
|
|
if(agentList.isEmpty()){
|
|
|
result.put("errinfo",jsonArray);
|
|
|
}else{
|
|
|
- StringBuffer fagentnums = new StringBuffer();
|
|
|
for(String str : agentList){
|
|
|
- fagentnums.append(str+",");
|
|
|
+ JSONObject object = new JSONObject();
|
|
|
+ object.put("agents", str);
|
|
|
+ object.put("errmsg", "未维护U8科目");
|
|
|
+ jsonArray.add(object);
|
|
|
}
|
|
|
-
|
|
|
- JSONObject object = new JSONObject();
|
|
|
- object.put("agents", fagentnums.toString().substring(0, fagentnums.toString().length()-1));
|
|
|
- object.put("errmsg", "未维护U8科目");
|
|
|
- jsonArray.add(object);
|
|
|
result.put("errinfo", jsonArray);
|
|
|
}
|
|
|
|