fix:制造商相关问题调整
parent
c10a81f271
commit
40f40baf5e
|
|
@ -84,7 +84,7 @@ public class VendorInfoServiceImpl implements IVendorInfoService {
|
|||
vendorInfo.setCreateBy(ShiroUtils.getUserId().toString());
|
||||
return vendorInfoMapper.insertVendorInfo(vendorInfo);
|
||||
} catch (Exception e) {
|
||||
throw new ServiceException("保存超时,请重试");
|
||||
throw new ServiceException(e.getMessage());
|
||||
} finally {
|
||||
lock.unlock();
|
||||
}
|
||||
|
|
@ -119,7 +119,7 @@ public class VendorInfoServiceImpl implements IVendorInfoService {
|
|||
vendorInfo.setUpdateBy(ShiroUtils.getUserId().toString());
|
||||
return vendorInfoMapper.updateVendorInfo(vendorInfo);
|
||||
} catch (Exception e) {
|
||||
throw new ServiceException("保存超时,请重试");
|
||||
throw new ServiceException(e.getMessage());
|
||||
} finally {
|
||||
lock.unlock();
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue