条码打印开发,角色微服务提供

yun-zuoyi
Silliter 6 years ago
parent 148d808129
commit 738db8d837

@ -2110,4 +2110,46 @@ public class WmsEnumUtil {
return tmp;
}
}
/**
*
*/
@JsonFormat(shape = JsonFormat.Shape.OBJECT)
public enum PRINT_TEMPLATE {
SN_PRINT_TEMPLATE(10, "SN_PRINT_TEMPLATE", "条码打印模板"),
ORDER_PRINT_TEMPLATE(20, "ORDER_PRINT_TEMPLATE", "订单打印模板"),
RC_BACK_PRINT_TEMPLATE(30, "RC_BACK_PRINT_TEMPLATE", "收货回执打印模板");
private int value;
private String code;
private String description;
PRINT_TEMPLATE(int value, String code, String description){
this.value = value;
this.description = description;
this.code = code;
}
public int getValue () {
return value;
}
public String getDescription () {
return description;
}
public String getCode() {
return code;
}
public static String valueOf (int val){
String tmp = null;
for (int i = 0; i < values().length; i++) {
if (values()[i].value == val) {
tmp = values()[i].getDescription();
}
}
return tmp;
}
}
}

@ -0,0 +1,20 @@
package cn.estsh.i3plus.pojo.model.platform;
import cn.estsh.i3plus.pojo.base.common.Pager;
import cn.estsh.i3plus.pojo.platform.bean.SysRole;
import lombok.Data;
/**
* @Description :
* @Reference :
* @Author : siliter
* @CreateDate : 2019-03-19 13:52
* @Modify:
**/
@Data
public class UserRolePagerModel {
private SysRole sysRole;
private Pager pager;
}

@ -1471,4 +1471,16 @@ public class WmsHqlPack {
getStringBuilderPack(wmsTransModule, result);
return result.toString();
}
/**
*
* @param wmsConfig
* @return
*/
public static String packHqlWmsConfig(WmsConfig wmsConfig) {
StringBuffer result = new StringBuffer();
HqlPack.getStringEqualPack(wmsConfig.getConfigCode(), "configCode", result);
getStringBuilderPack(wmsConfig, result);
return result.toString();
}
}

Loading…
Cancel
Save