wang-hao-jie
2021-12-09 fdeaff15619f5f2e851f74f7b5e2b203b157856d
xboot-modules/xboot-your/src/main/java/cn/exrick/xboot/your/mapper/AddOilMapper.java
@@ -24,4 +24,8 @@
    @Select("SELECT a.*,b.car_no as temp FROM t_add_oil a LEFT JOIN t_car b ON a.car_id=b.id ${ew.customSqlSegment} ")
    @Results({@Result(column="temp", property="carNo", jdbcType = JdbcType.VARCHAR)})
    IPage<AddOil> page2(Page initMpPage, @Param(Constants.WRAPPER) QueryWrapper<AddOil> wrapper);
    @Select("SELECT a.*,b.car_no as temp FROM t_add_oil a LEFT JOIN t_car b ON a.car_id=b.id ${ew.customSqlSegment} ")
    @Results({@Result(column="temp", property="carNo", jdbcType = JdbcType.VARCHAR)})
    List<AddOil> getAddOil(@Param(Constants.WRAPPER) QueryWrapper<AddOil> wrapper);
}