jimmy 7 years ago
commit 7b8a6aafaf

@ -20,6 +20,7 @@ public class CommonEnumUtil {
CORE(2, "i3core", "i3业务平台"), CORE(2, "i3core", "i3业务平台"),
WMS(3, "i3wms", "仓库管理软件"), WMS(3, "i3wms", "仓库管理软件"),
MES(4, "i3mes", "生产管理软件"), MES(4, "i3mes", "生产管理软件"),
CONSOLE(95,"impp-console","服务监控台"),
GATEWAY(96,"impp-gateway","服务网关"), GATEWAY(96,"impp-gateway","服务网关"),
CLOUD(97,"i3cloud","微服务"), CLOUD(97,"i3cloud","微服务"),
SURFACE(98,"i3surface","对外服务"), SURFACE(98,"i3surface","对外服务"),

@ -1514,17 +1514,23 @@ public class WmsEnumUtil {
@JsonFormat(shape = JsonFormat.Shape.OBJECT) @JsonFormat(shape = JsonFormat.Shape.OBJECT)
public enum RC_RESPONSE_TIPS { public enum RC_RESPONSE_TIPS {
OK(true, "正确"), OK(1, true, "正确"),
NG(false, "失败"); NG(2, false, "失败");
private int value;
private boolean codeStatus; private boolean codeStatus;
private String description; private String description;
RC_RESPONSE_TIPS(boolean codeStatus, String description) { RC_RESPONSE_TIPS(int value, boolean codeStatus, String description) {
this.value = value;
this.codeStatus = codeStatus; this.codeStatus = codeStatus;
this.description = description; this.description = description;
} }
public int getValue() {
return value;
}
public boolean getCodeStatus() { public boolean getCodeStatus() {
return codeStatus; return codeStatus;
} }

@ -57,6 +57,14 @@ public class SysMenu extends BaseBean {
@ApiParam(value ="资源class path" , access ="资源class path") @ApiParam(value ="资源class path" , access ="资源class path")
private String menuClassPath; private String menuClassPath;
@Column(name="MENU_GRADE")
@ApiParam(value ="资源等级", example = "1")
private String menuGrade;
@Column(name="MENU_SORT")
@ApiParam(value ="资源排序", example = "1")
private String menuSort;
@Column(name="MENU_URL") @Column(name="MENU_URL")
@ApiParam(value ="资源 url" , access ="资源 url") @ApiParam(value ="资源 url" , access ="资源 url")
private String menuUrl; private String menuUrl;

@ -130,12 +130,6 @@ public class CoreHqlPack {
HqlPack.getStringLikerPack(department.getName(),"name",result); HqlPack.getStringLikerPack(department.getName(),"name",result);
HqlPack.getStringLikerPack(department.getDepartmentCode(),"departmentCode",result); HqlPack.getStringLikerPack(department.getDepartmentCode(),"departmentCode",result);
// 默认排序
if(department.getOrderByParam().isEmpty()){
department.setOrderByParam("departmentSort");
department.setAscOrDesc(CommonEnumUtil.ASC_OR_DESC.DESC.getValue());
}
return result.toString(); return result.toString();
} }

@ -44,9 +44,9 @@ public class WmsActionResponseBean {
public List<Map<String, Object>> details; public List<Map<String, Object>> details;
@ApiParam(value = "结果代码") @ApiParam(value = "结果代码")
public boolean codeStatus; public Boolean codeStatus;
public WmsActionResponseBean(boolean codeStatus, String message) { public WmsActionResponseBean(Boolean codeStatus, String message) {
this.codeStatus = codeStatus; this.codeStatus = codeStatus;
this.message = message; this.message = message;
} }

@ -1068,6 +1068,9 @@ public class WmsHqlPack {
//查询参数封装 //查询参数封装
HqlPack.getStringLikerPack(wmsActionModule.getAmName(), "amName", result); HqlPack.getStringLikerPack(wmsActionModule.getAmName(), "amName", result);
HqlPack.getNumEqualPack(wmsActionModule.getId(), "id", result);
HqlPack.getNumEqualPack(wmsActionModule.getAmType(), "amType", result);
getStringBuilderPack(wmsActionModule, result); getStringBuilderPack(wmsActionModule, result);
return result.toString(); return result.toString();

Loading…
Cancel
Save