select id,task_id, purchase_time, arrival_time, purchaser, create_by, create_time, update_by, update_time, remark, company_id from purchase_check_info insert into purchase_check_info task_id, purchase_time, arrival_time, purchaser, create_by, create_time, update_by, update_time, remark, company_id, #{taskId}, #{purchaseTime}, #{arrivalTime}, #{purchaser}, #{createBy}, #{createTime}, #{updateBy}, #{updateTime}, #{remark}, #{companyId}, update purchase_check_info purchase_time = #{purchaseTime}, arrival_time = #{arrivalTime}, purchaser = #{purchaser}, create_by = #{createBy}, create_time = #{createTime}, update_by = #{updateBy}, update_time = #{updateTime}, remark = #{remark}, company_id = #{companyId}, where task_id = #{taskId} update ma_machine set ma_status = #{maStatus} where ma_id = #{maId} update ma_type set num = #{num} where type_id = #{typeId} update purchase_macode_info set status = #{status} where task_id = #{taskId} and type_id = #{typeId} and ma_code = #{maCode} update purchase_macode_info set status='2' where ma_code = #{maCode} and task_id = #{taskId} and type_id = #{typeId} update purchase_macode_info set status = #{status} where task_id = #{taskId} and ma_code = #{maCode} and type_id = #{typeId} delete from purchase_check_info where task_id = #{taskId} delete from purchase_check_info where task_id in #{taskId} delete from ma_machine where ma_id = #{maId} delete from ma_machine_label where ma_id = #{maId} delete from ma_label_bind where ma_id = #{maId} insert into bm_notice_info task_id, content, notice_user, phone, model_name, create_by, create_time, update_by, update_time, remark, company_id, #{taskId}, #{content}, #{noticeUser}, #{phone}, #{modelName}, #{createBy}, #{createTime}, #{updateBy}, #{updateTime}, #{remark}, #{companyId}, insert into input_apply_details task_id, ma_id, type_id, parent_id, input_num, input_type, create_by, create_time, update_by, update_time, remark, company_id, #{taskId}, #{maId}, #{typeId}, #{parentId}, #{inputNum}, #{inputType}, #{createBy}, #{createTime}, #{updateBy}, #{updateTime}, #{remark}, #{companyId}, insert into ma_input_record task_id, type_id, ma_id, input_type, input_num, status, create_by, create_time, update_by, update_time, remark, company_id, #{taskId}, #{typeId}, #{maId}, #{inputType}, #{inputNum}, #{status}, #{createBy}, #{createTime}, #{updateBy}, #{updateTime}, #{remark}, #{companyId},