public Product get(String string) {
return productMapper.selectByPrimaryKey(string);
}
@Override
public CustomResult delete(String string) {
<BUG>productMapper.deleteByPrimaryKey(string);

return CustomResult.ok();
}</BUG>
@Override

public Product get(String string) {
return productMapper.selectByPrimaryKey(string);
}
@Override
public CustomResult delete(String string) {
int i = productMapper.deleteByPrimaryKey(string);
if(i>=0){
return CustomResult.ok();
}else{
return null;
}
}
@Override
