TChangeTaskMapper.xml 21 KB

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