|
@@ -33,13 +33,13 @@ public interface ProjectReportPersonnelMapper extends BaseMapper<ProjectReportPe
|
|
|
* 根据项目ID列表删除项目报告人员信息。
|
|
|
*
|
|
|
* @param projectIdList 项目ID
|
|
|
- * @param personnelType 类型
|
|
|
+
|
|
|
*/
|
|
|
- default void deleteByProjectIdList(String reportId, List<Integer> projectIdList, ReportPersonnelType personnelType) {
|
|
|
+ default void deleteByProjectIdList(String reportId, List<Integer> projectIdList, ProjectReportType reportType) {
|
|
|
this.delete(Wrappers.lambdaQuery(ProjectReportPersonnel.class)
|
|
|
.eq(ProjectReportPersonnel::getReportId, reportId)
|
|
|
.in(ProjectReportPersonnel::getProjectId, projectIdList)
|
|
|
- .eq(ProjectReportPersonnel::getPersonnelType, personnelType));
|
|
|
+ .eq(ProjectReportPersonnel::getReportType, reportType));
|
|
|
}
|
|
|
|
|
|
|