Department save and check unique code success