|
@@ -13,6 +13,7 @@ import com.ruoyi.invest.domain.TProjectMeeting;
|
|
|
import com.ruoyi.invest.service.ITProjectMeetingService;
|
|
|
import com.ruoyi.tool.domain.TUnifyFile;
|
|
|
import com.ruoyi.tool.service.ITUnifyFileService;
|
|
|
+import io.swagger.annotations.Api;
|
|
|
import org.springframework.security.access.prepost.PreAuthorize;
|
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
|
import org.springframework.web.bind.annotation.GetMapping;
|
|
@@ -37,6 +38,7 @@ import org.springframework.web.multipart.MultipartFile;
|
|
|
* @author ruoyi
|
|
|
* @date 2024-02-22
|
|
|
*/
|
|
|
+@Api("会议记录")
|
|
|
@RestController
|
|
|
@RequestMapping("/invest/meeting")
|
|
|
public class TProjectMeetingController extends BaseController
|
|
@@ -94,6 +96,7 @@ public class TProjectMeetingController extends BaseController
|
|
|
public AjaxResult add(@RequestBody TProjectMeeting tProjectMeeting,List<MultipartFile> files)
|
|
|
{
|
|
|
tProjectMeeting.setId(IdUtils.fastSimpleUUID());
|
|
|
+ tProjectMeeting.setCreateBy(getNickName());
|
|
|
try
|
|
|
{
|
|
|
|
|
@@ -110,6 +113,7 @@ public class TProjectMeetingController extends BaseController
|
|
|
tUnifyFile.setUploadFormat(file.getOriginalFilename());
|
|
|
tUnifyFile.setFileBusinessId(tProjectMeeting.getId());
|
|
|
tUnifyFile.setUploadType(String.valueOf(FileType.MEETING.ordinal()));
|
|
|
+ tUnifyFile.setCreateBy(getNickName());
|
|
|
tUnifyFileService.insertTUnifyFile(tUnifyFile);
|
|
|
}
|
|
|
}
|
|
@@ -141,4 +145,15 @@ public class TProjectMeetingController extends BaseController
|
|
|
{
|
|
|
return toAjax(tProjectMeetingService.updateTProjectMeetingByIds(ids));
|
|
|
}
|
|
|
+
|
|
|
+
|
|
|
+ * 根据项目ID获取会议记录
|
|
|
+ */
|
|
|
+ @PreAuthorize("@ss.hasPermi('invest:meeting:query')")
|
|
|
+ @GetMapping(value = "/listProjectPoolId")
|
|
|
+ public AjaxResult listProjectPoolId(String projectPoolId)
|
|
|
+ {
|
|
|
+ return success(tProjectMeetingService.listProjectPoolId(projectPoolId));
|
|
|
+ }
|
|
|
+
|
|
|
}
|