|
@@ -526,7 +526,7 @@ public class ProductServiceImpl extends CommonBaseServiceImpl<ProductMapper, Pro
|
|
|
* @Author: chenwei
|
|
* @Author: chenwei
|
|
|
* @Date: 2018/10/26
|
|
* @Date: 2018/10/26
|
|
|
*/
|
|
*/
|
|
|
- private String pushMaxnubmer(String code, Long id) {
|
|
|
|
|
|
|
+ private synchronized String pushMaxnubmer(String code, Long id) {
|
|
|
if (null == code) {
|
|
if (null == code) {
|
|
|
throw new BizException(BizExceptionCode.NULL_CODE);
|
|
throw new BizException(BizExceptionCode.NULL_CODE);
|
|
|
}
|
|
}
|