标签:pre private ring package ati public cal tom ext
package com.yundaex.wms.config; public class IfmContextHolder { private static final ThreadLocal<String> contextHolder = new ThreadLocal<String>(); public static void setCustomerType(String customerType) { contextHolder.set(customerType); } public static String getCustomerType() { return contextHolder.get(); } public static void clearCustomerType() { contextHolder.remove(); } }
标签:pre private ring package ati public cal tom ext
原文地址:http://www.cnblogs.com/tonggc1668/p/8010611.html