INSERT INTO lastest_work_beatuistaff (
			id,
			staff_id,
			staff_name,
			change_date,
			shop_id
		)
	VALUES (
			#{id},
			#{staffId},
			#{staffName},
			#{changeDate},
			#{shopId}
	)
	
	
	
	
	
		INSERT INTO lastest_work_beatuistaff (
			id,
			staff_id,
			staff_name,
			change_date,
			shop_id
		)
	VALUES 
	(
			#{item.id},
			#{item.staffId},
			#{item.staffName},
			#{item.changeDate},
			#{item.shopId}
	)
	
	
	
	
	
		UPDATE lastest_work_beatuistaff
		
				
					staff_id = #{staffId},
						
				
					staff_name = #{staffName},
						
				
					change_date = #{changeDate},
				
				
					shop_id = #{shopId},
				
						
		
		WHERE id=#{id} 
	
	
	
	
	
	
		delete from lastest_work_beatuistaff where  id in
		
			#{item}
		
	
		
	
	
		DELETE FROM lastest_work_beatuistaff
		where  id=#{id} 
	
	
	
	
		DELETE FROM lastest_work_beatuistaff
		where 1=1
		
			
				and id = #{record.id} 
			
			
				and staff_id = #{record.staffId} 
			
			
				and staff_name = #{record.staffName} 
			
			
				and change_date = #{record.changeDate} 
			
			
				and shop_id = #{record.shopId}