VmOrderDetailsMapper.xml 20 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526
  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.minpay.db.table.mapper.VmOrderDetailsMapper">
  4. <resultMap id="BaseResultMap" type="com.minpay.db.table.model.VmOrderDetails">
  5. <!--
  6. WARNING - @mbggenerated
  7. This element is automatically generated by MyBatis Generator, do not modify.
  8. -->
  9. <id column="VOD_DETAILS_ID" jdbcType="VARCHAR" property="detailsId" />
  10. <result column="VOD_CHANNEL" jdbcType="VARCHAR" property="channel" />
  11. <result column="VOD_ORDER_ID" jdbcType="VARCHAR" property="orderId" />
  12. <result column="VOD_PRO_EQU_REL_ID" jdbcType="VARCHAR" property="proEquRelId" />
  13. <result column="VOD_CARGO_WAY" jdbcType="VARCHAR" property="cargoWay" />
  14. <result column="VOD_PRODUCT_ID" jdbcType="VARCHAR" property="productId" />
  15. <result column="VOD_PRO_TYPE" jdbcType="VARCHAR" property="proType" />
  16. <result column="VOD_PRO_NAME" jdbcType="VARCHAR" property="proName" />
  17. <result column="VOD_PRO_PRICE" jdbcType="VARCHAR" property="proPrice" />
  18. <result column="VOD_PRO_NUMS" jdbcType="VARCHAR" property="proNums" />
  19. <result column="VOD_AMOUNT" jdbcType="VARCHAR" property="amount" />
  20. <result column="VOD_RECORD_ID" jdbcType="VARCHAR" property="recordId" />
  21. <result column="VOD_REMARKS" jdbcType="VARCHAR" property="remarks" />
  22. <result column="VOD_IS_WINNING" jdbcType="VARCHAR" property="isWinning" />
  23. <result column="VOD_CREATE_USER" jdbcType="VARCHAR" property="createUser" />
  24. <result column="VOD_CREATE_TIME" jdbcType="VARCHAR" property="createTime" />
  25. <result column="VOD_MODIFY_USER" jdbcType="VARCHAR" property="modifyUser" />
  26. <result column="VOD_MODIFY_TIME" jdbcType="VARCHAR" property="modifyTime" />
  27. <result column="VOD_DELIVERY_ID" jdbcType="VARCHAR" property="deliveryId" />
  28. <result column="VOD_IS_DELIVERY" jdbcType="VARCHAR" property="isDelivery" />
  29. <result column="VOD_PICKUP_TIME" jdbcType="VARCHAR" property="pickupTime" />
  30. </resultMap>
  31. <sql id="Example_Where_Clause">
  32. <!--
  33. WARNING - @mbggenerated
  34. This element is automatically generated by MyBatis Generator, do not modify.
  35. -->
  36. <where>
  37. <foreach collection="oredCriteria" item="criteria" separator="or">
  38. <if test="criteria.valid">
  39. <trim prefix="(" prefixOverrides="and" suffix=")">
  40. <foreach collection="criteria.criteria" item="criterion">
  41. <choose>
  42. <when test="criterion.noValue">
  43. and ${criterion.condition}
  44. </when>
  45. <when test="criterion.singleValue">
  46. and ${criterion.condition} #{criterion.value}
  47. </when>
  48. <when test="criterion.betweenValue">
  49. and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
  50. </when>
  51. <when test="criterion.listValue">
  52. and ${criterion.condition}
  53. <foreach close=")" collection="criterion.value" item="listItem" open="(" separator=",">
  54. #{listItem}
  55. </foreach>
  56. </when>
  57. </choose>
  58. </foreach>
  59. </trim>
  60. </if>
  61. </foreach>
  62. </where>
  63. </sql>
  64. <sql id="Update_By_Example_Where_Clause">
  65. <!--
  66. WARNING - @mbggenerated
  67. This element is automatically generated by MyBatis Generator, do not modify.
  68. -->
  69. <where>
  70. <foreach collection="example.oredCriteria" item="criteria" separator="or">
  71. <if test="criteria.valid">
  72. <trim prefix="(" prefixOverrides="and" suffix=")">
  73. <foreach collection="criteria.criteria" item="criterion">
  74. <choose>
  75. <when test="criterion.noValue">
  76. and ${criterion.condition}
  77. </when>
  78. <when test="criterion.singleValue">
  79. and ${criterion.condition} #{criterion.value}
  80. </when>
  81. <when test="criterion.betweenValue">
  82. and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
  83. </when>
  84. <when test="criterion.listValue">
  85. and ${criterion.condition}
  86. <foreach close=")" collection="criterion.value" item="listItem" open="(" separator=",">
  87. #{listItem}
  88. </foreach>
  89. </when>
  90. </choose>
  91. </foreach>
  92. </trim>
  93. </if>
  94. </foreach>
  95. </where>
  96. </sql>
  97. <sql id="Base_Column_List">
  98. <!--
  99. WARNING - @mbggenerated
  100. This element is automatically generated by MyBatis Generator, do not modify.
  101. -->
  102. VOD_DETAILS_ID, VOD_CHANNEL, VOD_ORDER_ID, VOD_PRO_EQU_REL_ID, VOD_CARGO_WAY, VOD_PRODUCT_ID,
  103. VOD_PRO_TYPE, VOD_PRO_NAME, VOD_PRO_PRICE, VOD_PRO_NUMS, VOD_AMOUNT, VOD_RECORD_ID,
  104. VOD_REMARKS, VOD_IS_WINNING, VOD_CREATE_USER, VOD_CREATE_TIME, VOD_MODIFY_USER, VOD_MODIFY_TIME,
  105. VOD_DELIVERY_ID, VOD_IS_DELIVERY, VOD_PICKUP_TIME
  106. </sql>
  107. <select id="selectByExample" parameterType="com.minpay.db.table.model.VmOrderDetailsExample" resultMap="BaseResultMap">
  108. <!--
  109. WARNING - @mbggenerated
  110. This element is automatically generated by MyBatis Generator, do not modify.
  111. -->
  112. select
  113. <if test="distinct">
  114. distinct
  115. </if>
  116. <include refid="Base_Column_List" />
  117. from vm_order_details
  118. <if test="_parameter != null">
  119. <include refid="Example_Where_Clause" />
  120. </if>
  121. <if test="orderByClause != null">
  122. order by ${orderByClause}
  123. </if>
  124. </select>
  125. <select id="selectByPrimaryKey" parameterType="java.lang.String" resultMap="BaseResultMap">
  126. <!--
  127. WARNING - @mbggenerated
  128. This element is automatically generated by MyBatis Generator, do not modify.
  129. -->
  130. select
  131. <include refid="Base_Column_List" />
  132. from vm_order_details
  133. where VOD_DETAILS_ID = #{detailsId,jdbcType=VARCHAR}
  134. </select>
  135. <delete id="deleteByPrimaryKey" parameterType="java.lang.String">
  136. <!--
  137. WARNING - @mbggenerated
  138. This element is automatically generated by MyBatis Generator, do not modify.
  139. -->
  140. delete from vm_order_details
  141. where VOD_DETAILS_ID = #{detailsId,jdbcType=VARCHAR}
  142. </delete>
  143. <delete id="deleteByExample" parameterType="com.minpay.db.table.model.VmOrderDetailsExample">
  144. <!--
  145. WARNING - @mbggenerated
  146. This element is automatically generated by MyBatis Generator, do not modify.
  147. -->
  148. delete from vm_order_details
  149. <if test="_parameter != null">
  150. <include refid="Example_Where_Clause" />
  151. </if>
  152. </delete>
  153. <insert id="insert" parameterType="com.minpay.db.table.model.VmOrderDetails">
  154. <!--
  155. WARNING - @mbggenerated
  156. This element is automatically generated by MyBatis Generator, do not modify.
  157. -->
  158. insert into vm_order_details (VOD_DETAILS_ID, VOD_CHANNEL, VOD_ORDER_ID,
  159. VOD_PRO_EQU_REL_ID, VOD_CARGO_WAY, VOD_PRODUCT_ID,
  160. VOD_PRO_TYPE, VOD_PRO_NAME, VOD_PRO_PRICE,
  161. VOD_PRO_NUMS, VOD_AMOUNT, VOD_RECORD_ID,
  162. VOD_REMARKS, VOD_IS_WINNING, VOD_CREATE_USER,
  163. VOD_CREATE_TIME, VOD_MODIFY_USER, VOD_MODIFY_TIME,
  164. VOD_DELIVERY_ID, VOD_IS_DELIVERY, VOD_PICKUP_TIME
  165. )
  166. values (#{detailsId,jdbcType=VARCHAR}, #{channel,jdbcType=VARCHAR}, #{orderId,jdbcType=VARCHAR},
  167. #{proEquRelId,jdbcType=VARCHAR}, #{cargoWay,jdbcType=VARCHAR}, #{productId,jdbcType=VARCHAR},
  168. #{proType,jdbcType=VARCHAR}, #{proName,jdbcType=VARCHAR}, #{proPrice,jdbcType=VARCHAR},
  169. #{proNums,jdbcType=VARCHAR}, #{amount,jdbcType=VARCHAR}, #{recordId,jdbcType=VARCHAR},
  170. #{remarks,jdbcType=VARCHAR}, #{isWinning,jdbcType=VARCHAR}, #{createUser,jdbcType=VARCHAR},
  171. #{createTime,jdbcType=VARCHAR}, #{modifyUser,jdbcType=VARCHAR}, #{modifyTime,jdbcType=VARCHAR},
  172. #{deliveryId,jdbcType=VARCHAR}, #{isDelivery,jdbcType=VARCHAR}, #{pickupTime,jdbcType=VARCHAR}
  173. )
  174. </insert>
  175. <insert id="insertSelective" parameterType="com.minpay.db.table.model.VmOrderDetails">
  176. <!--
  177. WARNING - @mbggenerated
  178. This element is automatically generated by MyBatis Generator, do not modify.
  179. -->
  180. insert into vm_order_details
  181. <trim prefix="(" suffix=")" suffixOverrides=",">
  182. <if test="detailsId != null">
  183. VOD_DETAILS_ID,
  184. </if>
  185. <if test="channel != null">
  186. VOD_CHANNEL,
  187. </if>
  188. <if test="orderId != null">
  189. VOD_ORDER_ID,
  190. </if>
  191. <if test="proEquRelId != null">
  192. VOD_PRO_EQU_REL_ID,
  193. </if>
  194. <if test="cargoWay != null">
  195. VOD_CARGO_WAY,
  196. </if>
  197. <if test="productId != null">
  198. VOD_PRODUCT_ID,
  199. </if>
  200. <if test="proType != null">
  201. VOD_PRO_TYPE,
  202. </if>
  203. <if test="proName != null">
  204. VOD_PRO_NAME,
  205. </if>
  206. <if test="proPrice != null">
  207. VOD_PRO_PRICE,
  208. </if>
  209. <if test="proNums != null">
  210. VOD_PRO_NUMS,
  211. </if>
  212. <if test="amount != null">
  213. VOD_AMOUNT,
  214. </if>
  215. <if test="recordId != null">
  216. VOD_RECORD_ID,
  217. </if>
  218. <if test="remarks != null">
  219. VOD_REMARKS,
  220. </if>
  221. <if test="isWinning != null">
  222. VOD_IS_WINNING,
  223. </if>
  224. <if test="createUser != null">
  225. VOD_CREATE_USER,
  226. </if>
  227. <if test="createTime != null">
  228. VOD_CREATE_TIME,
  229. </if>
  230. <if test="modifyUser != null">
  231. VOD_MODIFY_USER,
  232. </if>
  233. <if test="modifyTime != null">
  234. VOD_MODIFY_TIME,
  235. </if>
  236. <if test="deliveryId != null">
  237. VOD_DELIVERY_ID,
  238. </if>
  239. <if test="isDelivery != null">
  240. VOD_IS_DELIVERY,
  241. </if>
  242. <if test="pickupTime != null">
  243. VOD_PICKUP_TIME,
  244. </if>
  245. </trim>
  246. <trim prefix="values (" suffix=")" suffixOverrides=",">
  247. <if test="detailsId != null">
  248. #{detailsId,jdbcType=VARCHAR},
  249. </if>
  250. <if test="channel != null">
  251. #{channel,jdbcType=VARCHAR},
  252. </if>
  253. <if test="orderId != null">
  254. #{orderId,jdbcType=VARCHAR},
  255. </if>
  256. <if test="proEquRelId != null">
  257. #{proEquRelId,jdbcType=VARCHAR},
  258. </if>
  259. <if test="cargoWay != null">
  260. #{cargoWay,jdbcType=VARCHAR},
  261. </if>
  262. <if test="productId != null">
  263. #{productId,jdbcType=VARCHAR},
  264. </if>
  265. <if test="proType != null">
  266. #{proType,jdbcType=VARCHAR},
  267. </if>
  268. <if test="proName != null">
  269. #{proName,jdbcType=VARCHAR},
  270. </if>
  271. <if test="proPrice != null">
  272. #{proPrice,jdbcType=VARCHAR},
  273. </if>
  274. <if test="proNums != null">
  275. #{proNums,jdbcType=VARCHAR},
  276. </if>
  277. <if test="amount != null">
  278. #{amount,jdbcType=VARCHAR},
  279. </if>
  280. <if test="recordId != null">
  281. #{recordId,jdbcType=VARCHAR},
  282. </if>
  283. <if test="remarks != null">
  284. #{remarks,jdbcType=VARCHAR},
  285. </if>
  286. <if test="isWinning != null">
  287. #{isWinning,jdbcType=VARCHAR},
  288. </if>
  289. <if test="createUser != null">
  290. #{createUser,jdbcType=VARCHAR},
  291. </if>
  292. <if test="createTime != null">
  293. #{createTime,jdbcType=VARCHAR},
  294. </if>
  295. <if test="modifyUser != null">
  296. #{modifyUser,jdbcType=VARCHAR},
  297. </if>
  298. <if test="modifyTime != null">
  299. #{modifyTime,jdbcType=VARCHAR},
  300. </if>
  301. <if test="deliveryId != null">
  302. #{deliveryId,jdbcType=VARCHAR},
  303. </if>
  304. <if test="isDelivery != null">
  305. #{isDelivery,jdbcType=VARCHAR},
  306. </if>
  307. <if test="pickupTime != null">
  308. #{pickupTime,jdbcType=VARCHAR},
  309. </if>
  310. </trim>
  311. </insert>
  312. <select id="countByExample" parameterType="com.minpay.db.table.model.VmOrderDetailsExample" resultType="java.lang.Integer">
  313. <!--
  314. WARNING - @mbggenerated
  315. This element is automatically generated by MyBatis Generator, do not modify.
  316. -->
  317. select count(*) from vm_order_details
  318. <if test="_parameter != null">
  319. <include refid="Example_Where_Clause" />
  320. </if>
  321. </select>
  322. <update id="updateByExampleSelective" parameterType="map">
  323. <!--
  324. WARNING - @mbggenerated
  325. This element is automatically generated by MyBatis Generator, do not modify.
  326. -->
  327. update vm_order_details
  328. <set>
  329. <if test="record.detailsId != null">
  330. VOD_DETAILS_ID = #{record.detailsId,jdbcType=VARCHAR},
  331. </if>
  332. <if test="record.channel != null">
  333. VOD_CHANNEL = #{record.channel,jdbcType=VARCHAR},
  334. </if>
  335. <if test="record.orderId != null">
  336. VOD_ORDER_ID = #{record.orderId,jdbcType=VARCHAR},
  337. </if>
  338. <if test="record.proEquRelId != null">
  339. VOD_PRO_EQU_REL_ID = #{record.proEquRelId,jdbcType=VARCHAR},
  340. </if>
  341. <if test="record.cargoWay != null">
  342. VOD_CARGO_WAY = #{record.cargoWay,jdbcType=VARCHAR},
  343. </if>
  344. <if test="record.productId != null">
  345. VOD_PRODUCT_ID = #{record.productId,jdbcType=VARCHAR},
  346. </if>
  347. <if test="record.proType != null">
  348. VOD_PRO_TYPE = #{record.proType,jdbcType=VARCHAR},
  349. </if>
  350. <if test="record.proName != null">
  351. VOD_PRO_NAME = #{record.proName,jdbcType=VARCHAR},
  352. </if>
  353. <if test="record.proPrice != null">
  354. VOD_PRO_PRICE = #{record.proPrice,jdbcType=VARCHAR},
  355. </if>
  356. <if test="record.proNums != null">
  357. VOD_PRO_NUMS = #{record.proNums,jdbcType=VARCHAR},
  358. </if>
  359. <if test="record.amount != null">
  360. VOD_AMOUNT = #{record.amount,jdbcType=VARCHAR},
  361. </if>
  362. <if test="record.recordId != null">
  363. VOD_RECORD_ID = #{record.recordId,jdbcType=VARCHAR},
  364. </if>
  365. <if test="record.remarks != null">
  366. VOD_REMARKS = #{record.remarks,jdbcType=VARCHAR},
  367. </if>
  368. <if test="record.isWinning != null">
  369. VOD_IS_WINNING = #{record.isWinning,jdbcType=VARCHAR},
  370. </if>
  371. <if test="record.createUser != null">
  372. VOD_CREATE_USER = #{record.createUser,jdbcType=VARCHAR},
  373. </if>
  374. <if test="record.createTime != null">
  375. VOD_CREATE_TIME = #{record.createTime,jdbcType=VARCHAR},
  376. </if>
  377. <if test="record.modifyUser != null">
  378. VOD_MODIFY_USER = #{record.modifyUser,jdbcType=VARCHAR},
  379. </if>
  380. <if test="record.modifyTime != null">
  381. VOD_MODIFY_TIME = #{record.modifyTime,jdbcType=VARCHAR},
  382. </if>
  383. <if test="record.deliveryId != null">
  384. VOD_DELIVERY_ID = #{record.deliveryId,jdbcType=VARCHAR},
  385. </if>
  386. <if test="record.isDelivery != null">
  387. VOD_IS_DELIVERY = #{record.isDelivery,jdbcType=VARCHAR},
  388. </if>
  389. <if test="record.pickupTime != null">
  390. VOD_PICKUP_TIME = #{record.pickupTime,jdbcType=VARCHAR},
  391. </if>
  392. </set>
  393. <if test="_parameter != null">
  394. <include refid="Update_By_Example_Where_Clause" />
  395. </if>
  396. </update>
  397. <update id="updateByExample" parameterType="map">
  398. <!--
  399. WARNING - @mbggenerated
  400. This element is automatically generated by MyBatis Generator, do not modify.
  401. -->
  402. update vm_order_details
  403. set VOD_DETAILS_ID = #{record.detailsId,jdbcType=VARCHAR},
  404. VOD_CHANNEL = #{record.channel,jdbcType=VARCHAR},
  405. VOD_ORDER_ID = #{record.orderId,jdbcType=VARCHAR},
  406. VOD_PRO_EQU_REL_ID = #{record.proEquRelId,jdbcType=VARCHAR},
  407. VOD_CARGO_WAY = #{record.cargoWay,jdbcType=VARCHAR},
  408. VOD_PRODUCT_ID = #{record.productId,jdbcType=VARCHAR},
  409. VOD_PRO_TYPE = #{record.proType,jdbcType=VARCHAR},
  410. VOD_PRO_NAME = #{record.proName,jdbcType=VARCHAR},
  411. VOD_PRO_PRICE = #{record.proPrice,jdbcType=VARCHAR},
  412. VOD_PRO_NUMS = #{record.proNums,jdbcType=VARCHAR},
  413. VOD_AMOUNT = #{record.amount,jdbcType=VARCHAR},
  414. VOD_RECORD_ID = #{record.recordId,jdbcType=VARCHAR},
  415. VOD_REMARKS = #{record.remarks,jdbcType=VARCHAR},
  416. VOD_IS_WINNING = #{record.isWinning,jdbcType=VARCHAR},
  417. VOD_CREATE_USER = #{record.createUser,jdbcType=VARCHAR},
  418. VOD_CREATE_TIME = #{record.createTime,jdbcType=VARCHAR},
  419. VOD_MODIFY_USER = #{record.modifyUser,jdbcType=VARCHAR},
  420. VOD_MODIFY_TIME = #{record.modifyTime,jdbcType=VARCHAR},
  421. VOD_DELIVERY_ID = #{record.deliveryId,jdbcType=VARCHAR},
  422. VOD_IS_DELIVERY = #{record.isDelivery,jdbcType=VARCHAR},
  423. VOD_PICKUP_TIME = #{record.pickupTime,jdbcType=VARCHAR}
  424. <if test="_parameter != null">
  425. <include refid="Update_By_Example_Where_Clause" />
  426. </if>
  427. </update>
  428. <update id="updateByPrimaryKeySelective" parameterType="com.minpay.db.table.model.VmOrderDetails">
  429. <!--
  430. WARNING - @mbggenerated
  431. This element is automatically generated by MyBatis Generator, do not modify.
  432. -->
  433. update vm_order_details
  434. <set>
  435. <if test="channel != null">
  436. VOD_CHANNEL = #{channel,jdbcType=VARCHAR},
  437. </if>
  438. <if test="orderId != null">
  439. VOD_ORDER_ID = #{orderId,jdbcType=VARCHAR},
  440. </if>
  441. <if test="proEquRelId != null">
  442. VOD_PRO_EQU_REL_ID = #{proEquRelId,jdbcType=VARCHAR},
  443. </if>
  444. <if test="cargoWay != null">
  445. VOD_CARGO_WAY = #{cargoWay,jdbcType=VARCHAR},
  446. </if>
  447. <if test="productId != null">
  448. VOD_PRODUCT_ID = #{productId,jdbcType=VARCHAR},
  449. </if>
  450. <if test="proType != null">
  451. VOD_PRO_TYPE = #{proType,jdbcType=VARCHAR},
  452. </if>
  453. <if test="proName != null">
  454. VOD_PRO_NAME = #{proName,jdbcType=VARCHAR},
  455. </if>
  456. <if test="proPrice != null">
  457. VOD_PRO_PRICE = #{proPrice,jdbcType=VARCHAR},
  458. </if>
  459. <if test="proNums != null">
  460. VOD_PRO_NUMS = #{proNums,jdbcType=VARCHAR},
  461. </if>
  462. <if test="amount != null">
  463. VOD_AMOUNT = #{amount,jdbcType=VARCHAR},
  464. </if>
  465. <if test="recordId != null">
  466. VOD_RECORD_ID = #{recordId,jdbcType=VARCHAR},
  467. </if>
  468. <if test="remarks != null">
  469. VOD_REMARKS = #{remarks,jdbcType=VARCHAR},
  470. </if>
  471. <if test="isWinning != null">
  472. VOD_IS_WINNING = #{isWinning,jdbcType=VARCHAR},
  473. </if>
  474. <if test="createUser != null">
  475. VOD_CREATE_USER = #{createUser,jdbcType=VARCHAR},
  476. </if>
  477. <if test="createTime != null">
  478. VOD_CREATE_TIME = #{createTime,jdbcType=VARCHAR},
  479. </if>
  480. <if test="modifyUser != null">
  481. VOD_MODIFY_USER = #{modifyUser,jdbcType=VARCHAR},
  482. </if>
  483. <if test="modifyTime != null">
  484. VOD_MODIFY_TIME = #{modifyTime,jdbcType=VARCHAR},
  485. </if>
  486. <if test="deliveryId != null">
  487. VOD_DELIVERY_ID = #{deliveryId,jdbcType=VARCHAR},
  488. </if>
  489. <if test="isDelivery != null">
  490. VOD_IS_DELIVERY = #{isDelivery,jdbcType=VARCHAR},
  491. </if>
  492. <if test="pickupTime != null">
  493. VOD_PICKUP_TIME = #{pickupTime,jdbcType=VARCHAR},
  494. </if>
  495. </set>
  496. where VOD_DETAILS_ID = #{detailsId,jdbcType=VARCHAR}
  497. </update>
  498. <update id="updateByPrimaryKey" parameterType="com.minpay.db.table.model.VmOrderDetails">
  499. <!--
  500. WARNING - @mbggenerated
  501. This element is automatically generated by MyBatis Generator, do not modify.
  502. -->
  503. update vm_order_details
  504. set VOD_CHANNEL = #{channel,jdbcType=VARCHAR},
  505. VOD_ORDER_ID = #{orderId,jdbcType=VARCHAR},
  506. VOD_PRO_EQU_REL_ID = #{proEquRelId,jdbcType=VARCHAR},
  507. VOD_CARGO_WAY = #{cargoWay,jdbcType=VARCHAR},
  508. VOD_PRODUCT_ID = #{productId,jdbcType=VARCHAR},
  509. VOD_PRO_TYPE = #{proType,jdbcType=VARCHAR},
  510. VOD_PRO_NAME = #{proName,jdbcType=VARCHAR},
  511. VOD_PRO_PRICE = #{proPrice,jdbcType=VARCHAR},
  512. VOD_PRO_NUMS = #{proNums,jdbcType=VARCHAR},
  513. VOD_AMOUNT = #{amount,jdbcType=VARCHAR},
  514. VOD_RECORD_ID = #{recordId,jdbcType=VARCHAR},
  515. VOD_REMARKS = #{remarks,jdbcType=VARCHAR},
  516. VOD_IS_WINNING = #{isWinning,jdbcType=VARCHAR},
  517. VOD_CREATE_USER = #{createUser,jdbcType=VARCHAR},
  518. VOD_CREATE_TIME = #{createTime,jdbcType=VARCHAR},
  519. VOD_MODIFY_USER = #{modifyUser,jdbcType=VARCHAR},
  520. VOD_MODIFY_TIME = #{modifyTime,jdbcType=VARCHAR},
  521. VOD_DELIVERY_ID = #{deliveryId,jdbcType=VARCHAR},
  522. VOD_IS_DELIVERY = #{isDelivery,jdbcType=VARCHAR},
  523. VOD_PICKUP_TIME = #{pickupTime,jdbcType=VARCHAR}
  524. where VOD_DETAILS_ID = #{detailsId,jdbcType=VARCHAR}
  525. </update>
  526. </mapper>