| | |
| | | <!-- 通用查询映射结果 --> |
| | | <resultMap id="BaseResultMap" type="com.ycl.platform.domain.vo.PlatformVO"> |
| | | <result column="platform_name" property="platformName" /> |
| | | <result column="platform_contact" property="platformContact" /> |
| | | <result column="platform_contact_phone" property="platformContactPhone" /> |
| | | <result column="status" property="status" /> |
| | | <result column="remark" property="remark" /> |
| | | <result column="area" property="area" /> |
| | | <result column="create_time" property="createTime" /> |
| | | <result column="update_time" property="updateTime" /> |
| | | </resultMap> |
| | |
| | | <select id="getById" resultMap="BaseResultMap"> |
| | | SELECT |
| | | TP.platform_name, |
| | | TP.platform_contact, |
| | | TP.platform_contact_phone, |
| | | TP.platform_ip, |
| | | TP.status, |
| | | TP.remark, |
| | | TP.area, |
| | | TP.create_time, |
| | | TP.update_time, |
| | | TP.id |
| | |
| | | <select id="getPage" resultMap="BaseResultMap"> |
| | | SELECT |
| | | TP.platform_name, |
| | | TP.platform_contact, |
| | | TP.platform_contact_phone, |
| | | TP.platform_ip, |
| | | TP.status, |
| | | TP.area, |
| | | TP.remark, |
| | | TP.create_time, |
| | | TP.update_time, |