insert into resource_store_use_record( unit_price,create_user_id,quantity,resource_store_name,rsur_id,repair_id,create_user_name,remark,store_id,res_id,state,community_id,status_cd ) values ( #{unitPrice},#{createUserId},#{quantity},#{resourceStoreName},#{rsurId},#{repairId},#{createUserName},#{remark},#{storeId},#{resId},#{state},#{communityId},#{statusCd} ) update resource_store_use_record t set t.status_cd = #{statusCd} ,t.b_id = #{newBId} , t.unit_price= #{unitPrice} , t.create_user_id= #{createUserId} , t.quantity= #{quantity} , t.resource_store_name= #{resourceStoreName} , t.repair_id= #{repairId} , t.create_user_name= #{createUserName} , t.remark= #{remark} , t.store_id= #{storeId} , t.res_id= #{resId} , t.state= #{state} , t.community_id= #{communityId} where 1=1 and t.rsur_id= #{rsurId}