|  | @@ -17,7 +17,8 @@
 | 
	
		
			
				|  |  |  		SELECT
 | 
	
		
			
				|  |  |  			a.id syShippingDetailsId,
 | 
	
		
			
				|  |  |  			b.id syShippingDetailsItemId,
 | 
	
		
			
				|  |  | -			IF(INSTR(c.OMPO_id,'-')>0,LEFT(c.OMPO_id,INSTR(c.OMPO_id,'-')-1),c.OMPO_id) PlanLotNumber,
 | 
	
		
			
				|  |  | +			/*IF(INSTR(c.OMPO_id,'-')>0,LEFT(c.OMPO_id,INSTR(c.OMPO_id,'-')-1),c.OMPO_id) PlanLotNumber,*/
 | 
	
		
			
				|  |  | +	IF(INSTR(b.pur_or_sub_order,'-')>0,LEFT(b.pur_or_sub_order,INSTR(b.pur_or_sub_order,'-')-1),b.pur_or_sub_order) PlanLotNumber,
 | 
	
		
			
				|  |  |  			a.declaration_Name,/*报关品名*/
 | 
	
		
			
				|  |  |  			c.master_Metering,/*主计量*/
 | 
	
		
			
				|  |  |  			b.salesman,/*业务员*/
 | 
	
	
		
			
				|  | @@ -49,9 +50,10 @@
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |  	<select id="getSyShippingDetailsDatas" resultType="org.jeecg.modules.splfi.entity.SyPackingListFabricItem">
 | 
	
		
			
				|  |  |  		SELECT
 | 
	
		
			
				|  |  | -		a.id syShippingDetailsId,
 | 
	
		
			
				|  |  | -		b.id syShippingDetailsItemId,
 | 
	
		
			
				|  |  | -			IF(INSTR(c.OMPO_id,'-')>0,LEFT(c.OMPO_id,INSTR(c.OMPO_id,'-')-1),c.OMPO_id) PlanLotNumber,
 | 
	
		
			
				|  |  | +			a.id syShippingDetailsId,
 | 
	
		
			
				|  |  | +			b.id syShippingDetailsItemId,
 | 
	
		
			
				|  |  | +			/*IF(INSTR(c.OMPO_id,'-')>0,LEFT(c.OMPO_id,INSTR(c.OMPO_id,'-')-1),c.OMPO_id) PlanLotNumber,*/
 | 
	
		
			
				|  |  | +			IF(INSTR(b.pur_or_sub_order,'-')>0,LEFT(b.pur_or_sub_order,INSTR(b.pur_or_sub_order,'-')-1),b.pur_or_sub_order) PlanLotNumber,
 | 
	
		
			
				|  |  |  			a.declaration_Name,/*报关品名*/
 | 
	
		
			
				|  |  |  			c.master_Metering,/*主计量*/
 | 
	
		
			
				|  |  |  			b.salesman,/*业务员*/
 | 
	
	
		
			
				|  | @@ -83,12 +85,12 @@
 | 
	
		
			
				|  |  |  		</foreach>
 | 
	
		
			
				|  |  |  	</select>
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  | -<!--	<select id="selectByMainId2" parameterType="java.lang.String" resultType="org.jeecg.modules.splfi.entity.SyPackingListFabricItem">
 | 
	
		
			
				|  |  | +	<select id="selectByMainId2" parameterType="java.lang.String" resultType="org.jeecg.modules.splfi.entity.SyPackingListFabricItem">
 | 
	
		
			
				|  |  |  		SELECT
 | 
	
		
			
				|  |  |  			*
 | 
	
		
			
				|  |  |  		FROM `sy_packing_list_fabric_item`
 | 
	
		
			
				|  |  |  		where del_flag=0 and
 | 
	
		
			
				|  |  |  		sy_packing_list_fabric_id=#{value}
 | 
	
		
			
				|  |  | -	</select>-->
 | 
	
		
			
				|  |  | +	</select>
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |  </mapper>
 |