| 
						
						
							
								
							
						
						
					 | 
					 | 
					@ -2,7 +2,6 @@
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd" >
 | 
					 | 
					 | 
					 | 
					<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd" >
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					
 | 
					 | 
					 | 
					 | 
					
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					<mapper namespace="com.glxp.api.dao.purchase.SupProductDao">
 | 
					 | 
					 | 
					 | 
					<mapper namespace="com.glxp.api.dao.purchase.SupProductDao">
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					
 | 
					 | 
					 | 
					 | 
					 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					    <select id="findRegistration" parameterType="java.lang.Long"
 | 
					 | 
					 | 
					 | 
					    <select id="findRegistration" parameterType="java.lang.Long"
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					            resultType="com.glxp.api.entity.purchase.SupProductEntity">
 | 
					 | 
					 | 
					 | 
					            resultType="com.glxp.api.entity.purchase.SupProductEntity">
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					        SELECT *
 | 
					 | 
					 | 
					 | 
					        SELECT *
 | 
				
			
			
		
	
	
		
		
			
				
					| 
						
						
						
							
								
							
						
					 | 
					 | 
					@ -19,7 +18,8 @@
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					
 | 
					 | 
					 | 
					 | 
					
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					    <select id="filterProducts" parameterType="com.glxp.api.req.purchase.FilterPoductRequest"
 | 
					 | 
					 | 
					 | 
					    <select id="filterProducts" parameterType="com.glxp.api.req.purchase.FilterPoductRequest"
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					            resultType="com.glxp.api.entity.purchase.SupProductEntity">
 | 
					 | 
					 | 
					 | 
					            resultType="com.glxp.api.entity.purchase.SupProductEntity">
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					        SELECT sup_product.* FROM sup_product
 | 
					 | 
					 | 
					 | 
					        SELECT sup_product.*
 | 
				
			
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					        FROM sup_product
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					        <where>
 | 
					 | 
					 | 
					 | 
					        <where>
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					            <if test="id != null and id != ''">
 | 
					 | 
					 | 
					 | 
					            <if test="id != null and id != ''">
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					                and sup_product.id = #{id}
 | 
					 | 
					 | 
					 | 
					                and sup_product.id = #{id}
 | 
				
			
			
		
	
	
		
		
			
				
					| 
						
						
						
							
								
							
						
					 | 
					 | 
					@ -30,14 +30,19 @@
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					            <if test="enterpriseId != null and enterpriseId != ''">
 | 
					 | 
					 | 
					 | 
					            <if test="enterpriseId != null and enterpriseId != ''">
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					                and sup_product.enterpriseId = #{enterpriseId}
 | 
					 | 
					 | 
					 | 
					                and sup_product.enterpriseId = #{enterpriseId}
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					            </if>
 | 
					 | 
					 | 
					 | 
					            </if>
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					            <if test="relIdFk != null and relIdFk != ''">
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					                and sup_product.relIdFk = #{relIdFk}
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					            </if>
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					            <if test="recordCode != null and recordCode != ''">
 | 
					 | 
					 | 
					 | 
					            <if test="recordCode != null and recordCode != ''">
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					                and sup_product.recordCode like concat('%',#{recordCode},'%')
 | 
					 | 
					 | 
					 | 
					                and sup_product.recordCode like concat('%', #{recordCode}, '%')
 | 
				
			
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					            </if>
 | 
					 | 
					 | 
					 | 
					            </if>
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					            <if test="recordProductName != null and recordProductName != ''">
 | 
					 | 
					 | 
					 | 
					            <if test="recordProductName != null and recordProductName != ''">
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					                and sup_product.recordProductName like concat('%',#{recordProductName},'%')
 | 
					 | 
					 | 
					 | 
					                and sup_product.recordProductName like concat('%', #{recordProductName}, '%')
 | 
				
			
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					            </if>
 | 
					 | 
					 | 
					 | 
					            </if>
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					            <if test="recordPeopleName != null and recordPeopleName != ''">
 | 
					 | 
					 | 
					 | 
					            <if test="recordPeopleName != null and recordPeopleName != ''">
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					                and sup_product.recordPeopleName like concat('%',#{recordPeopleName},'%')
 | 
					 | 
					 | 
					 | 
					                and sup_product.recordPeopleName like concat('%', #{recordPeopleName}, '%')
 | 
				
			
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					            </if>
 | 
					 | 
					 | 
					 | 
					            </if>
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					            <if test="manufacturerIdFk != null and manufacturerIdFk != ''">
 | 
					 | 
					 | 
					 | 
					            <if test="manufacturerIdFk != null and manufacturerIdFk != ''">
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					                and sup_product.manufacturerIdFk = #{manufacturerIdFk}
 | 
					 | 
					 | 
					 | 
					                and sup_product.manufacturerIdFk = #{manufacturerIdFk}
 | 
				
			
			
		
	
	
		
		
			
				
					| 
						
						
						
							
								
							
						
					 | 
					 | 
					@ -45,21 +50,24 @@
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					            <if test="customerId != null and customerId != ''">
 | 
					 | 
					 | 
					 | 
					            <if test="customerId != null and customerId != ''">
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					                and sup_product.customerId = #{customerId}
 | 
					 | 
					 | 
					 | 
					                and sup_product.customerId = #{customerId}
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					            </if>
 | 
					 | 
					 | 
					 | 
					            </if>
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					            <if test="auditStatus != null and auditStatus !=20 and auditStatus !=22 and auditStatus !=21">
 | 
					 | 
					 | 
					 | 
					            <if test="auditStatus != null and auditStatus != 20 and auditStatus != 22 and auditStatus != 21">
 | 
				
			
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					                and sup_product.auditStatus = #{auditStatus}
 | 
					 | 
					 | 
					 | 
					                and sup_product.auditStatus = #{auditStatus}
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					            </if>
 | 
					 | 
					 | 
					 | 
					            </if>
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					            <if test="auditStatus ==20">
 | 
					 | 
					 | 
					 | 
					            <if test="auditStatus == 20">
 | 
				
			
			
				
				
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					                and (sup_product.auditStatus = 0 or sup_product.auditStatus=5 or
 | 
					 | 
					 | 
					 | 
					                and (sup_product.auditStatus = 0 or sup_product.auditStatus = 5 or
 | 
				
			
			
				
				
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					                sup_product.auditStatus=2)
 | 
					 | 
					 | 
					 | 
					                     sup_product.auditStatus = 2)
 | 
				
			
			
				
				
			
		
	
		
		
	
		
		
	
		
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					            </if>
 | 
					 | 
					 | 
					 | 
					            </if>
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					            <if test="auditStatus ==21">
 | 
					 | 
					 | 
					 | 
					            <if test="auditStatus == 21">
 | 
				
			
			
				
				
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					                and <![CDATA[ sup_product.auditStatus <> 0 ]]>
 | 
					 | 
					 | 
					 | 
					                and <![CDATA[ sup_product.auditStatus <> 0
 | 
				
			
			
				
				
			
		
	
		
		
	
		
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					                ]]>
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					            </if>
 | 
					 | 
					 | 
					 | 
					            </if>
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					            <if test="auditStatus ==22">
 | 
					 | 
					 | 
					 | 
					            <if test="auditStatus == 22">
 | 
				
			
			
				
				
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					                and (sup_product.auditStatus = 1 or sup_product.auditStatus=4 )
 | 
					 | 
					 | 
					 | 
					                and (sup_product.auditStatus = 1 or sup_product.auditStatus = 4)
 | 
				
			
			
				
				
			
		
	
		
		
	
		
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					            </if>
 | 
					 | 
					 | 
					 | 
					            </if>
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					            <if test="lastUpdateTime!=null and lastUpdateTime!=''">
 | 
					 | 
					 | 
					 | 
					            <if test="lastUpdateTime != null and lastUpdateTime != ''">
 | 
				
			
			
				
				
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					                <![CDATA[   and DATE_FORMAT(updateTime, '%Y-%m-%d %H:%i:%S')>=  DATE_FORMAT(#{lastUpdateTime}, '%Y-%m-%d %H:%i:%S')   ]]>
 | 
					 | 
					 | 
					 | 
					                <![CDATA[
 | 
				
			
			
				
				
			
		
	
		
		
	
		
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					                and DATE_FORMAT(updateTime, '%Y-%m-%d %H:%i:%S') >= DATE_FORMAT(#{lastUpdateTime}, '%Y-%m-%d %H:%i:%S')
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					                ]]>
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					            </if>
 | 
					 | 
					 | 
					 | 
					            </if>
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					        </where>
 | 
					 | 
					 | 
					 | 
					        </where>
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					    </select>
 | 
					 | 
					 | 
					 | 
					    </select>
 | 
				
			
			
		
	
	
		
		
			
				
					| 
						
						
						
							
								
							
						
					 | 
					 | 
					@ -67,8 +75,12 @@
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					
 | 
					 | 
					 | 
					 | 
					
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					    <select id="getRegistration" parameterType="com.glxp.api.req.purchase.FilterPoductRequest"
 | 
					 | 
					 | 
					 | 
					    <select id="getRegistration" parameterType="com.glxp.api.req.purchase.FilterPoductRequest"
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					            resultType="com.glxp.api.res.purchase.SupProductResponse">
 | 
					 | 
					 | 
					 | 
					            resultType="com.glxp.api.res.purchase.SupProductResponse">
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					        SELECT sup_product.* ,sup_company.companyName
 | 
					 | 
					 | 
					 | 
					        SELECT sup_product.*,
 | 
				
			
			
				
				
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					        supName,sup_manufacturer.companyName manufacturerName,sup_manufacturer.companyName FROM sup_product
 | 
					 | 
					 | 
					 | 
					               sup_company.companyName
 | 
				
			
			
				
				
			
		
	
		
		
	
		
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					                                            supName,
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					               sup_manufacturer.companyName manufacturerName,
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					               sup_manufacturer.companyName
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					        FROM sup_product
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					                     inner join sup_company
 | 
					 | 
					 | 
					 | 
					                     inner join sup_company
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					                on sup_product.customerId = sup_company.customerId
 | 
					 | 
					 | 
					 | 
					                on sup_product.customerId = sup_company.customerId
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					                     INNER JOIN sup_manufacturer
 | 
					 | 
					 | 
					 | 
					                     INNER JOIN sup_manufacturer
 | 
				
			
			
		
	
	
		
		
			
				
					| 
						
						
						
							
								
							
						
					 | 
					 | 
					@ -79,7 +91,6 @@
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					            <if test="id != null and id != ''">
 | 
					 | 
					 | 
					 | 
					            <if test="id != null and id != ''">
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					                and sup_product.id = #{id}
 | 
					 | 
					 | 
					 | 
					                and sup_product.id = #{id}
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					            </if>
 | 
					 | 
					 | 
					 | 
					            </if>
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					
 | 
					 | 
					 | 
					 | 
					 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					            <if test="productId != null and productId != ''">
 | 
					 | 
					 | 
					 | 
					            <if test="productId != null and productId != ''">
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					                and sup_product.productId = #{productId}
 | 
					 | 
					 | 
					 | 
					                and sup_product.productId = #{productId}
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					            </if>
 | 
					 | 
					 | 
					 | 
					            </if>
 | 
				
			
			
		
	
	
		
		
			
				
					| 
						
						
						
							
								
							
						
					 | 
					 | 
					@ -87,13 +98,13 @@
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					                and sup_product.enterpriseId = #{enterpriseId}
 | 
					 | 
					 | 
					 | 
					                and sup_product.enterpriseId = #{enterpriseId}
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					            </if>
 | 
					 | 
					 | 
					 | 
					            </if>
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					            <if test="recordCode != null and recordCode != ''">
 | 
					 | 
					 | 
					 | 
					            <if test="recordCode != null and recordCode != ''">
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					                and sup_product.recordCode like concat('%',#{recordCode},'%')
 | 
					 | 
					 | 
					 | 
					                and sup_product.recordCode like concat('%', #{recordCode}, '%')
 | 
				
			
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					            </if>
 | 
					 | 
					 | 
					 | 
					            </if>
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					            <if test="recordProductName != null and recordProductName != ''">
 | 
					 | 
					 | 
					 | 
					            <if test="recordProductName != null and recordProductName != ''">
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					                and sup_product.recordProductName like concat('%',#{recordProductName},'%')
 | 
					 | 
					 | 
					 | 
					                and sup_product.recordProductName like concat('%', #{recordProductName}, '%')
 | 
				
			
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					            </if>
 | 
					 | 
					 | 
					 | 
					            </if>
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					            <if test="recordPeopleName != null and recordPeopleName != ''">
 | 
					 | 
					 | 
					 | 
					            <if test="recordPeopleName != null and recordPeopleName != ''">
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					                and sup_product.recordPeopleName like concat('%',#{recordPeopleName},'%')
 | 
					 | 
					 | 
					 | 
					                and sup_product.recordPeopleName like concat('%', #{recordPeopleName}, '%')
 | 
				
			
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					            </if>
 | 
					 | 
					 | 
					 | 
					            </if>
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					            <if test="manufacturerIdFk != null and manufacturerIdFk != ''">
 | 
					 | 
					 | 
					 | 
					            <if test="manufacturerIdFk != null and manufacturerIdFk != ''">
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					                and sup_product.manufacturerIdFk = #{manufacturerIdFk}
 | 
					 | 
					 | 
					 | 
					                and sup_product.manufacturerIdFk = #{manufacturerIdFk}
 | 
				
			
			
		
	
	
		
		
			
				
					| 
						
						
						
							
								
							
						
					 | 
					 | 
					@ -101,72 +112,152 @@
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					            <if test="customerId != null and customerId != ''">
 | 
					 | 
					 | 
					 | 
					            <if test="customerId != null and customerId != ''">
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					                and sup_product.customerId = #{customerId}
 | 
					 | 
					 | 
					 | 
					                and sup_product.customerId = #{customerId}
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					            </if>
 | 
					 | 
					 | 
					 | 
					            </if>
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					            <if test="auditStatus != null and auditStatus !=20 and auditStatus !=22 and auditStatus !=21">
 | 
					 | 
					 | 
					 | 
					            <if test="auditStatus != null and auditStatus != 20 and auditStatus != 22 and auditStatus != 21">
 | 
				
			
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					                and sup_product.auditStatus = #{auditStatus}
 | 
					 | 
					 | 
					 | 
					                and sup_product.auditStatus = #{auditStatus}
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					            </if>
 | 
					 | 
					 | 
					 | 
					            </if>
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					            <if test="auditStatus ==20">
 | 
					 | 
					 | 
					 | 
					            <if test="auditStatus == 20">
 | 
				
			
			
				
				
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					                and (sup_product.auditStatus = 0 or sup_product.auditStatus=5 or
 | 
					 | 
					 | 
					 | 
					                and (sup_product.auditStatus = 0 or sup_product.auditStatus = 5 or
 | 
				
			
			
				
				
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					                sup_product.auditStatus=2)
 | 
					 | 
					 | 
					 | 
					                     sup_product.auditStatus = 2)
 | 
				
			
			
				
				
			
		
	
		
		
	
		
		
	
		
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					            </if>
 | 
					 | 
					 | 
					 | 
					            </if>
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					            <if test="auditStatus ==21">
 | 
					 | 
					 | 
					 | 
					            <if test="auditStatus == 21">
 | 
				
			
			
				
				
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					                and <![CDATA[ sup_product.auditStatus <> 0 ]]>
 | 
					 | 
					 | 
					 | 
					                and <![CDATA[ sup_product.auditStatus <> 0
 | 
				
			
			
				
				
			
		
	
		
		
	
		
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					                ]]>
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					            </if>
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					            <if test="relIdFk != null and relIdFk != ''">
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					                and sup_product.relIdFk = #{relIdFk}
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					            </if>
 | 
					 | 
					 | 
					 | 
					            </if>
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					
 | 
					 | 
					 | 
					 | 
					
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					            <if test="auditStatus ==22">
 | 
					 | 
					 | 
					 | 
					            <if test="auditStatus == 22">
 | 
				
			
			
				
				
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					                and (sup_product.auditStatus = 1 or sup_product.auditStatus=4 )
 | 
					 | 
					 | 
					 | 
					                and (sup_product.auditStatus = 1 or sup_product.auditStatus = 4)
 | 
				
			
			
				
				
			
		
	
		
		
	
		
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					            </if>
 | 
					 | 
					 | 
					 | 
					            </if>
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					        </where>
 | 
					 | 
					 | 
					 | 
					        </where>
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					    </select>
 | 
					 | 
					 | 
					 | 
					    </select>
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					
 | 
					 | 
					 | 
					 | 
					
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					    <update id="modifyRegistration" parameterType="com.glxp.api.entity.purchase.SupProductEntity">
 | 
					 | 
					 | 
					 | 
					    <update id="modifyRegistration" parameterType="com.glxp.api.entity.purchase.SupProductEntity">
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					
 | 
					 | 
					 | 
					 | 
					 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					        UPDATE sup_product
 | 
					 | 
					 | 
					 | 
					        UPDATE sup_product
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					        <set>
 | 
					 | 
					 | 
					 | 
					        <set>
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					            <if test="enterpriseId != null">enterpriseId=#{enterpriseId},</if>
 | 
					 | 
					 | 
					 | 
					            <if test="enterpriseId != null">
 | 
				
			
			
				
				
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					            <if test="recordCode != null">recordCode=#{recordCode},</if>
 | 
					 | 
					 | 
					 | 
					                enterpriseId=#{enterpriseId},
 | 
				
			
			
				
				
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					            <if test="recordProductName != null">recordProductName=#{recordProductName},</if>
 | 
					 | 
					 | 
					 | 
					            </if>
 | 
				
			
			
				
				
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					            <if test="productManageType != null">productManageType=#{productManageType},</if>
 | 
					 | 
					 | 
					 | 
					            <if test="recordCode != null">
 | 
				
			
			
				
				
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					            <if test="recordPeopleName != null">recordPeopleName=#{recordPeopleName},</if>
 | 
					 | 
					 | 
					 | 
					                recordCode=#{recordCode},
 | 
				
			
			
				
				
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					            <if test="recordPeopleArea != null">recordPeopleArea=#{recordPeopleArea},</if>
 | 
					 | 
					 | 
					 | 
					            </if>
 | 
				
			
			
				
				
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					            <if test="recordPeopleAreaCode != null">recordPeopleAreaCode=#{recordPeopleAreaCode},</if>
 | 
					 | 
					 | 
					 | 
					            <if test="recordProductName != null">
 | 
				
			
			
				
				
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					            <if test="recordPeopleAddress != null">recordPeopleAddress=#{recordPeopleAddress},</if>
 | 
					 | 
					 | 
					 | 
					                recordProductName=#{recordProductName},
 | 
				
			
			
				
				
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					            <if test="productType != null">productType=#{productType},</if>
 | 
					 | 
					 | 
					 | 
					            </if>
 | 
				
			
			
				
				
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					            <if test="productDirectoryCode != null">productDirectoryCode=#{productDirectoryCode},</if>
 | 
					 | 
					 | 
					 | 
					            <if test="productManageType != null">
 | 
				
			
			
				
				
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					            <if test="agentName != null">agentName=#{agentName},</if>
 | 
					 | 
					 | 
					 | 
					                productManageType=#{productManageType},
 | 
				
			
			
				
				
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					            <if test="agentArea != null">agentArea=#{agentArea},</if>
 | 
					 | 
					 | 
					 | 
					            </if>
 | 
				
			
			
				
				
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					            <if test="agentAreaCode != null">agentAreaCode=#{agentAreaCode},</if>
 | 
					 | 
					 | 
					 | 
					            <if test="recordPeopleName != null">
 | 
				
			
			
				
				
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					            <if test="agentAddress != null">agentAddress=#{agentAddress},</if>
 | 
					 | 
					 | 
					 | 
					                recordPeopleName=#{recordPeopleName},
 | 
				
			
			
				
				
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					            <if test="instructions != null">instructions=#{instructions},</if>
 | 
					 | 
					 | 
					 | 
					            </if>
 | 
				
			
			
				
				
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					            <if test="productAddress != null">productAddress=#{productAddress},</if>
 | 
					 | 
					 | 
					 | 
					            <if test="recordPeopleArea != null">
 | 
				
			
			
				
				
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					            <if test="recordText != null">recordText=#{recordText},</if>
 | 
					 | 
					 | 
					 | 
					                recordPeopleArea=#{recordPeopleArea},
 | 
				
			
			
				
				
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					            <if test="placeOrigin != null">placeOrigin=#{placeOrigin},</if>
 | 
					 | 
					 | 
					 | 
					            </if>
 | 
				
			
			
				
				
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					            <if test="productionRegion != null">productionRegion=#{productionRegion},</if>
 | 
					 | 
					 | 
					 | 
					            <if test="recordPeopleAreaCode != null">
 | 
				
			
			
				
				
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					            <if test="productionCompanyName != null">productionCompanyName=#{productionCompanyName},</if>
 | 
					 | 
					 | 
					 | 
					                recordPeopleAreaCode=#{recordPeopleAreaCode},
 | 
				
			
			
				
				
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					            <if test="afterSale != null">afterSale=#{afterSale},</if>
 | 
					 | 
					 | 
					 | 
					            </if>
 | 
				
			
			
				
				
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					            <if test="specification != null">specification=#{specification},</if>
 | 
					 | 
					 | 
					 | 
					            <if test="recordPeopleAddress != null">
 | 
				
			
			
				
				
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					            <if test="structure != null">structure=#{structure},</if>
 | 
					 | 
					 | 
					 | 
					                recordPeopleAddress=#{recordPeopleAddress},
 | 
				
			
			
				
				
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					            <if test="scope != null">scope=#{scope},</if>
 | 
					 | 
					 | 
					 | 
					            </if>
 | 
				
			
			
				
				
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					            <if test="other != null">other=#{other},</if>
 | 
					 | 
					 | 
					 | 
					            <if test="productType != null">
 | 
				
			
			
				
				
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					            <if test="filePath != null">filePath=#{filePath},</if>
 | 
					 | 
					 | 
					 | 
					                productType=#{productType},
 | 
				
			
			
				
				
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					            <if test="remark != null">remark=#{remark},</if>
 | 
					 | 
					 | 
					 | 
					            </if>
 | 
				
			
			
				
				
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					            <if test="createTime != null">createTime=#{createTime},</if>
 | 
					 | 
					 | 
					 | 
					            <if test="productDirectoryCode != null">
 | 
				
			
			
				
				
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					            <if test="updateTime != null">updateTime=#{updateTime},</if>
 | 
					 | 
					 | 
					 | 
					                productDirectoryCode=#{productDirectoryCode},
 | 
				
			
			
				
				
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					            <if test="manufacturerIdFk != null">manufacturerIdFk=#{manufacturerIdFk},</if>
 | 
					 | 
					 | 
					 | 
					            </if>
 | 
				
			
			
				
				
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					            <if test="customerId != null">customerId=#{customerId},</if>
 | 
					 | 
					 | 
					 | 
					            <if test="agentName != null">
 | 
				
			
			
				
				
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					            <if test="productId != null">productId=#{productId},</if>
 | 
					 | 
					 | 
					 | 
					                agentName=#{agentName},
 | 
				
			
			
				
				
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					            <if test="auditStatus != null">auditStatus=#{auditStatus},</if>
 | 
					 | 
					 | 
					 | 
					            </if>
 | 
				
			
			
				
				
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					            <if test="auditComment != null">auditComment=#{auditComment},</if>
 | 
					 | 
					 | 
					 | 
					            <if test="agentArea != null">
 | 
				
			
			
				
				
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					            <if test="sptm != null">sptm=#{sptm},</if>
 | 
					 | 
					 | 
					 | 
					                agentArea=#{agentArea},
 | 
				
			
			
				
				
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					            <if test="ybbm != null">ybbm=#{ybbm},</if>
 | 
					 | 
					 | 
					 | 
					            </if>
 | 
				
			
			
				
				
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					            <if test="measname != null">measname=#{measname},</if>
 | 
					 | 
					 | 
					 | 
					            <if test="agentAreaCode != null">
 | 
				
			
			
				
				
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					            <if test="cpms != null">cpms=#{cpms},</if>
 | 
					 | 
					 | 
					 | 
					                agentAreaCode=#{agentAreaCode},
 | 
				
			
			
				
				
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					            <if test="hchzsb != null">hchzsb=#{hchzsb},</if>
 | 
					 | 
					 | 
					 | 
					            </if>
 | 
				
			
			
				
				
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					            <if test="relIdFk != null">relIdFk=#{relIdFk},</if>
 | 
					 | 
					 | 
					 | 
					            <if test="agentAddress != null">
 | 
				
			
			
				
				
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					
 | 
					 | 
					 | 
					 | 
					                agentAddress=#{agentAddress},
 | 
				
			
			
				
				
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					
 | 
					 | 
					 | 
					 | 
					            </if>
 | 
				
			
			
				
				
			
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					            <if test="instructions != null">
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					                instructions=#{instructions},
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					            </if>
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					            <if test="productAddress != null">
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					                productAddress=#{productAddress},
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					            </if>
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					            <if test="recordText != null">
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					                recordText=#{recordText},
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					            </if>
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					            <if test="placeOrigin != null">
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					                placeOrigin=#{placeOrigin},
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					            </if>
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					            <if test="productionRegion != null">
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					                productionRegion=#{productionRegion},
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					            </if>
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					            <if test="productionCompanyName != null">
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					                productionCompanyName=#{productionCompanyName},
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					            </if>
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					            <if test="afterSale != null">
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					                afterSale=#{afterSale},
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					            </if>
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					            <if test="specification != null">
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					                specification=#{specification},
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					            </if>
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					            <if test="structure != null">
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					                structure=#{structure},
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					            </if>
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					            <if test="scope != null">
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					                scope=#{scope},
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					            </if>
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					            <if test="other != null">
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					                other=#{other},
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					            </if>
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					            <if test="filePath != null">
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					                filePath=#{filePath},
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					            </if>
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					            <if test="remark != null">
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					                remark=#{remark},
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					            </if>
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					            <if test="createTime != null">
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					                createTime=#{createTime},
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					            </if>
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					            <if test="updateTime != null">
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					                updateTime=#{updateTime},
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					            </if>
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					            <if test="manufacturerIdFk != null">
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					                manufacturerIdFk=#{manufacturerIdFk},
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					            </if>
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					            <if test="customerId != null">
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					                customerId=#{customerId},
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					            </if>
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					            <if test="productId != null">
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					                productId=#{productId},
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					            </if>
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					            <if test="auditStatus != null">
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					                auditStatus=#{auditStatus},
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					            </if>
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					            <if test="auditComment != null">
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					                auditComment=#{auditComment},
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					            </if>
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					            <if test="sptm != null">
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					                sptm=#{sptm},
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					            </if>
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					            <if test="ybbm != null">
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					                ybbm=#{ybbm},
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					            </if>
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					            <if test="measname != null">
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					                measname=#{measname},
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					            </if>
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					            <if test="cpms != null">
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					                cpms=#{cpms},
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					            </if>
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					            <if test="hchzsb != null">
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					                hchzsb=#{hchzsb},
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					            </if>
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					            <if test="relIdFk != null">
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					                relIdFk=#{relIdFk},
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					            </if>
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					        </set>
 | 
					 | 
					 | 
					 | 
					        </set>
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					        WHERE id=#{id}
 | 
					 | 
					 | 
					 | 
					        WHERE id = #{id}
 | 
				
			
			
				
				
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					
 | 
					 | 
					 | 
					 | 
					 | 
				
			
			
		
	
		
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					    </update>
 | 
					 | 
					 | 
					 | 
					    </update>
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					
 | 
					 | 
					 | 
					 | 
					
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					    <insert id="insertRegistration" parameterType="com.glxp.api.entity.purchase.SupProductEntity">
 | 
					 | 
					 | 
					 | 
					    <insert id="insertRegistration" parameterType="com.glxp.api.entity.purchase.SupProductEntity">
 | 
				
			
			
		
	
	
		
		
			
				
					| 
						
						
						
							
								
							
						
					 | 
					 | 
					@ -181,9 +272,8 @@
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					                                 specification, structure, `scope`,
 | 
					 | 
					 | 
					 | 
					                                 specification, structure, `scope`,
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					                                 other, filePath, remark,
 | 
					 | 
					 | 
					 | 
					                                 other, filePath, remark,
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					                                 createTime, updateTime, manufacturerIdFk, customerId, productId
 | 
					 | 
					 | 
					 | 
					                                 createTime, updateTime, manufacturerIdFk, customerId, productId
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					            , auditStatus, auditComment, sptm, ybbm, measname, cpms, hchzsb,relIdFk)
 | 
					 | 
					 | 
					 | 
					                , auditStatus, auditComment, sptm, ybbm, measname, cpms, hchzsb, relIdFk)
 | 
				
			
			
				
				
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					        values (
 | 
					 | 
					 | 
					 | 
					        values (#{enterpriseId},
 | 
				
			
			
				
				
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					        #{enterpriseId},
 | 
					 | 
					 | 
					 | 
					 | 
				
			
			
		
	
		
		
	
		
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					                #{recordCode},
 | 
					 | 
					 | 
					 | 
					                #{recordCode},
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					                #{recordProductName},
 | 
					 | 
					 | 
					 | 
					                #{recordProductName},
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					                #{productManageType},
 | 
					 | 
					 | 
					 | 
					                #{productManageType},
 | 
				
			
			
		
	
	
		
		
			
				
					| 
						
							
								
							
						
						
							
								
							
						
						
					 | 
					 | 
					@ -222,8 +312,7 @@
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					                #{ybbm},
 | 
					 | 
					 | 
					 | 
					                #{ybbm},
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					                #{measname},
 | 
					 | 
					 | 
					 | 
					                #{measname},
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					                #{cpms},
 | 
					 | 
					 | 
					 | 
					                #{cpms},
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					        #{hchzsb},#{relIdFk}
 | 
					 | 
					 | 
					 | 
					                #{hchzsb}, #{relIdFk})
 | 
				
			
			
				
				
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					        )
 | 
					 | 
					 | 
					 | 
					 | 
				
			
			
		
	
		
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					    </insert>
 | 
					 | 
					 | 
					 | 
					    </insert>
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					
 | 
					 | 
					 | 
					 | 
					
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					    <delete id="deleteById" parameterType="Map">
 | 
					 | 
					 | 
					 | 
					    <delete id="deleteById" parameterType="Map">
 | 
				
			
			
		
	
	
		
		
			
				
					| 
						
						
						
							
								
							
						
					 | 
					 | 
					@ -237,5 +326,4 @@
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					        FROM sup_product
 | 
					 | 
					 | 
					 | 
					        FROM sup_product
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					        WHERE enterpriseId = #{enterpriseId}
 | 
					 | 
					 | 
					 | 
					        WHERE enterpriseId = #{enterpriseId}
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					    </delete>
 | 
					 | 
					 | 
					 | 
					    </delete>
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					
 | 
					 | 
					 | 
					 | 
					 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					</mapper>
 | 
					 | 
					 | 
					 | 
					</mapper>
 | 
				
			
			
		
	
	
		
		
			
				
					| 
						
						
						
					 | 
					 | 
					
 
 |