|  |  | @ -41,7 +41,7 @@ | 
			
		
	
		
		
			
				
					
					|  |  |  |     <insert id="insertWarehouse" keyProperty="id" parameterType="com.glxp.sale.admin.req.inout.WarehouseSaveRequest"> |  |  |  |     <insert id="insertWarehouse" keyProperty="id" parameterType="com.glxp.sale.admin.req.inout.WarehouseSaveRequest"> | 
			
		
	
		
		
			
				
					
					|  |  |  |         INSERT INTO io_codes(action, mainAction, code, corpOrderId, actor, actDate, |  |  |  |         INSERT INTO io_codes(action, mainAction, code, corpOrderId, actor, actDate, | 
			
		
	
		
		
			
				
					
					|  |  |  |                              fromCorpId, fromCorp, orderId, batchNo, produceDate, expireDate, |  |  |  |                              fromCorpId, fromCorp, orderId, batchNo, produceDate, expireDate, | 
			
		
	
		
		
			
				
					
					|  |  |  |                              serialNo, count, packageLevel, warehouseCode, nameCode, supId, relId, status, |  |  |  |                              serialNo, count, reCount, packageLevel, warehouseCode, nameCode, supId, relId, status, | 
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					|  |  |  |                              invStorageCode, invWarehouseCode, locStorageCode) |  |  |  |                              invStorageCode, invWarehouseCode, locStorageCode) | 
			
		
	
		
		
			
				
					
					|  |  |  |         values (#{action}, |  |  |  |         values (#{action}, | 
			
		
	
		
		
			
				
					
					|  |  |  |                 #{mainAction}, |  |  |  |                 #{mainAction}, | 
			
		
	
	
		
		
			
				
					|  |  | @ -51,7 +51,7 @@ | 
			
		
	
		
		
			
				
					
					|  |  |  |                 #{actDate}, |  |  |  |                 #{actDate}, | 
			
		
	
		
		
			
				
					
					|  |  |  |                 #{fromCorpId}, |  |  |  |                 #{fromCorpId}, | 
			
		
	
		
		
			
				
					
					|  |  |  |                 #{fromCorp}, #{orderId}, #{batchNo}, #{produceDate}, #{expireDate}, #{serialNo}, #{count}, |  |  |  |                 #{fromCorp}, #{orderId}, #{batchNo}, #{produceDate}, #{expireDate}, #{serialNo}, #{count}, | 
			
		
	
		
		
			
				
					
					|  |  |  |                 #{packageLevel}, #{warehouseCode}, |  |  |  |                 #{reCount}, #{packageLevel}, #{warehouseCode}, | 
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					|  |  |  |                 #{nameCode}, #{supId}, #{relId}, #{status}, #{invStorageCode}, #{invWarehouseCode}, #{locStorageCode}) |  |  |  |                 #{nameCode}, #{supId}, #{relId}, #{status}, #{invStorageCode}, #{invWarehouseCode}, #{locStorageCode}) | 
			
		
	
		
		
			
				
					
					|  |  |  |     </insert> |  |  |  |     </insert> | 
			
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  | 
 | 
			
		
	
	
		
		
			
				
					|  |  | @ -64,7 +64,7 @@ | 
			
		
	
		
		
			
				
					
					|  |  |  |         actor, |  |  |  |         actor, | 
			
		
	
		
		
			
				
					
					|  |  |  |         actDate, |  |  |  |         actDate, | 
			
		
	
		
		
			
				
					
					|  |  |  |         fromCorpId,fromCorp,orderId,batchNo,produceDate,expireDate, |  |  |  |         fromCorpId,fromCorp,orderId,batchNo,produceDate,expireDate, | 
			
		
	
		
		
			
				
					
					|  |  |  |         serialNo,count,packageLevel,warehouseCode,nameCode,supId, |  |  |  |         serialNo,count, reCount, packageLevel,warehouseCode,nameCode,supId, | 
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					|  |  |  |         relId,status,invStorageCode,invWarehouseCode,locStorageCode) |  |  |  |         relId,status,invStorageCode,invWarehouseCode,locStorageCode) | 
			
		
	
		
		
			
				
					
					|  |  |  |         VALUES |  |  |  |         VALUES | 
			
		
	
		
		
			
				
					
					|  |  |  |         <foreach collection="io_codesEntities" item="item" index="index" |  |  |  |         <foreach collection="io_codesEntities" item="item" index="index" | 
			
		
	
	
		
		
			
				
					|  |  | @ -77,13 +77,11 @@ | 
			
		
	
		
		
			
				
					
					|  |  |  |             #{item.actor}, |  |  |  |             #{item.actor}, | 
			
		
	
		
		
			
				
					
					|  |  |  |             #{item.actDate}, |  |  |  |             #{item.actDate}, | 
			
		
	
		
		
			
				
					
					|  |  |  |             #{item.fromCorpId}, |  |  |  |             #{item.fromCorpId}, | 
			
		
	
		
		
			
				
					
					|  |  |  |             #{ |  |  |  |             #{item.fromCorp},#{item.orderId},#{item.batchNo} | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |             item.fromCorp |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  |             },#{item.orderId},#{item.batchNo} |  |  |  |  | 
			
		
	
		
		
	
		
		
			
				
					
					|  |  |  |             ,#{item.produceDate} |  |  |  |             ,#{item.produceDate} | 
			
		
	
		
		
			
				
					
					|  |  |  |             ,#{item.expireDate} |  |  |  |             ,#{item.expireDate} | 
			
		
	
		
		
			
				
					
					|  |  |  |             ,#{item.serialNo} |  |  |  |             ,#{item.serialNo} | 
			
		
	
		
		
			
				
					
					|  |  |  |             ,#{item.count} |  |  |  |             ,#{item.count}, #{item.reCount} | 
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					|  |  |  |             ,#{item.packageLevel} ,#{item.warehouseCode},#{item.nameCode},#{item.supId} |  |  |  |             ,#{item.packageLevel} ,#{item.warehouseCode},#{item.nameCode},#{item.supId} | 
			
		
	
		
		
			
				
					
					|  |  |  |             ,#{item.relId},#{item.status},#{item.invStorageCode},#{item.invWarehouseCode},#{item.locStorageCode}) |  |  |  |             ,#{item.relId},#{item.status},#{item.invStorageCode},#{item.invWarehouseCode},#{item.locStorageCode}) | 
			
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  | 
 | 
			
		
	
	
		
		
			
				
					|  |  | @ -168,6 +166,7 @@ | 
			
		
	
		
		
			
				
					
					|  |  |  |             <if test="fromCorp != null">fromCorp=#{fromCorp},</if> |  |  |  |             <if test="fromCorp != null">fromCorp=#{fromCorp},</if> | 
			
		
	
		
		
			
				
					
					|  |  |  |             <if test="fromCorpId != null">fromCorpId=#{fromCorpId},</if> |  |  |  |             <if test="fromCorpId != null">fromCorpId=#{fromCorpId},</if> | 
			
		
	
		
		
			
				
					
					|  |  |  |             <if test="count != null">`count`=#{count},</if> |  |  |  |             <if test="count != null">`count`=#{count},</if> | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |             <if test="reCount != null">`reCount`=#{reCount},</if> | 
			
		
	
		
		
			
				
					
					|  |  |  |             <if test="status != null">status=#{status},</if> |  |  |  |             <if test="status != null">status=#{status},</if> | 
			
		
	
		
		
			
				
					
					|  |  |  |             <if test="serialNo != null">`serialNo`=#{serialNo},</if> |  |  |  |             <if test="serialNo != null">`serialNo`=#{serialNo},</if> | 
			
		
	
		
		
			
				
					
					|  |  |  |             <if test="supId != null">supId=#{supId},</if> |  |  |  |             <if test="supId != null">supId=#{supId},</if> | 
			
		
	
	
		
		
			
				
					|  |  | 
 |