Commit 9a2c4ee2 by zhanghj

V1.4.0--提交竞价单代码功能

git-svn-id: svn://192.168.3.233/frms/code/car-service/trunk/car-service@23329 aeb6102e-e053-11e5-9fec-f9ebc45caf4b
1 parent a769aefc
......@@ -22,7 +22,11 @@ public enum OrderTypeEnum {
/**
* 检修
*/
REPAIR(3, 4220);
REPAIR(3, 4220),
/**
* 竞价单
*/
BIDDING(4, 8128);
/**
* 订单类型
......
......@@ -70,7 +70,8 @@
<insert id="addLabelList" keyProperty="id" useGeneratedKeys="true">
insert into sys_order_label (order_id, label)
values
<foreach item="label" collection="labelArray"></foreach>
(#{orderId,jdbcType=INTEGER}, #{label,jdbcType=VARCHAR})
<foreach item="item" collection="labelArray" separator=",">
(#{orderId}, #{item})
</foreach>
</insert>
</mapper>
\ No newline at end of file
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!