Commit 774463e3 authored by yanzg's avatar yanzg

修复等待时间

parent 3668771e
......@@ -5,7 +5,6 @@ import com.yanzuoguang.util.base.ObjectHelper;
import com.yanzuoguang.util.exception.ExceptionHelper;
import java.io.UnsupportedEncodingException;
import java.nio.charset.Charset;
import java.nio.charset.StandardCharsets;
import java.security.MessageDigest;
import java.security.NoSuchAlgorithmException;
......@@ -1012,6 +1011,9 @@ public class StringHelper {
* @return 将ID列表进行组合生成ID
*/
public static String getIdShort(String from, Object... args) {
if (from == null) {
return StringHelper.EMPTY;
}
String id = getId(args);
return from.replaceFirst(id + ":", "");
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment