Browse Source

la

recovery
wang0018 4 years ago
parent
commit
a508190247
  1. 4
      tall/src/main/java/com/ccsens/tall/service/ExcelService.java
  2. 6
      tall/src/main/java/com/ccsens/tall/web/LogController.java

4
tall/src/main/java/com/ccsens/tall/service/ExcelService.java

@ -143,10 +143,10 @@ public class ExcelService implements IExcelService {
if (projectInfoStart == 0) {
throw new BaseException(CodeEnum.WSB_NOT_PROJECT_HEADER);
}
if (projectInfoStart == 0) {
if (memberStart == 0) {
throw new BaseException(CodeEnum.WSB_NOT_MEMBER_HEADER);
}
if (projectInfoStart == 0) {
if (taskStart == 0) {
throw new BaseException(CodeEnum.WSB_NOT_TASK_HEADER);
}
readProject(wbsSheet, projectInfoStart, projectInfoEnd, currentUserId, sysProject);

6
tall/src/main/java/com/ccsens/tall/web/LogController.java

@ -14,6 +14,8 @@ import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
import javax.annotation.Resource;
/**
* @description:
* @author: wuHuiJuan
@ -24,9 +26,9 @@ import org.springframework.web.bind.annotation.RestController;
@RestController
public class LogController {
@Autowired
@Resource
private SysLogMapper sysLogMapper;
@Autowired
@Resource
private Snowflake snowflake;
@RequestMapping("/log/operation")

Loading…
Cancel
Save