During the Hongwu era of the Ming Dynasty, Chen Ximei (played by Yumiko Cheng), daughter of the agricultural official Chen Zhong of Liangcai County, inherits her late father's will. From a young age, she has a heart for fighting the strong and helping the weak, putting righteousness first, and becomes a beloved female farm protector in Liangcai County. Xie Cangtian (played by Ha Yu), owner of the Dali Rice Shop, names his son Xie Huangshang (played by Steven Ma) to express gratitude for the Nine-Dragon White Jade Bowl bestowed by the emperor. Xie Huangshang is talented and romantic, confident in his supreme intelligence, and determined to become a good official who pleads for the people of Liangcai County. Although Xie Cangtian is profit-driven, he spares no expense to buy an official post to fulfill his son's wish, making Xie Huangshang an agricultural official. He also hires the secretary Dai Congwen (played by Lai Yiu-Cheung), who has sworn never to speak, and several vicious bailiffs for him. Dai Congwen is highly talented and predicts events like a god. With his help, Xie Huangshang repeatedly solves bizarre cases. The two appreciate each other and cooperate with great chemistry, growing even closer. Afterward, Xie Huangshang accepts Dai Congwen's suggestion to clear up the misunderstanding with Chen Ximei and hires her as a female farm protector.