insert into invoice_apply_item( item_id,apply_id,item_type,item_name,item_amount,item_obj_id,remark,community_id ) values ( #{itemId},#{applyId},#{itemType},#{itemName},#{itemAmount},#{itemObjId},#{remark},#{communityId} ) insert into invoice_apply_item( item_id,apply_id,item_type,item_name,item_amount,item_obj_id,remark,community_id ) values (#{item.itemId},#{item.applyId},#{item.itemType},#{item.itemName},#{item.itemAmount},#{item.itemObjId},#{item.remark},#{item.communityId}) update invoice_apply_item t set t.status_cd = #{statusCd} ,t.b_id = #{newBId} , t.item_type= #{itemType} , t.item_name= #{itemName} , t.item_amount= #{itemAmount} , t.item_obj_id= #{itemObjId} , t.remark= #{remark} where 1=1 and t.apply_id= #{applyId} and t.item_id= #{itemId} and t.community_id= #{communityId}