| | |
| | | HELP.md |
| | | target/ |
| | | !.mvn/wrapper/maven-wrapper.jar |
| | | !**/src/main/** |
| | | !**/src/test/** |
| | | |
| | | ### STS ### |
| | | .apt_generated |
| | | .classpath |
| | | .factorypath |
| | | .project |
| | | .settings |
| | | .springBeans |
| | | .sts4-cache |
| | | |
| | | ### IntelliJ IDEA ### |
| | | .idea |
| | | *.iws |
| | | *.iml |
| | | *.ipr |
| | | |
| | | ### NetBeans ### |
| | | /nbproject/private/ |
| | | /nbbuild/ |
| | | /dist/ |
| | | /nbdist/ |
| | | /.nb-gradle/ |
| | | build/ |
| | | |
| | | ### VS Code ### |
| | | .vscode/ |
| | | HELP.md
|
| | | target/
|
| | | !.mvn/wrapper/maven-wrapper.jar
|
| | | !**/src/main/**
|
| | | !**/src/test/**
|
| | |
|
| | | ### STS ###
|
| | | .apt_generated
|
| | | .classpath
|
| | | .factorypath
|
| | | .project
|
| | | .settings
|
| | | .springBeans
|
| | | .sts4-cache
|
| | |
|
| | | ### IntelliJ IDEA ###
|
| | | .idea
|
| | | *.iws
|
| | | *.iml
|
| | | *.ipr
|
| | |
|
| | | ### NetBeans ###
|
| | | /nbproject/private/
|
| | | /nbbuild/
|
| | | /dist/
|
| | | /nbdist/
|
| | | /.nb-gradle/
|
| | | build/
|
| | |
|
| | | ### VS Code ###
|
| | | .vscode/
|
| | | srs.zip
|
| | |
| | | <groupId>org.freemarker</groupId> |
| | | <artifactId>freemarker</artifactId> |
| | | </dependency> |
| | | |
| | | <dependency> |
| | | <groupId>com.baomidou</groupId> |
| | | <artifactId>mybatis-plus-boot-starter</artifactId> |
| | |
| | | @TableField("user_id") |
| | | private String userId; |
| | | |
| | | @TableField("link_id") |
| | | private String linkId; |
| | | |
| | | private String attachment; |
| | | private Boolean examine; |
| | | |
| | | @TableField("create_time") |
| | | private Date createTime; |
| | | |
| | | public String getLinkId() { |
| | | return linkId; |
| | | } |
| | | |
| | | public Topic setLinkId(String linkId) { |
| | | this.linkId = linkId; |
| | | return this; |
| | | } |
| | | |
| | | public Date getCreateTime() { |
| | | return createTime; |
| | | } |
| | |
| | | ISchemeDetailService iSchemeDetailService; |
| | | @Autowired |
| | | IProjectDealService projectDealService; |
| | | |
| | | @Value("${base.file.path}") |
| | | String basePath; |
| | | |
| | |
| | | int delay = schemeService.selectCount(delayWrapper); |
| | | |
| | | int total = schemeService.selectCount(null); |
| | | |
| | | |
| | | |
| | | |
| | | ArrayList<Integer> result = new ArrayList<>(); |
| | |
| | | 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; |
| | |
| | | } |
| | | |
| | | @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) { |
| | |
| | | topic: |
| | | path: d:/srs/topic |
| | | |
| | | |
| | | |
| | | multipart: |
| | | maxFileSize: 50Mb |
| | | maxRequestSize: 50Mb |
| | |
| | | spring: |
| | | profiles: |
| | | active: |
| | | prod |
| | | dev |
| | | |
| | | |