bug 5409
This commit is contained in:
parent
8f171ed0f2
commit
f4c97c5672
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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>
|
||||
|
|
|
|||
Loading…
Reference in New Issue