create_by,
		create_time,
		update_by,
		update_time,
			id,
			check_id,
			symptom,
			percentage,
			analysis,
			solution,
			product_ids,
			img,
			t1,
			t2,
			t3,
			t4
	
	
	
	
		#{item.createBy},
		now(),
		#{item.updateBy},
		now(),
			#{item.id},
			#{item.checkId},
			#{item.symptom},
			#{item.percentage},
			#{item.analysis},
			#{item.solution},
			#{item.productIds},
			#{item.img},
			#{item.t1},
			#{item.t2},
			#{item.t3},
			#{item.t4}
	
	
	
	
		 
		 
			
				and id  = #{record.id} 
			
			
				and check_id  = #{record.checkId} 
			
			
				and symptom  = #{record.symptom} 
			
			
				and percentage  = #{record.percentage} 
			
			
				and analysis  = #{record.analysis} 
			
			
				and solution  = #{record.solution} 
			
			
				and product_ids  = #{record.productIds} 
			
			
				and img  = #{record.img} 
			
			
				and t1  = #{record.t1} 
			
			
				and t2  = #{record.t2} 
			
			
				and t3  = #{record.t3} 
			
			
				and t4  = #{record.t4} 
			
		
		 
	
	
	
	
		INSERT INTO sys_skin_detail (
			 
		)
	VALUES (
		 
	)
	
	
	
	
	
	
		INSERT INTO sys_skin_detail (
			
		)
	VALUES 
	(
			
	)
	
	
	
	
	
	
	
	
		UPDATE sys_skin_detail
		
			
					check_id = #{checkId},
						
			
					symptom = #{symptom},
						
			
					percentage = #{percentage},
						
			
					analysis = #{analysis},
						
			
					solution = #{solution},
						
			
					product_ids = #{productIds},
						
			
					img = #{img},
						
			
					t1 = #{t1},
						
			
					t2 = #{t2},
						
			
					t3 = #{t3},
						
			
					t4 = #{t4},
						
		
		WHERE id=#{id} 
	 
	
	
	
	
		UPDATE sys_skin_detail
		
			
				check_id  = #{record.checkId}, 
			
			
				symptom  = #{record.symptom}, 
			
			
				percentage  = #{record.percentage}, 
			
			
				analysis  = #{record.analysis}, 
			
			
				solution  = #{record.solution}, 
			
			
				product_ids  = #{record.productIds}, 
			
			
				img  = #{record.img}, 
			
			
				t1  = #{record.t1}, 
			
			
				t2  = #{record.t2}, 
			
			
				t3  = #{record.t3}, 
			
			
				t4  = #{record.t4}, 
			
		
		WHERE id=#{record.id} 
	
	
	
	
		delete from sys_skin_detail where  id in
		
			#{item}
		
	
		
	
	
		DELETE FROM sys_skin_detail
		where  id=#{id} 
	
	
	
	
		DELETE FROM sys_skin_detail
		
		
		
	
	
	
	
	
	
	
	
	
	
		
	
	
	
		
	
	
	
	
	
    
	
		delete from sys_skin_detail
		where check_id=#{checkId}