POAPPLYWSIMPL1

来源:互联网 发布:小学知乎 编辑:程序博客网 时间:2024/06/07 06:40
 

 /**
     * 根据产品线、产品族、产品、审核人来查询所有.
     * @param aJsonStr 客户端传递过来的aJsonStr转成的字符串
     * @return 返回结果字符串     * @throws ApplicationException ApplicationException
     */
    public String getSecondCheckerInfo(String aJsonStr)
        throws ApplicationException
    {
        Map<String, Object> aMap = JsonUtil.jsonStringToMap(aJsonStr);
        List<Map<String, Object>> aCheckerInfo = mPoApplySev.
                    getSecondCheckerInfo(aMap);
        String resultAllJsonStr = JsonUtil.transferStringByList(aCheckerInfo);

        int allRecords = mPoApplySev.getSecondCheckerTotalRecordsByidS(aMap);
        JSONObject json = new JSONObject();
        try
        {
            //存入记录总数
            json.put("total_row", allRecords);
            //存入记录列表
            json.put("secondCheckerList", resultAllJsonStr);
        }
        catch (JSONException e)
        {
            e.printStackTrace();
        }

        return json.toString();
    }

原创粉丝点击