insert into equipment_account(use_org_name, location_type_cd, remark, purchase_price, charge_org_name, machine_name, charge_org_id, location_detail, first_enable_time, warranty_deadline, model, state, community_id, brand, machine_type_cd, machine_code, use_user_name, importance_level, use_org_id, use_use_tel, machine_version, charge_use_name, useful_life, machine_id, charge_use_id, net_worth, charge_org_tel, type_id, location_obj_id, location_obj_name, use_user_id) values (#{useOrgName}, #{locationTypeCd}, #{remark}, #{purchasePrice}, #{chargeOrgName}, #{machineName}, #{chargeOrgId}, #{locationDetail}, #{firstEnableTime}, #{warrantyDeadline}, #{model}, #{state}, #{communityId}, #{brand}, #{machineTypeCd}, #{machineCode}, #{useUserName}, #{importanceLevel}, #{useOrgId}, #{useUseTel}, #{machineVersion}, #{chargeUseName}, #{usefulLife}, #{machineId}, #{chargeUseId}, #{netWorth}, #{chargeOrgTel}, #{typeId}, #{locationObjId}, #{locationObjName}, #{useUserId}) insert into equipment_account use_org_name, location_type_cd, remark, purchase_price, charge_org_name, machine_name, charge_org_id, location_detail, first_enable_time, warranty_deadline, model, state, community_id, brand, machine_type_cd, machine_code, use_user_name, importance_level, use_org_id, use_use_tel, machine_version, charge_use_name, useful_life, machine_id, charge_use_id, net_worth, charge_org_tel, type_id, location_obj_id, location_obj_name, use_user_id, #{useOrgName}, #{locationTypeCd}, #{remark}, #{purchasePrice}, #{chargeOrgName}, #{machineName}, #{chargeOrgId}, #{locationDetail}, #{firstEnableTime}, #{warrantyDeadline}, #{model}, #{state}, #{communityId}, #{brand}, #{machineTypeCd}, #{machineCode}, #{useUserName}, #{importanceLevel}, #{useOrgId}, #{useUseTel}, #{machineVersion}, #{chargeUseName}, #{usefulLife}, #{machineId}, #{chargeUseId}, #{netWorth}, #{chargeOrgTel}, #{typeId}, #{locationObjId}, #{locationObjName}, #{useUserId}, update equipment_account t set t.status_cd = #{statusCd} ,t.b_id = #{newBId} , t.use_org_name= #{useOrgName} , t.location_type_cd= #{locationTypeCd} , t.remark= #{remark} , t.purchase_price= #{purchasePrice} , t.charge_org_name= #{chargeOrgName} , t.machine_name= #{machineName} , t.charge_org_id= #{chargeOrgId} , t.location_detail= #{locationDetail} , t.first_enable_time= #{firstEnableTime} , t.warranty_deadline= #{warrantyDeadline} , t.model= #{model} , t.state= #{state} , t.community_id= #{communityId} , t.brand= #{brand} , t.machine_type_cd= #{machineTypeCd} , t.machine_code= #{machineCode} , t.use_user_name= #{useUserName} , t.importance_level= #{importanceLevel} , t.use_org_id= #{useOrgId} , t.use_use_tel= #{useUseTel} , t.machine_version= #{machineVersion} , t.charge_use_name= #{chargeUseName} , t.useful_life= #{usefulLife} , t.charge_use_id= #{chargeUseId} , t.create_time= #{createTime} , t.net_worth= #{netWorth} , t.charge_org_tel= #{chargeOrgTel} , t.type_id= #{typeId} , t.location_obj_id= #{locationObjId} , t.location_obj_name= #{locationObjName} , t.use_user_id= #{useUserId} where 1=1 and t.machine_id= #{machineId}