dev798
parent
ba0b2bb8fb
commit
e479445339
|
@ -56,7 +56,7 @@ public class CharactersController extends BaseController
|
||||||
@GetMapping("/ListAll7")
|
@GetMapping("/ListAll7")
|
||||||
public Result<List<Characters>>listAll(Characters characters){
|
public Result<List<Characters>>listAll(Characters characters){
|
||||||
List<Characters>list=charactersService.listAll(characters);
|
List<Characters>list=charactersService.listAll(characters);
|
||||||
return null;
|
return Result.success(list);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -105,6 +105,6 @@ public class CharactersServiceImpl implements CharactersService
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public List<Characters> listAll(Characters characters) {
|
public List<Characters> listAll(Characters characters) {
|
||||||
return List.of();
|
return List.of(characters);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -132,7 +132,7 @@ public class MallProductInfoServiceImpl implements MallProductInfoService
|
||||||
{
|
{
|
||||||
String step = mallProductInfo.getStep();
|
String step = mallProductInfo.getStep();
|
||||||
if (step == null) {
|
if (step == null) {
|
||||||
// 在这里处理 step 为 null 的情况,可以抛出异常或者采取其他措施
|
// 在这里处理 step 为 null 的情况
|
||||||
throw new IllegalArgumentException("Step参数为空");
|
throw new IllegalArgumentException("Step参数为空");
|
||||||
}
|
}
|
||||||
switch (step) {
|
switch (step) {
|
||||||
|
|
|
@ -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 {
|
|
||||||
|
|
||||||
}
|
|
|
@ -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> {
|
|
||||||
}
|
|
|
@ -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> {
|
|
||||||
}
|
|
|
@ -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 {
|
|
||||||
|
|
||||||
}
|
|
|
@ -1,6 +1,6 @@
|
||||||
package com.muyu.system.service.impl;
|
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.SysRole;
|
||||||
import com.muyu.common.system.domain.SysUser;
|
import com.muyu.common.system.domain.SysUser;
|
||||||
import com.muyu.system.service.SysMenuService;
|
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.beans.factory.annotation.Autowired;
|
||||||
import org.springframework.stereotype.Service;
|
import org.springframework.stereotype.Service;
|
||||||
import org.springframework.util.CollectionUtils;
|
import org.springframework.util.CollectionUtils;
|
||||||
|
|
||||||
import java.util.HashSet;
|
import java.util.HashSet;
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
import java.util.Set;
|
import java.util.Set;
|
||||||
|
|
Loading…
Reference in New Issue