|
@@ -94,7 +94,7 @@ public class PlatProjectCheckController extends BaseController {
|
|
* 更改问题状态
|
|
* 更改问题状态
|
|
* */
|
|
* */
|
|
@PostMapping("/changeIssueStatus")
|
|
@PostMapping("/changeIssueStatus")
|
|
- public AjaxResult changeIssueStatus(@RequestPart("issue") LargeIssue entity, @RequestPart(value = "file", required = false) MultipartFile multipartFile) {
|
|
|
|
|
|
+ public AjaxResult changeIssueStatus(@RequestPart("issue") LargeIssue entity, @RequestPart(value = "file") MultipartFile multipartFile) {
|
|
return toAjax(largeIssueService.updateById(entity));
|
|
return toAjax(largeIssueService.updateById(entity));
|
|
}
|
|
}
|
|
|
|
|
|
@@ -102,7 +102,7 @@ public class PlatProjectCheckController extends BaseController {
|
|
* 新增问题
|
|
* 新增问题
|
|
* */
|
|
* */
|
|
@PostMapping("/add")
|
|
@PostMapping("/add")
|
|
- public AjaxResult add(@RequestPart("issue") LargeIssue entity, @RequestPart("file") MultipartFile multipartFile) {
|
|
|
|
|
|
+ public AjaxResult add(@RequestPart("issue") LargeIssue entity, @RequestPart(value = "file" , required = false) MultipartFile multipartFile) {
|
|
if (!multipartFile.isEmpty()) {
|
|
if (!multipartFile.isEmpty()) {
|
|
try {
|
|
try {
|
|
String originalFilename = multipartFile.getOriginalFilename();
|
|
String originalFilename = multipartFile.getOriginalFilename();
|