Programmers to develop stealth function needs

Background code

  1. Important basic physical data can not be deleted, delete logic.
  2. The relationship between the structure of the tree, the lower branches when there is data, this level can not be deleted.
  3. To-many relationship, and there is more dependent on one, then delete the moment a need to verify whether Relevance.
  4. Many relationships, many relationships require a third table, a long time when a deletion, you can create a foreign key casecade delete cascading deletes redundant data in a relational table by table.
  5. Delete sql statement where the conditions must be clear (best just to delete by id).

Front-end interface

  1. Input data check box has not done

Guess you like

Origin www.cnblogs.com/aeolian/p/10791718.html