ApOrderLogisticsMapper.xml 22 KB

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