Package easyJ.business.proxy

Examples of easyJ.business.proxy.CompositeDataProxy.query()


        problem = (Problem) cdp.get(problem);
        // 找到正式的解决方案
        Problemsolution temp1 = new Problemsolution();
        temp1.setProblemId(problem.getProblemId());
        temp1.setIsVoting("C");
        ArrayList finalsolutions = cdp.query(temp1);
        // 找到正在投票的解决方案
        Problemsolution temp2 = new Problemsolution();
        temp2.setProblemId(problem.getProblemId());
        temp2.setIsVoting("Y");
        // 找到所有的解决方案
View Full Code Here


        // 找到正在投票的解决方案
        Problemsolution temp2 = new Problemsolution();
        temp2.setProblemId(problem.getProblemId());
        temp2.setIsVoting("Y");
        // 找到所有的解决方案
        ArrayList votingsolutions = cdp.query(temp2);
        Problemsolution temp3 = new Problemsolution();
        temp3.setProblemId(problem.getProblemId());
        ArrayList allsolutions = cdp.query(temp3);

        // 处理最终解决方案情况
View Full Code Here

        temp2.setIsVoting("Y");
        // 找到所有的解决方案
        ArrayList votingsolutions = cdp.query(temp2);
        Problemsolution temp3 = new Problemsolution();
        temp3.setProblemId(problem.getProblemId());
        ArrayList allsolutions = cdp.query(temp3);

        // 处理最终解决方案情况
        if (finalsolution_count >= 0) {
            buffer
                    .append("<div class=\"t2\" onclick=\"Problemsolution.showHide('finalSolution')\" style=\"cursor:pointer\">最终解决方案:</div>");
View Full Code Here

    String resp = "";
    upr.setUserName(user.getUserName());
    Project project = new Project();
    project.setProjectId(upr.getProjectId());
    ArrayList projects = new ArrayList();
    projects = cdp.query(project);
    if (projects.size() > 0) {
      for (int i = 0; i < projects.size(); i++) {
        resp = resp + ((Project) projects.get(i)).getProjectName()
            + ",";
      }
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.