outstoredetail.id,
outstoredetail.out_id,
outstoredetail.out_no,
outstoredetail.store_id,
outstoredetail.spare_id,
outstoredetail.no,
outstoredetail.ggxh,
outstoredetail.real_num,
outstoredetail.store_num,
outstoredetail.yy_id,outstoredetail.auto_id,
outstoredetail.out_flag,
outstoredetail.c_batch,
outstoredetail.store_name,
outstoredetail.store_position,
outstoredetail.project_no,
outstoredetail.project_name,
outstoredetail.project_second_no,
outstoredetail.project_second_name,
outstoredetail.spare_name,
outstoredetail.num,
outstoredetail.price,
outstoredetail.total_price,
outstoredetail.created_user_id,
outstoredetail.created_user_name,
outstoredetail.update_user_id,
outstoredetail.update_user_name,
outstoredetail.created_time,
outstoredetail.type,
outstoredetail.update_time
outstoredetail.out_id,
outstoredetail.out_no,
outstoredetail.store_id,
outstoredetail.no,
outstoredetail.ggxh,
outstoredetail.type,
outstoredetail.spare_id,
outstoredetail.c_batch,
outstoredetail.real_num,
outstoredetail.store_num,
outstoredetail.yy_id,outstoredetail.auto_id,
outstoredetail.out_flag,
outstoredetail.store_name,
outstoredetail.store_position,
outstoredetail.project_no,
outstoredetail.project_name,
outstoredetail.project_second_no,
outstoredetail.project_second_name,
outstoredetail.spare_name,
outstoredetail.num,
outstoredetail.price,
outstoredetail.total_price
and outstoredetail.id = #{id}
and outstoredetail.out_id = #{outId}
and outstoredetail.yy_id = #{yyId}
and outstoredetail.auto_id = #{autoId}
and outstoredetail.out_flag = #{outFlag}
and outstoredetail.type = #{type}
and outstoredetail.out_no = #{outNo}
and outstoredetail.store_id = #{storeId}
and outstoredetail.spare_id = #{spareId}
and outstoredetail.num = #{num}
and outstoredetail.created_user_id = #{createdUserId}
and outstoredetail.created_user_name = #{createdUserName}
and outstoredetail.update_user_id = #{updateUserId}
and outstoredetail.update_user_name = #{updateUserName}
and outstoredetail.created_time =]]>; #{createdTimeStart}
and outstoredetail.created_time #{createdTimeEnd}
and outstoredetail.created_time = #{createdTime}
and outstoredetail.update_time =]]>; #{updateTimeStart}
and outstoredetail.update_time #{updateTimeEnd}
and outstoredetail.update_time = #{updateTime}
and outstoredetail.id like concat('%',#{keyword},'%')
and outstoredetail.created_time = ]]> #{searchStartTime}
and outstoredetail.created_time #{searchEndTime}
update t_out_store_detail
num=#{item.num},
total_price = #{item.totalPrice}
where id = #{item.id}