| | |
| | | JSONArray account = new JSONArray(); |
| | | AccountPo accountPo = new AccountPo(); |
| | | accountPo.setAcctId(GenerateCodeFactory.getGeneratorId(GenerateCodeFactory.CODE_PREFIX_acctId)); |
| | | |
| | | accountPo.setAcctName(businessStoreObj.getString("name")); |
| | | accountPo.setAcctType(acctType); |
| | | accountPo.setAmount("0"); |
| | | accountPo.setObjId(paramInJson.getString("storeId")); |
| | | accountPo.setObjType(AccountDto.OBJ_TYPE_STORE); |
| | | account.add(JSONObject.parseObject(JSONObject.toJSONString(accountPo))); |
| | | business.getJSONObject(CommonConstant.HTTP_BUSINESS_DATAS).put(WorkflowPo.class.getSimpleName(), account); |
| | | business.getJSONObject(CommonConstant.HTTP_BUSINESS_DATAS).put(AccountPo.class.getSimpleName(), account); |
| | | return business; |
| | | } |
| | | |