| 
					
				 | 
			
			
				@@ -84,7 +84,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         where demand_id = #{demandId} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     </select> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				          
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-    <insert id="insertPmDemand" parameterType="PmDemand" useGeneratedKeys="true" keyProperty="demandId"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    <insert id="insertPmDemand" parameterType="com.ozs.pm.doman.PmDemand" useGeneratedKeys="true" keyProperty="demandId"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         insert into pm_demand 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         <trim prefix="(" suffix=")" suffixOverrides=","> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             <if test="planId != null">plan_id,</if> 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -148,7 +148,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				          </trim> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     </insert> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-    <update id="updatePmDemand" parameterType="PmDemand"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    <update id="updatePmDemand" parameterType="com.ozs.pm.doman.PmDemand"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         update pm_demand 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         <trim prefix="SET" suffixOverrides=","> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             <if test="planId != null">plan_id = #{planId},</if> 
			 |