class DiseaseManagementImpl implements DiseaseManagementService {

    @Override
    public CommonResult insertDisease(Disease disease) {
        int count = diseaseMapper.insert(disease);
        if (count == 0) {
            return CommonResult.fail();
        }
        return CommonResult.success(count);
    }

}