| 
					
				 | 
			
			
				@@ -72,14 +72,14 @@ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             stat.today_expect_publish_count as expectCount, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             stat.today_publish_count as publishCount, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             setting.publish_push_time as publishPushTime 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        FROM 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            publish_plan plan 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        FROM publish_plan plan 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         JOIN publish_plan_stat stat ON plan.id = stat.plan_id 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         JOIN publish_plan_setting setting ON plan.id = setting.plan_id 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         WHERE 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             stat.today_expect_publish_count > stat.today_publish_count 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				           AND plan.plan_status = 1 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				           AND setting.push_type = 2 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          and plan.create_timestamp < #{todayStart} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     </select> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     <select id="getPublishPlanPushType" resultType="java.lang.Integer"> 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -105,6 +105,7 @@ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                record.plan_id as producePlanId 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         from produce_plan_exe_record record 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         join produce_plan_module_output output on record.plan_exe_id = output.plan_exe_id and output.produce_module_type = 3 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        join publish_content pc on pc.source_id = record.plan_exe_id and pc.status = 2 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         where output.output in 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         <foreach collection="titleList" item="item" open="(" close=")" separator=","> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             #{item} 
			 |