摘要: 上代码 结果 将对应的属性都提取出来了,第一个是全部message的值,第二个是order的 注意:从list集合中取出某个属性时,先要判断是否为null,如果为null会报空指针异常。 阅读全文
posted @ 2018-07-02 11:39 huanghaunghui 阅读(44095) 评论(0) 推荐(2) 编辑
摘要: int updateByPrimaryKeySelective(TbItem record); int updateByPrimaryKey(TbItem record); 上面的是逆转工程生成的Mapper接口 对应的xml为 <update id="updateByPrimaryKeySelec 阅读全文
posted @ 2018-07-02 09:50 huanghaunghui 阅读(2039) 评论(0) 推荐(0) 编辑