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