fix: 代码生成 review todo 修改

This commit is contained in:
puhui999
2025-06-06 16:35:32 +08:00
parent b7ab10305f
commit c26c4414b4
14 changed files with 71 additions and 68 deletions

View File

@@ -65,7 +65,7 @@ public class Demo01ContactController {
@Operation(summary = "批量删除示例联系人")
@PreAuthorize("@ss.hasPermission('infra:demo01-contact:delete')")
public CommonResult<Boolean> deleteDemo0iContactList(@RequestParam("ids") List<Long> ids) {
demo01ContactService.deleteDemo0iContactListByIds(ids);
demo01ContactService.deleteDemo0iContactList(ids);
return success(true);
}

View File

@@ -67,8 +67,7 @@ public class Demo03StudentErpController {
@Operation(summary = "批量删除学生")
@PreAuthorize("@ss.hasPermission('infra:demo03-student:delete')")
public CommonResult<Boolean> deleteDemo03StudentList(@RequestParam("ids") List<Long> ids) {
// TODO @puhui999deleteDemo03StudentList
demo03StudentErpService.deleteDemo03StudentListByIds(ids);
demo03StudentErpService.deleteDemo03StudentList(ids);
return success(true);
}
@@ -142,7 +141,7 @@ public class Demo03StudentErpController {
@Operation(summary = "批量删除学生课程")
@PreAuthorize("@ss.hasPermission('infra:demo03-student:delete')")
public CommonResult<Boolean> deleteDemo03CourseList(@RequestParam("ids") List<Long> ids) {
demo03StudentErpService.deleteDemo03CourseListByIds(ids);
demo03StudentErpService.deleteDemo03CourseList(ids);
return success(true);
}
@@ -194,7 +193,7 @@ public class Demo03StudentErpController {
@Operation(summary = "批量删除学生班级")
@PreAuthorize("@ss.hasPermission('infra:demo03-student:delete')")
public CommonResult<Boolean> deleteDemo03GradeList(@RequestParam("ids") List<Long> ids) {
demo03StudentErpService.deleteDemo03GradeListByIds(ids);
demo03StudentErpService.deleteDemo03GradeList(ids);
return success(true);
}

View File

@@ -67,7 +67,7 @@ public class Demo03StudentInnerController {
@Operation(summary = "批量删除学生")
@PreAuthorize("@ss.hasPermission('infra:demo03-student:delete')")
public CommonResult<Boolean> deleteDemo03StudentList(@RequestParam("ids") List<Long> ids) {
demo03StudentInnerService.deleteDemo03StudentListByIds(ids);
demo03StudentInnerService.deleteDemo03StudentList(ids);
return success(true);
}

View File

@@ -67,7 +67,7 @@ public class Demo03StudentNormalController {
@Operation(summary = "批量删除学生")
@PreAuthorize("@ss.hasPermission('infra:demo03-student:delete')")
public CommonResult<Boolean> deleteDemo03StudentList(@RequestParam("ids") List<Long> ids) {
demo03StudentNormalService.deleteDemo03StudentListByIds(ids);
demo03StudentNormalService.deleteDemo03StudentList(ids);
return success(true);
}

View File

@@ -42,7 +42,7 @@ public interface Demo01ContactService {
*
* @param ids 编号
*/
void deleteDemo0iContactListByIds(List<Long> ids);
void deleteDemo0iContactList(List<Long> ids);
/**
* 获得示例联系人

View File

@@ -55,7 +55,7 @@ public class Demo01ContactServiceImpl implements Demo01ContactService {
}
@Override
public void deleteDemo0iContactListByIds(List<Long> ids) {
public void deleteDemo0iContactList(List<Long> ids) {
// 校验存在
validateDemo01ContactExists(ids);
// 删除

View File

@@ -45,7 +45,7 @@ public interface Demo03StudentErpService {
*
* @param ids 编号
*/
void deleteDemo03StudentListByIds(List<Long> ids);
void deleteDemo03StudentList(List<Long> ids);
/**
* 获得学生
@@ -101,7 +101,7 @@ public interface Demo03StudentErpService {
*
* @param ids 编号
*/
void deleteDemo03CourseListByIds(List<Long> ids);
void deleteDemo03CourseList(List<Long> ids);
/**
* 获得学生课程
@@ -149,7 +149,7 @@ public interface Demo03StudentErpService {
*
* @param ids 编号
*/
void deleteDemo03GradeListByIds(List<Long> ids);
void deleteDemo03GradeList(List<Long> ids);
/**
* 获得学生班级

View File

@@ -71,7 +71,7 @@ public class Demo03StudentErpServiceImpl implements Demo03StudentErpService {
@Override
@Transactional(rollbackFor = Exception.class)
public void deleteDemo03StudentListByIds(List<Long> ids) {
public void deleteDemo03StudentList(List<Long> ids) {
// 校验存在
validateDemo03StudentExists(ids);
// 删除
@@ -134,7 +134,7 @@ public class Demo03StudentErpServiceImpl implements Demo03StudentErpService {
}
@Override
public void deleteDemo03CourseListByIds(List<Long> ids) {
public void deleteDemo03CourseList(List<Long> ids) {
// 删除
demo03CourseErpMapper.deleteByIds(ids);
}
@@ -192,7 +192,7 @@ public class Demo03StudentErpServiceImpl implements Demo03StudentErpService {
}
@Override
public void deleteDemo03GradeListByIds(List<Long> ids) {
public void deleteDemo03GradeList(List<Long> ids) {
// 删除
demo03GradeErpMapper.deleteByIds(ids);
}

View File

@@ -44,7 +44,7 @@ public interface Demo03StudentInnerService {
*
* @param ids 编号
*/
void deleteDemo03StudentListByIds(List<Long> ids);
void deleteDemo03StudentList(List<Long> ids);
/**
* 获得学生

View File

@@ -83,7 +83,7 @@ public class Demo03StudentInnerServiceImpl implements Demo03StudentInnerService
@Override
@Transactional(rollbackFor = Exception.class)
public void deleteDemo03StudentListByIds(List<Long> ids) {
public void deleteDemo03StudentList(List<Long> ids) {
// 校验存在
validateDemo03StudentExists(ids);
// 删除

View File

@@ -44,7 +44,7 @@ public interface Demo03StudentNormalService {
*
* @param ids 编号
*/
void deleteDemo03StudentListByIds(List<Long> ids);
void deleteDemo03StudentList(List<Long> ids);
/**
* 获得学生

View File

@@ -83,7 +83,7 @@ public class Demo03StudentNormalServiceImpl implements Demo03StudentNormalServic
@Override
@Transactional(rollbackFor = Exception.class)
public void deleteDemo03StudentListByIds(List<Long> ids) {
public void deleteDemo03StudentList(List<Long> ids) {
// 校验存在
validateDemo03StudentExists(ids);
// 删除