|
@@ -44,7 +44,7 @@
|
|
)
|
|
)
|
|
values
|
|
values
|
|
(#{studentId},#{organId},#{goodsId},#{goodsCategoryId},#{goodsCategoryName},#{goodsName},#{goodsBrand},#{specification},#{goodsImg},
|
|
(#{studentId},#{organId},#{goodsId},#{goodsCategoryId},#{goodsCategoryName},#{goodsName},#{goodsBrand},#{specification},#{goodsImg},
|
|
- #{organId},#{operation},#{status}, #{startTime}, #{endTime}, NOW(), NOW()
|
|
|
|
|
|
+ #{orderId},#{operation},#{status}, #{startTime}, #{endTime}, NOW(), NOW()
|
|
)
|
|
)
|
|
</insert>
|
|
</insert>
|
|
<update id="update" parameterType="com.ym.mec.biz.dal.entity.StudentInstrument">
|
|
<update id="update" parameterType="com.ym.mec.biz.dal.entity.StudentInstrument">
|
|
@@ -153,11 +153,11 @@
|
|
<insert id="batchAdd" parameterType="java.util.List" useGeneratedKeys="true" keyColumn="id" keyProperty="id">
|
|
<insert id="batchAdd" parameterType="java.util.List" useGeneratedKeys="true" keyColumn="id" keyProperty="id">
|
|
insert into student_instrument
|
|
insert into student_instrument
|
|
(student_id_,organ_id_,goods_id_,goods_category_id_,goods_category_name_,goods_name_,goods_brand_,specification_,goods_img_,
|
|
(student_id_,organ_id_,goods_id_,goods_category_id_,goods_category_name_,goods_name_,goods_brand_,specification_,goods_img_,
|
|
- status_, start_time_, end_time_, create_time_, update_time)
|
|
|
|
|
|
+ order_id_,status_, start_time_, end_time_, create_time_, update_time)
|
|
VALUE
|
|
VALUE
|
|
<foreach collection="studentInstruments" item="item" separator=",">
|
|
<foreach collection="studentInstruments" item="item" separator=",">
|
|
(#{item.studentId},#{item.organId},#{item.goodsId},#{item.goodsCategoryId},#{item.goodsCategoryName},#{item.goodsName},#{item.goodsBrand},#{item.specification},#{item.goodsImg},
|
|
(#{item.studentId},#{item.organId},#{item.goodsId},#{item.goodsCategoryId},#{item.goodsCategoryName},#{item.goodsName},#{item.goodsBrand},#{item.specification},#{item.goodsImg},
|
|
- #{item.status}, #{item.startTime},
|
|
|
|
|
|
+ #{item.orderId},#{item.status}, #{item.startTime},
|
|
#{item.endTime}, NOW(), NOW())
|
|
#{item.endTime}, NOW(), NOW())
|
|
</foreach>
|
|
</foreach>
|
|
</insert>
|
|
</insert>
|