java server

public Map checkJoinRecord(JoinRecord joinRecord) throws Exception {
        Map<String,String> map = new HashMap<>();
        map.put("openId",joinRecord.getOpenid());
        map.put("unionId",joinRecord.getUnionid());
        map.put("activityId",joinRecord.getActivityId());
        map.put("joinName",joinRecord.getJoinName());
        map.put("joinImage",joinRecord.getJoinImage());
        map.put("out_gitName","");//接收输出
        joinRecordMapper.checkJoinRecord(map);
        return map;
    }

java interface

void checkJoinRecord(Map<String,String> map);

mybatis

<select id="checkJoinRecord" parameterType="java.util.Map" statementType="CALLABLE" resultType="String">
    {
      CALL proc_check_join_record (#{activityId,mode=IN,jdbcType=VARCHAR},
                                     #{openId,mode=IN,jdbcType=VARCHAR},
                                     #{unionId,mode=IN,jdbcType=VARCHAR},
                                     #{joinName,mode=IN,jdbcType=VARCHAR},
                                     #{joinImage,mode=IN,jdbcType=VARCHAR},
                                     #{out_gitName,mode=OUT,jdbcType=VARCHAR})
      }
  </select>