| | |
| | | <result property="clientId" column="client_id" jdbcType="BIGINT"/> |
| | | <result property="macCode" column="mac_code" jdbcType="VARCHAR"/> |
| | | <result property="address" column="address" jdbcType="VARCHAR"/> |
| | | <result property="group" column="group" jdbcType="VARCHAR"/> |
| | | <result property="state" column="state" jdbcType="VARCHAR"/> |
| | | <result property="lampGroup" column="lamp_group" jdbcType="VARCHAR"/> |
| | | <result property="state" column="state" jdbcType="INTEGER"/> |
| | | <result property="belongs" column="belongs" jdbcType="INTEGER"/> |
| | | <result property="createTime" column="create_time" jdbcType="TIMESTAMP"/> |
| | | </resultMap> |
| | | <update id="serGroup"> |
| | | UPDATE lamp_post |
| | | SET `group` = #{group} |
| | | WHERE |
| | | id =#{lampId} |
| | | </update> |
| | | |
| | | <select id="listLamp" resultMap="BaseResultMap"> |
| | | select * from lamp_post |
| | | </select> |
| | | |
| | | |
| | | |
| | | </mapper> |