添加物料分类图标字段

This commit is contained in:
yangjun 2025-08-27 10:07:18 +08:00
parent b814814f6d
commit f6abc8c11b
4 changed files with 6 additions and 0 deletions

View File

@ -69,6 +69,7 @@ public class ConfigMaterialCategory implements Serializable {
/**所属部门*/
@ApiModelProperty(value = "所属部门")
private java.lang.String sysOrgCode;
private java.lang.String icon;
private Integer sort;

View File

@ -78,6 +78,7 @@ public class ConfigMaterialMedication implements Serializable {
/**所属部门*/
@ApiModelProperty(value = "所属部门")
private java.lang.String sysOrgCode;
private java.lang.String icon;
@TableField(exist = false)
private String levle;//当前所在层级 1一级 2二级 3三级

View File

@ -73,6 +73,7 @@ public class ConfigMaterialType implements Serializable {
/**所属部门*/
@ApiModelProperty(value = "所属部门")
private java.lang.String sysOrgCode;
private java.lang.String icon;
@TableField(exist = false)
private Integer num;

View File

@ -161,6 +161,7 @@ public class ConfigMaterialCategoryServiceImpl extends ServiceImpl<ConfigMateria
yylxMap.put("typeId",yylxPar.getTypeId());
yylxMap.put("children","");
yylxMap.put("parentIzEnabled",par.getIzEnabled());
yylxMap.put("icon",yylxPar.getIcon());
yylxMapList.add(yylxMap);
}
}
@ -180,6 +181,7 @@ public class ConfigMaterialCategoryServiceImpl extends ServiceImpl<ConfigMateria
wllxMap.put("children",yylxMapList);
wllxMap.put("categoryId",par.getCategoryId());
wllxMap.put("typeId",par.getId());
wllxMap.put("icon",par.getIcon());
wllxMapList.add(wllxMap);
}
@ -210,6 +212,7 @@ public class ConfigMaterialCategoryServiceImpl extends ServiceImpl<ConfigMateria
infoMap.put("children",wllxMap2List);
infoMap.put("categoryId",par.getId());
infoMap.put("parentIzEnabled",par.getIzEnabled());
infoMap.put("icon",par.getIcon());
infoMapList.add(infoMap);
}