评分体系修改
This commit is contained in:
@ -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);
|
||||
|
||||
@ -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> {
|
||||
|
||||
}
|
||||
|
||||
@ -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> {
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user