dev798
wxy 2024-05-14 19:38:42 +08:00
parent ba0b2bb8fb
commit e479445339
8 changed files with 4 additions and 60 deletions

View File

@ -56,7 +56,7 @@ public class CharactersController extends BaseController
@GetMapping("/ListAll7")
public Result<List<Characters>>listAll(Characters characters){
List<Characters>list=charactersService.listAll(characters);
return null;
return Result.success(list);
}

View File

@ -105,6 +105,6 @@ public class CharactersServiceImpl implements CharactersService
@Override
public List<Characters> listAll(Characters characters) {
return List.of();
return List.of(characters);
}
}

View File

@ -132,7 +132,7 @@ public class MallProductInfoServiceImpl implements MallProductInfoService
{
String step = mallProductInfo.getStep();
if (step == null) {
// 在这里处理 step 为 null 的情况,可以抛出异常或者采取其他措施
// 在这里处理 step 为 null 的情况
throw new IllegalArgumentException("Step参数为空");
}
switch (step) {

View File

@ -1,16 +0,0 @@
package com.muyu.system.controller;
/**
* @Author: wangxinyuan
* @Date: 2024/3/25 8:57
*/
import com.muyu.common.core.web.controller.BaseController;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
@RestController
@RequestMapping("/book_info")
public class BookInfoController extends BaseController {
}

View File

@ -1,11 +0,0 @@
package com.muyu.system.mapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.muyu.system.domain.BookInfo;
/**
* @Author: wangxinyuan
* @Date: 2024/3/25 9:00
*/
public interface BookInfoMapper extends BaseMapper<BookInfo> {
}

View File

@ -1,11 +0,0 @@
package com.muyu.system.service;
import com.baomidou.mybatisplus.extension.service.IService;
import com.muyu.system.domain.BookInfo;
/**
* @Author: wangxinyuan
* @Date: 2024/3/25 9:00
*/
public interface BookInfoService extends IService<BookInfo> {
}

View File

@ -1,17 +0,0 @@
package com.muyu.system.service.impl;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.muyu.system.domain.BookInfo;
import com.muyu.system.mapper.BookInfoMapper;
import com.muyu.system.service.BookInfoService;
import org.springframework.stereotype.Service;
/**
* @Author: wangxinyuan
* @Date: 2024/3/25 9:02
*/
@Service
public class BookInfoServiceImpl extends ServiceImpl<BookInfoMapper, BookInfo>
implements BookInfoService {
}

View File

@ -1,6 +1,6 @@
package com.muyu.system.service.impl;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.muyu.common.system.domain.SysRole;
import com.muyu.common.system.domain.SysUser;
import com.muyu.system.service.SysMenuService;
@ -9,7 +9,6 @@ import com.muyu.system.service.SysRoleService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.util.CollectionUtils;
import java.util.HashSet;
import java.util.List;
import java.util.Set;