|
@@ -1,7 +1,7 @@
|
|
package com.dt.child.service.impl;
|
|
package com.dt.child.service.impl;
|
|
|
|
|
|
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
|
|
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
|
|
-import com.dt.child.dao.LzyType;
|
|
|
|
|
|
+import com.dt.child.domain.LzyType;
|
|
import com.dt.child.service.LzyTypeService;
|
|
import com.dt.child.service.LzyTypeService;
|
|
import com.dt.child.mapper.LzyTypeMapper;
|
|
import com.dt.child.mapper.LzyTypeMapper;
|
|
import com.dt.child.vo.TypeVo;
|
|
import com.dt.child.vo.TypeVo;
|
|
@@ -14,12 +14,12 @@ import java.util.List;
|
|
/**
|
|
/**
|
|
* @author lzy
|
|
* @author lzy
|
|
* @description 针对表【lzy_type】的数据库操作Service实现
|
|
* @description 针对表【lzy_type】的数据库操作Service实现
|
|
-* @createDate 2025-07-03 20:13:59
|
|
|
|
|
|
+* @createDate 2025-07-08 14:10:27
|
|
*/
|
|
*/
|
|
@Service
|
|
@Service
|
|
public class LzyTypeServiceImpl extends ServiceImpl<LzyTypeMapper, LzyType>
|
|
public class LzyTypeServiceImpl extends ServiceImpl<LzyTypeMapper, LzyType>
|
|
implements LzyTypeService{
|
|
implements LzyTypeService{
|
|
-// 查询标题
|
|
|
|
|
|
+ // 查询标题
|
|
@Override
|
|
@Override
|
|
public Result selType() {
|
|
public Result selType() {
|
|
List<LzyType> lzyTypes = this.baseMapper.selectList(null);
|
|
List<LzyType> lzyTypes = this.baseMapper.selectList(null);
|
|
@@ -33,25 +33,6 @@ public class LzyTypeServiceImpl extends ServiceImpl<LzyTypeMapper, LzyType>
|
|
}
|
|
}
|
|
return Result.ok(collect,"查询成功");
|
|
return Result.ok(collect,"查询成功");
|
|
}
|
|
}
|
|
-
|
|
|
|
-
|
|
|
|
-
|
|
|
|
-// 查询食谱
|
|
|
|
-
|
|
|
|
-
|
|
|
|
-
|
|
|
|
-
|
|
|
|
-
|
|
|
|
-
|
|
|
|
-
|
|
|
|
-
|
|
|
|
-
|
|
|
|
-
|
|
|
|
-
|
|
|
|
-
|
|
|
|
-
|
|
|
|
-
|
|
|
|
-
|
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
|