评分体系修改

This commit is contained in:
张秉卓
2025-12-08 09:36:15 +08:00
parent 80c9334c67
commit b50f7f6b83
3 changed files with 5 additions and 3 deletions

View File

@ -50,7 +50,7 @@ public class CategoryController {
queryWrapper
.like(StrUtil.isNotBlank(dto.getFullName()), LngBCategory::getFullName, dto.getFullName())
.eq(StrUtil.isNotBlank(dto.getValid()), LngBCategory::getValid, dto.getValid())
.orderByDesc(LngBCategory::getCode)
.orderByAsc(LngBCategory::getSort).orderByDesc(LngBCategory::getCode)
.select(LngBCategory.class,x -> VoToColumnUtil.fieldsToColumns(LngBCategoryPageVo.class)
.contains(x.getProperty()));
IPage<LngBCategory> page = categoryService.page(ConventPage.getPage(dto), queryWrapper);

View File

@ -1,5 +1,6 @@
package com.xjrsoft.module.sales.mapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.github.yulichang.base.MPJBaseMapper;
import com.xjrsoft.module.sales.entity.LngGradeSystemItem;
import org.apache.ibatis.annotations.Mapper;
@ -11,6 +12,6 @@ import org.apache.ibatis.annotations.Mapper;
* @Version 1.0
*/
@Mapper
public interface LngGradeSystemItemMapper extends MPJBaseMapper<LngGradeSystemItem> {
public interface LngGradeSystemItemMapper extends MPJBaseMapper<LngGradeSystemItem>, BaseMapper<LngGradeSystemItem> {
}

View File

@ -1,5 +1,6 @@
package com.xjrsoft.module.sales.mapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.github.yulichang.base.MPJBaseMapper;
import com.xjrsoft.module.sales.entity.LngGradeSystem;
import org.apache.ibatis.annotations.Mapper;
@ -11,6 +12,6 @@ import org.apache.ibatis.annotations.Mapper;
* @Version 1.0
*/
@Mapper
public interface LngGradeSystemMapper extends MPJBaseMapper<LngGradeSystem> {
public interface LngGradeSystemMapper extends MPJBaseMapper<LngGradeSystem>, BaseMapper<LngGradeSystem> {
}