@Test public void testInsertDisease() throws Exception { }
@Override public CommonResult insertDisease(Disease disease) { int count = diseaseMapper.insert(disease); if (count == 0) { return CommonResult.fail(); } return CommonResult.success(count); }
DiseaseManagementImpl implements DiseaseManagementService { @Override public CommonResult insertDisease(Disease disease) { int count = diseaseMapper.insert(disease); if (count == 0) { return CommonResult.fail(); } return CommonResult.success(count); } }
DiseaseManagementImpl implements DiseaseManagementService { @Override public CommonResult insertDisease(Disease disease) { int count = diseaseMapper.insert(disease); if (count == 0) { return CommonResult.fail(); } return CommonResult.success(count); }  }
DiseaseManagementImpl implements DiseaseManagementService { @Override public CommonResult insertDisease(Disease disease) { int count = diseaseMapper.insert(disease); if (count == 0) { return CommonResult.fail(); } return CommonResult.success(count); }  @Override CommonResult getDiseaseById(Short id); @Override CommonResult insertDisease(Disease disease); @Override CommonResult updateDiseaseById(Disease disease); @Override CommonResult deleteDiseaseById(Short id); @Override CommonResult listAllDiseases(); @Override CommonResult listDiseaseByType(Integer type); }
DiseaseManagementImpl implements DiseaseManagementService { @Override public CommonResult insertDisease(Disease disease) { int count = diseaseMapper.insert(disease); if (count == 0) { return CommonResult.fail(); } return CommonResult.success(count); }  @Override CommonResult getDiseaseById(Short id); @Override CommonResult insertDisease(Disease disease); @Override CommonResult updateDiseaseById(Disease disease); @Override CommonResult deleteDiseaseById(Short id); @Override CommonResult listAllDiseases(); @Override CommonResult listDiseaseByType(Integer type);  }