xqzw123
xqzw123
mock同样遇到byId失败,但byIds成功。 `public interface Repository{ /** * 按id查找 * * @param id * @return */ AGGREGATE byId(ID id); /** * 按id查找集合 * * @param ids * @return */ List byIds(List ids);...
解决了,Mock方法写的不对导致。 正确写法如下 @MockInvoke(targetClass = TaskRepository.class,targetMethod = "byId") public AGGREGATE byId(Serializable id){ TaskDto taskDto = easyRandom.nextObject(TaskDto.class); return (AGGREGATE)taskDto; }
你好,stress配置界面即报错。其他功能正常 ***@***.*** 发件人: linyimin 发送时间: 2023-11-20 22:28 收件人: linyimin0812/mybatis-sql-viewer 抄送: xqzw123; Author 主题: Re: [linyimin0812/mybatis-sql-viewer] stress配置界面报错 (Issue #13) stress界面相关的配置可以发一下嘛?我看看能不能复现 — Reply to this email directly, view it on GitHub, or...