@Test public void testInsertMedicine() throws Exception { }
@Override public CommonResult insertMedicine(Medicine medicine) { int count = medicineMapper.insert(medicine); if (count == 0) { return CommonResult.fail(); } return CommonResult.success(count); }
MedicineManagementImpl implements MedicineManagementService { @Override public CommonResult insertMedicine(Medicine medicine) { int count = medicineMapper.insert(medicine); if (count == 0) { return CommonResult.fail(); } return CommonResult.success(count); } }
MedicineManagementImpl implements MedicineManagementService { @Override public CommonResult insertMedicine(Medicine medicine) { int count = medicineMapper.insert(medicine); if (count == 0) { return CommonResult.fail(); } return CommonResult.success(count); }  }
MedicineManagementImpl implements MedicineManagementService { @Override public CommonResult insertMedicine(Medicine medicine) { int count = medicineMapper.insert(medicine); if (count == 0) { return CommonResult.fail(); } return CommonResult.success(count); }  @Override CommonResult getMedicineById(Short id); @Override CommonResult insertMedicine(Medicine medicine); @Override CommonResult updateMedicineById(Medicine medicine); @Override CommonResult deleteMedicineById(Short id); @Override CommonResult listAllMedicines(); @Override CommonResult listMedicineByType(Integer type); }
MedicineManagementImpl implements MedicineManagementService { @Override public CommonResult insertMedicine(Medicine medicine) { int count = medicineMapper.insert(medicine); if (count == 0) { return CommonResult.fail(); } return CommonResult.success(count); }  @Override CommonResult getMedicineById(Short id); @Override CommonResult insertMedicine(Medicine medicine); @Override CommonResult updateMedicineById(Medicine medicine); @Override CommonResult deleteMedicineById(Short id); @Override CommonResult listAllMedicines(); @Override CommonResult listMedicineByType(Integer type);  }