Cai Yinglong was a dramatist in the Yongzheng period of Qing Dynasty. His Ziyu Ji is a legendary work of "mending hatred" supplemented by Tang Xianzu's Zixiao Ji in Ming Dynasty. Living in the early and middle of the Qing Dynasty, Cai Yinglong was born in the Cai family of the imperial examination family in Deqing. His adherence to "loyalty, filial piety and righteousness" was internalized in his Chuanqi creation. His early Pipa Chongguang Ji is to make up for "loyalty and filial piety", and later Ziyu Ji is to make up for "righteousness". At the same time, because of his family disaster and long-term illness, it not only affected his aesthetic pursuit of the happy ending, but also affected his concern for the non main characters in his works. "Reference" is Cai Yinglong's way of "mending hatred" which is different from other writers. It reflects his attention to the character, plot logic and historical truth. This paper introduces Cai Yinglong and his thought of "mending hatred" from three aspects. The first chapter introduces Cai Yinglong's experience and the conditions of his thought formation. The second chapter is based on the text of Ziyu Ji, analyzing its content, structure, deletion and final effect. The third chapter explains the meaning of "mending hatred" and the way of "reference" from the external environment, the author and the relationship between works.