|
|
@ -17,7 +17,7 @@ import org.springframework.stereotype.Service; |
|
|
|
* @description 数据字典类型实现类 |
|
|
|
*/ |
|
|
|
@Service |
|
|
|
public class DictTypeService extends MybatisBaseService<DictTypeMapper, DictType>{ |
|
|
|
public class DictTypeService extends MybatisBaseService<DictTypeMapper, DictType> { |
|
|
|
|
|
|
|
/** |
|
|
|
* 根据此类型代码存在的数量 |
|
|
@ -43,6 +43,9 @@ public class DictTypeService extends MybatisBaseService<DictTypeMapper, DictType |
|
|
|
if (StringUtils.isNotBlank(dictTypeName)) { |
|
|
|
qw.like("dt.dictTypeName", dictTypeName); |
|
|
|
} |
|
|
|
if (StringUtils.isNotBlank(params.getRemarks())) { |
|
|
|
qw.like("dt.remarks", params.getRemarks()); |
|
|
|
} |
|
|
|
} |
|
|
|
qw.orderByDesc("dt.createTime"); |
|
|
|
return baseMapper.pageList(page, qw); |
|
|
|