kimi42345
2020-03-17 69ef46cbec0487cf6eba8a6989dbe33238bb923d
no message
2个文件已修改
11 ■■■■ 已修改文件
src/main/java/com/highdatas/srs/web/SchemeController.java 2 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/main/java/com/highdatas/srs/web/TopicController.java 9 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/main/java/com/highdatas/srs/web/SchemeController.java
@@ -142,8 +142,6 @@
        int total = schemeService.selectCount(null);
        ArrayList<Integer> result = new ArrayList<>();
        result.add(edit);
        result.add(working);
src/main/java/com/highdatas/srs/web/TopicController.java
@@ -13,10 +13,7 @@
import com.highdatas.srs.util.DbUtils;
import org.apache.commons.lang3.StringUtils;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RestController;
import org.springframework.web.bind.annotation.*;
import javax.servlet.http.HttpServletRequest;
import java.util.Date;
@@ -75,10 +72,10 @@
    }
    @RequestMapping(value = "/exam/{id}", method = RequestMethod.GET)
    public Result exam(@PathVariable String id)  {
    public Result exam(@PathVariable String id, @RequestParam String projectId)  {
        Topic topic = topicService.selectById(id);
        topic.setExamine(true);
        topic.setLinkId(projectId);
        boolean insert = topic.updateById();
        if (insert) {