zoukankan      html  css  js  c++  java
  • LLS战队高级软件工程第九次作业敏捷冲刺6

    1、召开冲刺会议

    2、会议内容:讨论增加排名管理功能及任务分配

         任务分配:宋非队长:201810812006   定义接口以及实现方式

        罗建彪队员:201810812005   代码实现

        罗远云队员:201810775002  排名规则设定。

    3、燃尽图

    4、遇到的问题:我们需要所有评委做出做出评分后,此时就系统就需要做出相应的排名,但在数据传输上存在一定问题

    5、代码记录

    https://git.coding.net/Ssl_dhlg18/SIMsystem.git

    6、代码实现

    package com.ms.action;  
      
    import java.util.ArrayList;  
    import java.util.List;  
      
    import org.apache.struts2.ServletActionContext;  
    import org.apache.struts2.convention.annotation.Action;  
    import org.apache.struts2.convention.annotation.Result;  
    import org.springframework.beans.factory.annotation.Autowired;  
    import org.springframework.beans.factory.annotation.Qualifier;  
      
    import com.ms.dao.ActivitylistInterface;  
    import com.ms.dao.ItemFormInterface;  
    import com.ms.model.Itemform;  
    import com.ms.model.Judgescoring;  
    import com.ms.service.scoreServiceI;  
    import com.opensymphony.xwork2.ModelDriven;  
      
    /** 
     * @Description : 操作分数的Action实现 
     * @author LLS 
     * 
     */  
    @SuppressWarnings("serial")  
    public class ScoreAction extends BaseAction implements ModelDriven<Judgescoring>{  
        @Autowired  
        @Qualifier("itemDao")  
        private ItemFormInterface itemDao;  
        @Autowired  
        @Qualifier("scoreService")  
        private scoreServiceI scoreService;  
        @Autowired  
        @Qualifier("activityDao")  
        private ActivitylistInterface activityDao;  
        private Judgescoring score = new Judgescoring();  
        private List<Judgescoring> list_score= new ArrayList<Judgescoring>();  
          
          
        /** 
         * @Description : 通过项目Id获取评委评分 
         * @author LLS 
         * 
         */  
        @Action(value = "getJudgeScoreById" , results = {@Result(name = "success", type = "json",params = {"root","jsoMap"})})  
        public String getJudgeScoreById(){  
            String item_id=ServletActionContext.getRequest().getParameter("itemId");  
            jsoMap = scoreService.getJudgeScoreById(Integer.parseInt(item_id));  
            return "success";  
        }  
          
    

      

  • 相关阅读:
    Objective-C系列总结之基础知识
    OC自动释放池autoreleasepool介绍
    OC导入框架方式#import、@import的区别
    OC源文件扩展名
    安装好MySQL后就开始学习如何后台创建自己的数据库吧!
    如何修改Eclipse中的快捷键
    安装MySQL的详细步骤
    Eclipse运行错误:Failed to load the JNI shared library的解决办法
    导航栏返回带的数据
    flutter Container
  • 原文地址:https://www.cnblogs.com/luojianbiao/p/10116002.html
Copyright © 2011-2022 走看看