@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(); }