class NonMedicineManagementImpl implements NonMedicineManagementService {

    @Override
    public CommonResult insertNonMedicine(NonMedicine disease) {
        int count = nonMedicineMapper.insert(disease);
        if (count == 0) {
            return CommonResult.fail();
        }
        return CommonResult.success(count);
    }

}