This commit is contained in:
sxu 2025-03-25 19:19:50 +08:00
parent 8f171ed0f2
commit f4c97c5672
2 changed files with 13 additions and 0 deletions

View File

@ -24,6 +24,8 @@ public class MenuMaterialPageDTO extends PageDTO {
@ApiModelProperty("禁用状态 1启用 2禁用")
private Integer disableStatus;
private String materialCode;
public String getMaterialName() {
return this.materialName;
@ -61,6 +63,14 @@ public class MenuMaterialPageDTO extends PageDTO {
return this.disableStatus;
}
public String getMaterialCode() {
return materialCode;
}
public void setMaterialCode(String materialCode) {
this.materialCode = materialCode;
}
public void setMaterialName(final String materialName) {
this.materialName = materialName;
}

View File

@ -111,6 +111,9 @@
<if test="content.disableStatus != null">
and mm.disable_status = #{content.disableStatus}
</if>
<if test="content.materialCode != null and content.materialCode != ''">
and mm.material_code = #{content.materialCode}
</if>
order by
mm.crtime desc, mm.material_code desc
</select>