1.2
luo
2024-01-02 59f63a8ef0078b06f010d25abfef2772c944a56f
1
2
3
4
5
6
7
8
9
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="com.stylefeng.guns.modular.system.dao.HouseTypeMapper">
    <select id="list" resultType="com.stylefeng.guns.modular.system.model.HouseType">
        SELECT hy.id,hy.insert_time as insertTime,hy.`name`,su.`name` as createName
        from t_house_type hy
                 LEFT JOIN sys_user su on hy.create_by = su.id
    </select>
</mapper>