@Override
  public int update(FunctionInfoBO t) {
    if (t == null || t.getFunctionId() == null || "".equals(t.getFunctionId())) return 0;

    FunctionInfo info = convertToEntityFrom.convertTofuncFunctionInfo(t);
    int result = functionInfoMapper.update(info);
    return result;
  }
  @Override
  public int insert(FunctionInfoBO t) {
    if (t == null) return 0;

    FunctionInfo info = convertToEntityFrom.convertTofuncFunctionInfo(t);
    int result = functionInfoMapper.insert(info);
    return result;
  }
  @Override
  public Long saveFunctionInfo(FunctionInfoBO t) {
    if (t == null) return 0L;

    FunctionInfo info = convertToEntityFrom.convertTofuncFunctionInfo(t);
    functionInfoMapper.insert(info);
    return info.getFunctionId();
  }