lock4j
lock4j copied to clipboard
如何锁list
public User customMethod(List(string) orderList) 如果入参是 一个订单号列表,如 a,b,c三单 应该怎么上锁, 只要包含b订单号 也命中锁