VparkingPointMapper.xml 22 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595
  1. <?xml version="1.0" encoding="UTF-8" ?>
  2. <!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd" >
  3. <mapper namespace="com.js.kbt.mapper.VparkingPointMapper" >
  4. <resultMap id="BaseResultMap" type="com.js.kbt.model.VparkingPoint" >
  5. <!--
  6. WARNING - @mbggenerated
  7. This element is automatically generated by MyBatis Generator, do not modify.
  8. This element was generated on Wed Nov 15 15:45:41 CST 2017.
  9. -->
  10. <result column="id" property="id" jdbcType="INTEGER" />
  11. <result column="lat" property="lat" jdbcType="DOUBLE" />
  12. <result column="lng" property="lng" jdbcType="DOUBLE" />
  13. <result column="geo" property="geo" jdbcType="VARCHAR" />
  14. <result column="distance" property="distance" jdbcType="DOUBLE" />
  15. <result column="identity" property="identity" jdbcType="VARCHAR" />
  16. <result column="charge" property="charge" jdbcType="INTEGER" />
  17. <result column="charge_rule" property="chargeRule" jdbcType="INTEGER" />
  18. <result column="available" property="available" jdbcType="BIT" />
  19. <result column="last_occupier_id" property="lastOccupierId" jdbcType="INTEGER" />
  20. <result column="share_user_id" property="shareUserId" jdbcType="INTEGER" />
  21. <result column="share_mobile" property="shareMobile" jdbcType="VARCHAR" />
  22. <result column="book_time" property="bookTime" jdbcType="TIMESTAMP" />
  23. <result column="address" property="address" jdbcType="VARCHAR" />
  24. <result column="preferential" property="preferential" jdbcType="VARCHAR" />
  25. <result column="memo" property="memo" jdbcType="VARCHAR" />
  26. <result column="start_date" property="startDate" jdbcType="VARCHAR" />
  27. <result column="end_date" property="endDate" jdbcType="VARCHAR" />
  28. <result column="start_time" property="startTime" jdbcType="VARCHAR" />
  29. <result column="end_time" property="endTime" jdbcType="VARCHAR" />
  30. <result column="sms" property="sms" jdbcType="VARCHAR" />
  31. <result column="code" property="code" jdbcType="INTEGER" />
  32. <result column="charge_type" property="chargeType" jdbcType="INTEGER" />
  33. <result column="user_id" property="userId" jdbcType="INTEGER" />
  34. <result column="community_id" property="communityId" jdbcType="INTEGER" />
  35. <result column="share" property="share" jdbcType="INTEGER" />
  36. <result column="setup" property="setup" jdbcType="INTEGER" />
  37. <result column="status" property="status" jdbcType="INTEGER" />
  38. <result column="free_time" property="freeTime" jdbcType="INTEGER" />
  39. <result column="type" property="type" jdbcType="INTEGER" />
  40. <result column="user_income" property="userIncome" jdbcType="INTEGER" />
  41. <result column="com_income" property="comIncome" jdbcType="INTEGER" />
  42. <result column="platfrom_income" property="platfromIncome" jdbcType="INTEGER" />
  43. <result column="point_state" property="pointState" jdbcType="INTEGER" />
  44. <result column="battery" property="battery" jdbcType="REAL" />
  45. <result column="com_name" property="comName" jdbcType="VARCHAR" />
  46. </resultMap>
  47. <sql id="Example_Where_Clause" >
  48. <!--
  49. WARNING - @mbggenerated
  50. This element is automatically generated by MyBatis Generator, do not modify.
  51. This element was generated on Wed Nov 15 15:45:41 CST 2017.
  52. -->
  53. <where >
  54. <foreach collection="oredCriteria" item="criteria" separator="or" >
  55. <if test="criteria.valid" >
  56. <trim prefix="(" suffix=")" prefixOverrides="and" >
  57. <foreach collection="criteria.criteria" item="criterion" >
  58. <choose >
  59. <when test="criterion.noValue" >
  60. and ${criterion.condition}
  61. </when>
  62. <when test="criterion.singleValue" >
  63. and ${criterion.condition} #{criterion.value}
  64. </when>
  65. <when test="criterion.betweenValue" >
  66. and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
  67. </when>
  68. <when test="criterion.listValue" >
  69. and ${criterion.condition}
  70. <foreach collection="criterion.value" item="listItem" open="(" close=")" separator="," >
  71. #{listItem}
  72. </foreach>
  73. </when>
  74. </choose>
  75. </foreach>
  76. </trim>
  77. </if>
  78. </foreach>
  79. </where>
  80. </sql>
  81. <sql id="Update_By_Example_Where_Clause" >
  82. <!--
  83. WARNING - @mbggenerated
  84. This element is automatically generated by MyBatis Generator, do not modify.
  85. This element was generated on Wed Nov 15 15:45:41 CST 2017.
  86. -->
  87. <where >
  88. <foreach collection="example.oredCriteria" item="criteria" separator="or" >
  89. <if test="criteria.valid" >
  90. <trim prefix="(" suffix=")" prefixOverrides="and" >
  91. <foreach collection="criteria.criteria" item="criterion" >
  92. <choose >
  93. <when test="criterion.noValue" >
  94. and ${criterion.condition}
  95. </when>
  96. <when test="criterion.singleValue" >
  97. and ${criterion.condition} #{criterion.value}
  98. </when>
  99. <when test="criterion.betweenValue" >
  100. and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
  101. </when>
  102. <when test="criterion.listValue" >
  103. and ${criterion.condition}
  104. <foreach collection="criterion.value" item="listItem" open="(" close=")" separator="," >
  105. #{listItem}
  106. </foreach>
  107. </when>
  108. </choose>
  109. </foreach>
  110. </trim>
  111. </if>
  112. </foreach>
  113. </where>
  114. </sql>
  115. <sql id="Base_Column_List" >
  116. <!--
  117. WARNING - @mbggenerated
  118. This element is automatically generated by MyBatis Generator, do not modify.
  119. This element was generated on Wed Nov 15 15:45:41 CST 2017.
  120. -->
  121. id, lat, lng, geo, distance, identity, charge, charge_rule, available, last_occupier_id,
  122. share_user_id, share_mobile, book_time, address, preferential, memo, start_date,
  123. end_date, start_time, end_time, sms, code, charge_type, user_id, community_id, share,
  124. setup, status, free_time, type, user_income, com_income, platfrom_income, point_state,
  125. battery, com_name
  126. </sql>
  127. <select id="selectByExample" resultMap="BaseResultMap" parameterType="com.js.kbt.model.VparkingPointExample" >
  128. <!--
  129. WARNING - @mbggenerated
  130. This element is automatically generated by MyBatis Generator, do not modify.
  131. This element was generated on Wed Nov 15 15:45:41 CST 2017.
  132. -->
  133. select
  134. <if test="distinct" >
  135. distinct
  136. </if>
  137. <include refid="Base_Column_List" />
  138. from vparking_point
  139. <if test="_parameter != null" >
  140. <include refid="Example_Where_Clause" />
  141. </if>
  142. <if test="orderByClause != null" >
  143. order by ${orderByClause}
  144. </if>
  145. </select>
  146. <delete id="deleteByExample" parameterType="com.js.kbt.model.VparkingPointExample" >
  147. <!--
  148. WARNING - @mbggenerated
  149. This element is automatically generated by MyBatis Generator, do not modify.
  150. This element was generated on Wed Nov 15 15:45:41 CST 2017.
  151. -->
  152. delete from vparking_point
  153. <if test="_parameter != null" >
  154. <include refid="Example_Where_Clause" />
  155. </if>
  156. </delete>
  157. <insert id="insert" parameterType="com.js.kbt.model.VparkingPoint" >
  158. <!--
  159. WARNING - @mbggenerated
  160. This element is automatically generated by MyBatis Generator, do not modify.
  161. This element was generated on Wed Nov 15 15:45:41 CST 2017.
  162. -->
  163. insert into vparking_point (id, lat, lng, geo,
  164. distance, identity, charge,
  165. charge_rule, available, last_occupier_id,
  166. share_user_id, share_mobile, book_time,
  167. address, preferential, memo,
  168. start_date, end_date, start_time,
  169. end_time, sms, code,
  170. charge_type, user_id, community_id,
  171. share, setup, status,
  172. free_time, type, user_income,
  173. com_income, platfrom_income, point_state,
  174. battery, com_name)
  175. values (#{id,jdbcType=INTEGER}, #{lat,jdbcType=DOUBLE}, #{lng,jdbcType=DOUBLE}, #{geo,jdbcType=VARCHAR},
  176. #{distance,jdbcType=DOUBLE}, #{identity,jdbcType=VARCHAR}, #{charge,jdbcType=INTEGER},
  177. #{chargeRule,jdbcType=INTEGER}, #{available,jdbcType=BIT}, #{lastOccupierId,jdbcType=INTEGER},
  178. #{shareUserId,jdbcType=INTEGER}, #{shareMobile,jdbcType=VARCHAR}, #{bookTime,jdbcType=TIMESTAMP},
  179. #{address,jdbcType=VARCHAR}, #{preferential,jdbcType=VARCHAR}, #{memo,jdbcType=VARCHAR},
  180. #{startDate,jdbcType=VARCHAR}, #{endDate,jdbcType=VARCHAR}, #{startTime,jdbcType=VARCHAR},
  181. #{endTime,jdbcType=VARCHAR}, #{sms,jdbcType=VARCHAR}, #{code,jdbcType=INTEGER},
  182. #{chargeType,jdbcType=INTEGER}, #{userId,jdbcType=INTEGER}, #{communityId,jdbcType=INTEGER},
  183. #{share,jdbcType=INTEGER}, #{setup,jdbcType=INTEGER}, #{status,jdbcType=INTEGER},
  184. #{freeTime,jdbcType=INTEGER}, #{type,jdbcType=INTEGER}, #{userIncome,jdbcType=INTEGER},
  185. #{comIncome,jdbcType=INTEGER}, #{platfromIncome,jdbcType=INTEGER}, #{pointState,jdbcType=INTEGER},
  186. #{battery,jdbcType=REAL}, #{comName,jdbcType=VARCHAR})
  187. </insert>
  188. <insert id="insertSelective" parameterType="com.js.kbt.model.VparkingPoint" >
  189. <!--
  190. WARNING - @mbggenerated
  191. This element is automatically generated by MyBatis Generator, do not modify.
  192. This element was generated on Wed Nov 15 15:45:41 CST 2017.
  193. -->
  194. insert into vparking_point
  195. <trim prefix="(" suffix=")" suffixOverrides="," >
  196. <if test="id != null" >
  197. id,
  198. </if>
  199. <if test="lat != null" >
  200. lat,
  201. </if>
  202. <if test="lng != null" >
  203. lng,
  204. </if>
  205. <if test="geo != null" >
  206. geo,
  207. </if>
  208. <if test="distance != null" >
  209. distance,
  210. </if>
  211. <if test="identity != null" >
  212. identity,
  213. </if>
  214. <if test="charge != null" >
  215. charge,
  216. </if>
  217. <if test="chargeRule != null" >
  218. charge_rule,
  219. </if>
  220. <if test="available != null" >
  221. available,
  222. </if>
  223. <if test="lastOccupierId != null" >
  224. last_occupier_id,
  225. </if>
  226. <if test="shareUserId != null" >
  227. share_user_id,
  228. </if>
  229. <if test="shareMobile != null" >
  230. share_mobile,
  231. </if>
  232. <if test="bookTime != null" >
  233. book_time,
  234. </if>
  235. <if test="address != null" >
  236. address,
  237. </if>
  238. <if test="preferential != null" >
  239. preferential,
  240. </if>
  241. <if test="memo != null" >
  242. memo,
  243. </if>
  244. <if test="startDate != null" >
  245. start_date,
  246. </if>
  247. <if test="endDate != null" >
  248. end_date,
  249. </if>
  250. <if test="startTime != null" >
  251. start_time,
  252. </if>
  253. <if test="endTime != null" >
  254. end_time,
  255. </if>
  256. <if test="sms != null" >
  257. sms,
  258. </if>
  259. <if test="code != null" >
  260. code,
  261. </if>
  262. <if test="chargeType != null" >
  263. charge_type,
  264. </if>
  265. <if test="userId != null" >
  266. user_id,
  267. </if>
  268. <if test="communityId != null" >
  269. community_id,
  270. </if>
  271. <if test="share != null" >
  272. share,
  273. </if>
  274. <if test="setup != null" >
  275. setup,
  276. </if>
  277. <if test="status != null" >
  278. status,
  279. </if>
  280. <if test="freeTime != null" >
  281. free_time,
  282. </if>
  283. <if test="type != null" >
  284. type,
  285. </if>
  286. <if test="userIncome != null" >
  287. user_income,
  288. </if>
  289. <if test="comIncome != null" >
  290. com_income,
  291. </if>
  292. <if test="platfromIncome != null" >
  293. platfrom_income,
  294. </if>
  295. <if test="pointState != null" >
  296. point_state,
  297. </if>
  298. <if test="battery != null" >
  299. battery,
  300. </if>
  301. <if test="comName != null" >
  302. com_name,
  303. </if>
  304. </trim>
  305. <trim prefix="values (" suffix=")" suffixOverrides="," >
  306. <if test="id != null" >
  307. #{id,jdbcType=INTEGER},
  308. </if>
  309. <if test="lat != null" >
  310. #{lat,jdbcType=DOUBLE},
  311. </if>
  312. <if test="lng != null" >
  313. #{lng,jdbcType=DOUBLE},
  314. </if>
  315. <if test="geo != null" >
  316. #{geo,jdbcType=VARCHAR},
  317. </if>
  318. <if test="distance != null" >
  319. #{distance,jdbcType=DOUBLE},
  320. </if>
  321. <if test="identity != null" >
  322. #{identity,jdbcType=VARCHAR},
  323. </if>
  324. <if test="charge != null" >
  325. #{charge,jdbcType=INTEGER},
  326. </if>
  327. <if test="chargeRule != null" >
  328. #{chargeRule,jdbcType=INTEGER},
  329. </if>
  330. <if test="available != null" >
  331. #{available,jdbcType=BIT},
  332. </if>
  333. <if test="lastOccupierId != null" >
  334. #{lastOccupierId,jdbcType=INTEGER},
  335. </if>
  336. <if test="shareUserId != null" >
  337. #{shareUserId,jdbcType=INTEGER},
  338. </if>
  339. <if test="shareMobile != null" >
  340. #{shareMobile,jdbcType=VARCHAR},
  341. </if>
  342. <if test="bookTime != null" >
  343. #{bookTime,jdbcType=TIMESTAMP},
  344. </if>
  345. <if test="address != null" >
  346. #{address,jdbcType=VARCHAR},
  347. </if>
  348. <if test="preferential != null" >
  349. #{preferential,jdbcType=VARCHAR},
  350. </if>
  351. <if test="memo != null" >
  352. #{memo,jdbcType=VARCHAR},
  353. </if>
  354. <if test="startDate != null" >
  355. #{startDate,jdbcType=VARCHAR},
  356. </if>
  357. <if test="endDate != null" >
  358. #{endDate,jdbcType=VARCHAR},
  359. </if>
  360. <if test="startTime != null" >
  361. #{startTime,jdbcType=VARCHAR},
  362. </if>
  363. <if test="endTime != null" >
  364. #{endTime,jdbcType=VARCHAR},
  365. </if>
  366. <if test="sms != null" >
  367. #{sms,jdbcType=VARCHAR},
  368. </if>
  369. <if test="code != null" >
  370. #{code,jdbcType=INTEGER},
  371. </if>
  372. <if test="chargeType != null" >
  373. #{chargeType,jdbcType=INTEGER},
  374. </if>
  375. <if test="userId != null" >
  376. #{userId,jdbcType=INTEGER},
  377. </if>
  378. <if test="communityId != null" >
  379. #{communityId,jdbcType=INTEGER},
  380. </if>
  381. <if test="share != null" >
  382. #{share,jdbcType=INTEGER},
  383. </if>
  384. <if test="setup != null" >
  385. #{setup,jdbcType=INTEGER},
  386. </if>
  387. <if test="status != null" >
  388. #{status,jdbcType=INTEGER},
  389. </if>
  390. <if test="freeTime != null" >
  391. #{freeTime,jdbcType=INTEGER},
  392. </if>
  393. <if test="type != null" >
  394. #{type,jdbcType=INTEGER},
  395. </if>
  396. <if test="userIncome != null" >
  397. #{userIncome,jdbcType=INTEGER},
  398. </if>
  399. <if test="comIncome != null" >
  400. #{comIncome,jdbcType=INTEGER},
  401. </if>
  402. <if test="platfromIncome != null" >
  403. #{platfromIncome,jdbcType=INTEGER},
  404. </if>
  405. <if test="pointState != null" >
  406. #{pointState,jdbcType=INTEGER},
  407. </if>
  408. <if test="battery != null" >
  409. #{battery,jdbcType=REAL},
  410. </if>
  411. <if test="comName != null" >
  412. #{comName,jdbcType=VARCHAR},
  413. </if>
  414. </trim>
  415. </insert>
  416. <select id="countByExample" parameterType="com.js.kbt.model.VparkingPointExample" resultType="java.lang.Integer" >
  417. <!--
  418. WARNING - @mbggenerated
  419. This element is automatically generated by MyBatis Generator, do not modify.
  420. This element was generated on Wed Nov 15 15:45:41 CST 2017.
  421. -->
  422. select count(*) from vparking_point
  423. <if test="_parameter != null" >
  424. <include refid="Example_Where_Clause" />
  425. </if>
  426. </select>
  427. <update id="updateByExampleSelective" parameterType="map" >
  428. <!--
  429. WARNING - @mbggenerated
  430. This element is automatically generated by MyBatis Generator, do not modify.
  431. This element was generated on Wed Nov 15 15:45:41 CST 2017.
  432. -->
  433. update vparking_point
  434. <set >
  435. <if test="record.id != null" >
  436. id = #{record.id,jdbcType=INTEGER},
  437. </if>
  438. <if test="record.lat != null" >
  439. lat = #{record.lat,jdbcType=DOUBLE},
  440. </if>
  441. <if test="record.lng != null" >
  442. lng = #{record.lng,jdbcType=DOUBLE},
  443. </if>
  444. <if test="record.geo != null" >
  445. geo = #{record.geo,jdbcType=VARCHAR},
  446. </if>
  447. <if test="record.distance != null" >
  448. distance = #{record.distance,jdbcType=DOUBLE},
  449. </if>
  450. <if test="record.identity != null" >
  451. identity = #{record.identity,jdbcType=VARCHAR},
  452. </if>
  453. <if test="record.charge != null" >
  454. charge = #{record.charge,jdbcType=INTEGER},
  455. </if>
  456. <if test="record.chargeRule != null" >
  457. charge_rule = #{record.chargeRule,jdbcType=INTEGER},
  458. </if>
  459. <if test="record.available != null" >
  460. available = #{record.available,jdbcType=BIT},
  461. </if>
  462. <if test="record.lastOccupierId != null" >
  463. last_occupier_id = #{record.lastOccupierId,jdbcType=INTEGER},
  464. </if>
  465. <if test="record.shareUserId != null" >
  466. share_user_id = #{record.shareUserId,jdbcType=INTEGER},
  467. </if>
  468. <if test="record.shareMobile != null" >
  469. share_mobile = #{record.shareMobile,jdbcType=VARCHAR},
  470. </if>
  471. <if test="record.bookTime != null" >
  472. book_time = #{record.bookTime,jdbcType=TIMESTAMP},
  473. </if>
  474. <if test="record.address != null" >
  475. address = #{record.address,jdbcType=VARCHAR},
  476. </if>
  477. <if test="record.preferential != null" >
  478. preferential = #{record.preferential,jdbcType=VARCHAR},
  479. </if>
  480. <if test="record.memo != null" >
  481. memo = #{record.memo,jdbcType=VARCHAR},
  482. </if>
  483. <if test="record.startDate != null" >
  484. start_date = #{record.startDate,jdbcType=VARCHAR},
  485. </if>
  486. <if test="record.endDate != null" >
  487. end_date = #{record.endDate,jdbcType=VARCHAR},
  488. </if>
  489. <if test="record.startTime != null" >
  490. start_time = #{record.startTime,jdbcType=VARCHAR},
  491. </if>
  492. <if test="record.endTime != null" >
  493. end_time = #{record.endTime,jdbcType=VARCHAR},
  494. </if>
  495. <if test="record.sms != null" >
  496. sms = #{record.sms,jdbcType=VARCHAR},
  497. </if>
  498. <if test="record.code != null" >
  499. code = #{record.code,jdbcType=INTEGER},
  500. </if>
  501. <if test="record.chargeType != null" >
  502. charge_type = #{record.chargeType,jdbcType=INTEGER},
  503. </if>
  504. <if test="record.userId != null" >
  505. user_id = #{record.userId,jdbcType=INTEGER},
  506. </if>
  507. <if test="record.communityId != null" >
  508. community_id = #{record.communityId,jdbcType=INTEGER},
  509. </if>
  510. <if test="record.share != null" >
  511. share = #{record.share,jdbcType=INTEGER},
  512. </if>
  513. <if test="record.setup != null" >
  514. setup = #{record.setup,jdbcType=INTEGER},
  515. </if>
  516. <if test="record.status != null" >
  517. status = #{record.status,jdbcType=INTEGER},
  518. </if>
  519. <if test="record.freeTime != null" >
  520. free_time = #{record.freeTime,jdbcType=INTEGER},
  521. </if>
  522. <if test="record.type != null" >
  523. type = #{record.type,jdbcType=INTEGER},
  524. </if>
  525. <if test="record.userIncome != null" >
  526. user_income = #{record.userIncome,jdbcType=INTEGER},
  527. </if>
  528. <if test="record.comIncome != null" >
  529. com_income = #{record.comIncome,jdbcType=INTEGER},
  530. </if>
  531. <if test="record.platfromIncome != null" >
  532. platfrom_income = #{record.platfromIncome,jdbcType=INTEGER},
  533. </if>
  534. <if test="record.pointState != null" >
  535. point_state = #{record.pointState,jdbcType=INTEGER},
  536. </if>
  537. <if test="record.battery != null" >
  538. battery = #{record.battery,jdbcType=REAL},
  539. </if>
  540. <if test="record.comName != null" >
  541. com_name = #{record.comName,jdbcType=VARCHAR},
  542. </if>
  543. </set>
  544. <if test="_parameter != null" >
  545. <include refid="Update_By_Example_Where_Clause" />
  546. </if>
  547. </update>
  548. <update id="updateByExample" parameterType="map" >
  549. <!--
  550. WARNING - @mbggenerated
  551. This element is automatically generated by MyBatis Generator, do not modify.
  552. This element was generated on Wed Nov 15 15:45:41 CST 2017.
  553. -->
  554. update vparking_point
  555. set id = #{record.id,jdbcType=INTEGER},
  556. lat = #{record.lat,jdbcType=DOUBLE},
  557. lng = #{record.lng,jdbcType=DOUBLE},
  558. geo = #{record.geo,jdbcType=VARCHAR},
  559. distance = #{record.distance,jdbcType=DOUBLE},
  560. identity = #{record.identity,jdbcType=VARCHAR},
  561. charge = #{record.charge,jdbcType=INTEGER},
  562. charge_rule = #{record.chargeRule,jdbcType=INTEGER},
  563. available = #{record.available,jdbcType=BIT},
  564. last_occupier_id = #{record.lastOccupierId,jdbcType=INTEGER},
  565. share_user_id = #{record.shareUserId,jdbcType=INTEGER},
  566. share_mobile = #{record.shareMobile,jdbcType=VARCHAR},
  567. book_time = #{record.bookTime,jdbcType=TIMESTAMP},
  568. address = #{record.address,jdbcType=VARCHAR},
  569. preferential = #{record.preferential,jdbcType=VARCHAR},
  570. memo = #{record.memo,jdbcType=VARCHAR},
  571. start_date = #{record.startDate,jdbcType=VARCHAR},
  572. end_date = #{record.endDate,jdbcType=VARCHAR},
  573. start_time = #{record.startTime,jdbcType=VARCHAR},
  574. end_time = #{record.endTime,jdbcType=VARCHAR},
  575. sms = #{record.sms,jdbcType=VARCHAR},
  576. code = #{record.code,jdbcType=INTEGER},
  577. charge_type = #{record.chargeType,jdbcType=INTEGER},
  578. user_id = #{record.userId,jdbcType=INTEGER},
  579. community_id = #{record.communityId,jdbcType=INTEGER},
  580. share = #{record.share,jdbcType=INTEGER},
  581. setup = #{record.setup,jdbcType=INTEGER},
  582. status = #{record.status,jdbcType=INTEGER},
  583. free_time = #{record.freeTime,jdbcType=INTEGER},
  584. type = #{record.type,jdbcType=INTEGER},
  585. user_income = #{record.userIncome,jdbcType=INTEGER},
  586. com_income = #{record.comIncome,jdbcType=INTEGER},
  587. platfrom_income = #{record.platfromIncome,jdbcType=INTEGER},
  588. point_state = #{record.pointState,jdbcType=INTEGER},
  589. battery = #{record.battery,jdbcType=REAL},
  590. com_name = #{record.comName,jdbcType=VARCHAR}
  591. <if test="_parameter != null" >
  592. <include refid="Update_By_Example_Where_Clause" />
  593. </if>
  594. </update>
  595. </mapper>