Mybatis参数,Mybatis单个参数多个参数查询,怎么传参
- 判断list是否为空
```
<if test="list != null and list.size() > 0">
...
</if>
```
- 单个参数查询
```
boolean agree(Integer id);
<update id="agree" parameterType="java.lang.Integer">
update changeset set update_time = now(), flow_node = flow_node + 1 where id = #{id}
</update>
boolean agree(@Param(...