fix:修复已知问题

main
HuangHuiKang 3 days ago
parent 16bcd26bbe
commit 24fe548756

@ -20,8 +20,9 @@ public interface ErpProductCategoryMapper extends BaseMapperX<ErpProductCategory
return selectList(new LambdaQueryWrapperX<ErpProductCategoryDO>() return selectList(new LambdaQueryWrapperX<ErpProductCategoryDO>()
.likeIfPresent(ErpProductCategoryDO::getName, reqVO.getName()) .likeIfPresent(ErpProductCategoryDO::getName, reqVO.getName())
.eqIfPresent(ErpProductCategoryDO::getStatus, reqVO.getStatus()) .eqIfPresent(ErpProductCategoryDO::getStatus, reqVO.getStatus())
.orderByDesc(ErpProductCategoryDO::getSort)
.orderByDesc(ErpProductCategoryDO::getId)); .orderByDesc(ErpProductCategoryDO::getId));
} }
default ErpProductCategoryDO selectByParentIdAndName(Long parentId, String name) { default ErpProductCategoryDO selectByParentIdAndName(Long parentId, String name) {
return selectOne(ErpProductCategoryDO::getParentId, parentId, ErpProductCategoryDO::getName, name); return selectOne(ErpProductCategoryDO::getParentId, parentId, ErpProductCategoryDO::getName, name);

@ -49,4 +49,7 @@ public class DictDataSaveReqVO {
@Schema(description = "备注", example = "我是一个角色") @Schema(description = "备注", example = "我是一个角色")
private String remark; private String remark;
@Schema(description = "字典标签(英文)", example = "btn-visible")
private String labelEn;
} }

@ -22,4 +22,6 @@ public class DictDataSimpleRespVO {
@Schema(description = "css 样式", example = "btn-visible") @Schema(description = "css 样式", example = "btn-visible")
private String cssClass; private String cssClass;
@Schema(description = "字典标签(英文)", example = "men")
private String labelEn;
} }

@ -61,5 +61,9 @@ public class DictDataDO extends BaseDO {
* *
*/ */
private String remark; private String remark;
/**
*
*/
private String labelEn;
} }

Loading…
Cancel
Save