In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-19 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/03 Report--
There is a BUG in the user table of Aopeng ERP system. Users who are in normal use can delete it directly after clicking on it, and I happen to have stepped on it and suffocated to death. This correction is specially made.
Code:
/ * * Object: Trigger [dbo]. [otri_user_del] Script Date: 03Universe 11:31:08 * * /
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
/-
Name: otri_user_del
Function description: it is not allowed to delete an account in the "available" status. To delete an account, you must first undisable it.
Access method: public
Return value: NumberA
Designer: Lu Jinyuan
Date of creation: 03Compact 06Universe 2019
Version:: 1.0
Description of the change:
-- /
ALTER TRIGGER [dbo]. [otri_usergroup_del] ON [dbo]. [osys_usergroup]
FOR DELETE
AS
Declare @ error int
Set @ error= (select act_sw from deleted)
IF @ error! = 0
Begin
Raiserror ('to ensure security, it is not allowed to delete accounts in the 'available' status', 16p1)
Rollback
End
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.