Compounds represented by Formula (I) or Formula (II) against cell releasing TNFα, their pharmaceutically acceptable salts or hydrates and preparation methods and uses thereof, in which A and B represent CH2, CO, SO, or SO2 D represents S, NH, or NC1-6 alkyl R1 represents H, or one or two same or different radical(s) selected from the group consisting of F, Cl, Br, C1-4 alkyl,OH,OC1-4 alkyl,NO2,NHC(O)C1-4 alkyl,NH2,NH(C1-4 alkyl), or N(C1-4 alkyl)2.