| | |
| | | <id property="id" column="id" jdbcType="BIGINT"/> |
| | | <result property="poleCode" column="pole_code" jdbcType="BIGINT"/> |
| | | <result property="poleName" column="pole_name" jdbcType="VARCHAR"/> |
| | | <result property="deviceType" column="device_type" jdbcType="INTEGER"/> |
| | | <result property="userId" column="user_id" jdbcType="BIGINT"/> |
| | | <result property="clientId" column="client_id" jdbcType="BIGINT"/> |
| | | <result property="province" column="province" jdbcType="VARCHAR"/> |
| | | <result property="city" column="city" jdbcType="VARCHAR"/> |
| | |
| | | <sql id="Base_Column_List"> |
| | | id |
| | | ,pole_code,pole_name, |
| | | client_id,province,city, |
| | | region,address,lon, |
| | | lat,device_code, |
| | | binding_count,on_line_state, |
| | | device_type,user_id,client_id, |
| | | province,city,region, |
| | | address,lon,lat, |
| | | device_code,on_line_state,binding_count, |
| | | create_time,update_time |
| | | </sql> |
| | | <update id="updateDeviceCode" parameterType="java.lang.Long"> |
| | | UPDATE pole |
| | | SET device_code=null |
| | | WHERE id = #{id} |
| | | </update> |
| | | </mapper> |