HashMap map = new HashMap();
map.put("a", 9);
map.put("b", "");

List<Map> mapTestOut = userService.proTestOut(map);
List<Map> mapTestIn = userService.proTestIn(map);


mybatis:
   <!-- 存储并输出 -->
    <select >
        {call test_crud(#{a,jdbcType=INTEGER,mode=IN},
                       #{b,mode=OUT,jdbcType=INTEGER} )}
    </select>
    <!-- 存储没有输出函数 -->
    <select >
        {call test_crud1(#{a,jdbcType=INTEGER,mode=IN})}
    </select>

 

相关文章:

  • 2022-01-01
  • 2022-12-23
  • 2022-03-03
  • 2022-12-23
  • 2021-12-23
  • 2021-12-30
  • 2021-10-22
  • 2022-12-23
猜你喜欢
  • 2021-07-21
  • 2021-07-06
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-11-21
相关资源
相似解决方案