|
|
@@ -10,6 +10,7 @@ import com.ningdatech.log.annotation.WebLog; |
|
|
|
import io.swagger.annotations.Api; |
|
|
|
import io.swagger.annotations.ApiOperation; |
|
|
|
import lombok.RequiredArgsConstructor; |
|
|
|
import org.springframework.security.access.prepost.PreAuthorize; |
|
|
|
import org.springframework.web.bind.annotation.*; |
|
|
|
import org.springframework.web.multipart.MultipartFile; |
|
|
|
|
|
|
@@ -61,16 +62,19 @@ public class MhProjectController { |
|
|
|
|
|
|
|
@ApiOperation("初始化信产项目至项目库") |
|
|
|
@GetMapping("/initProjectLib") |
|
|
|
@PreAuthorize("hasAuthority('SUPER_ADMIN')") |
|
|
|
public void initMhProjectToProjectLib() { |
|
|
|
declaredRecordManage.initMhProjectToProject(); |
|
|
|
} |
|
|
|
|
|
|
|
@GetMapping("/importReplaceSystemInfos") |
|
|
|
@PreAuthorize("hasAuthority('SUPER_ADMIN')") |
|
|
|
public void importReplaceSystemInfos(MultipartFile file) { |
|
|
|
declaredRecordManage.importReplaceSystemInfos(file); |
|
|
|
} |
|
|
|
|
|
|
|
@GetMapping("/importProjectFinanceInfos") |
|
|
|
@PreAuthorize("hasAuthority('SUPER_ADMIN')") |
|
|
|
public void importProjectFinanceInfos(MultipartFile file) { |
|
|
|
declaredRecordManage.importProjectFinanceInfos(file); |
|
|
|
} |
|
|
|