|  |  |  | @ -2,19 +2,19 @@ | 
			
		
	
		
			
				
					|  |  |  |  | <!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd" > | 
			
		
	
		
			
				
					|  |  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |  | <mapper namespace="com.glxp.api.dao.basic.ProductInfoDao"> | 
			
		
	
		
			
				
					|  |  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |  |     <select id="filterProductInfo" parameterType="com.glxp.api.req.basic.ProductInfoFilterRequest" | 
			
		
	
		
			
				
					|  |  |  |  |             resultType="com.glxp.api.entity.basic.ProductInfoEntity"> | 
			
		
	
		
			
				
					|  |  |  |  |         SELECT * FROM productinfo | 
			
		
	
		
			
				
					|  |  |  |  |         SELECT * | 
			
		
	
		
			
				
					|  |  |  |  |         FROM productinfo | 
			
		
	
		
			
				
					|  |  |  |  |         <where> | 
			
		
	
		
			
				
					|  |  |  |  |             <if test="ylqxzcrbarmc != '' and ylqxzcrbarmc != null"> | 
			
		
	
		
			
				
					|  |  |  |  |                 AND ylqxzcrbarmc LIKE concat(#{ylqxzcrbarmc},'%') | 
			
		
	
		
			
				
					|  |  |  |  |                 AND ylqxzcrbarmc LIKE concat(#{ylqxzcrbarmc}, '%') | 
			
		
	
		
			
				
					|  |  |  |  |             </if> | 
			
		
	
		
			
				
					|  |  |  |  |             <if test="cpmctymc != '' and cpmctymc != null"> | 
			
		
	
		
			
				
					|  |  |  |  |                 AND cpmctymc LIKE concat(#{cpmctymc},'%') | 
			
		
	
		
			
				
					|  |  |  |  |                 AND cpmctymc LIKE concat(#{cpmctymc}, '%') | 
			
		
	
		
			
				
					|  |  |  |  |             </if> | 
			
		
	
		
			
				
					|  |  |  |  |             <if test="nameCode != '' and nameCode != null"> | 
			
		
	
		
			
				
					|  |  |  |  |                 AND nameCode LIKE concat(#{nameCode},'%') | 
			
		
	
		
			
				
					|  |  |  |  |                 AND nameCode LIKE concat(#{nameCode}, '%') | 
			
		
	
		
			
				
					|  |  |  |  |             </if> | 
			
		
	
		
			
				
					|  |  |  |  |             <if test="uuid != '' and uuid != null"> | 
			
		
	
		
			
				
					|  |  |  |  |                 AND uuid = #{uuid} | 
			
		
	
	
		
			
				
					|  |  |  | @ -23,31 +23,31 @@ | 
			
		
	
		
			
				
					|  |  |  |  |                 AND deviceRecordKey = #{deviceRecordKey} | 
			
		
	
		
			
				
					|  |  |  |  |             </if> | 
			
		
	
		
			
				
					|  |  |  |  |             <if test="ggxh != '' and ggxh != null"> | 
			
		
	
		
			
				
					|  |  |  |  |                 AND ggxh LIKE concat(#{ggxh},'%') | 
			
		
	
		
			
				
					|  |  |  |  |                 AND ggxh LIKE concat(#{ggxh}, '%') | 
			
		
	
		
			
				
					|  |  |  |  |             </if> | 
			
		
	
		
			
				
					|  |  |  |  |             <if test="tyshxydm != '' and tyshxydm != null"> | 
			
		
	
		
			
				
					|  |  |  |  |                 AND tyshxydm = #{tyshxydm} | 
			
		
	
		
			
				
					|  |  |  |  |             </if> | 
			
		
	
		
			
				
					|  |  |  |  |             <if test="updateTime!=null and updateTime!=''"> | 
			
		
	
		
			
				
					|  |  |  |  |                 <![CDATA[   and updateTime>=  DATE_FORMAT(#{updateTime}, '%Y-%m-%d %H:%i:%S')   ]]> | 
			
		
	
		
			
				
					|  |  |  |  |             <if test="updateTime != null and updateTime != ''"> | 
			
		
	
		
			
				
					|  |  |  |  |                 <![CDATA[ | 
			
		
	
		
			
				
					|  |  |  |  |                 and updateTime >= DATE_FORMAT(#{updateTime}, '%Y-%m-%d %H:%i:%S') | 
			
		
	
		
			
				
					|  |  |  |  |                 ]]> | 
			
		
	
		
			
				
					|  |  |  |  |             </if> | 
			
		
	
		
			
				
					|  |  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |  |         </where> | 
			
		
	
		
			
				
					|  |  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |  |     </select> | 
			
		
	
		
			
				
					|  |  |  |  |     <select id="filterProductGroup" parameterType="com.glxp.api.req.basic.ProductInfoFilterRequest" | 
			
		
	
		
			
				
					|  |  |  |  |             resultType="com.glxp.api.entity.basic.ProductInfoEntity"> | 
			
		
	
		
			
				
					|  |  |  |  |         SELECT * FROM productinfo | 
			
		
	
		
			
				
					|  |  |  |  |         SELECT * | 
			
		
	
		
			
				
					|  |  |  |  |         FROM productinfo | 
			
		
	
		
			
				
					|  |  |  |  |         <where> | 
			
		
	
		
			
				
					|  |  |  |  |             <if test="ylqxzcrbarmc != '' and ylqxzcrbarmc != null"> | 
			
		
	
		
			
				
					|  |  |  |  |                 AND ylqxzcrbarmc LIKE concat(#{ylqxzcrbarmc},'%') | 
			
		
	
		
			
				
					|  |  |  |  |                 AND ylqxzcrbarmc LIKE concat(#{ylqxzcrbarmc}, '%') | 
			
		
	
		
			
				
					|  |  |  |  |             </if> | 
			
		
	
		
			
				
					|  |  |  |  |             <if test="cpmctymc != '' and cpmctymc != null"> | 
			
		
	
		
			
				
					|  |  |  |  |                 AND cpmctymc LIKE concat(#{cpmctymc},'%') | 
			
		
	
		
			
				
					|  |  |  |  |                 AND cpmctymc LIKE concat(#{cpmctymc}, '%') | 
			
		
	
		
			
				
					|  |  |  |  |             </if> | 
			
		
	
		
			
				
					|  |  |  |  |             <if test="nameCode != '' and nameCode != null"> | 
			
		
	
		
			
				
					|  |  |  |  |                 AND nameCode LIKE concat(#{nameCode},'%') | 
			
		
	
		
			
				
					|  |  |  |  |                 AND nameCode LIKE concat(#{nameCode}, '%') | 
			
		
	
		
			
				
					|  |  |  |  |             </if> | 
			
		
	
		
			
				
					|  |  |  |  |             <if test="uuid != '' and uuid != null"> | 
			
		
	
		
			
				
					|  |  |  |  |                 AND uuid = #{uuid} | 
			
		
	
	
		
			
				
					|  |  |  | @ -56,13 +56,15 @@ | 
			
		
	
		
			
				
					|  |  |  |  |                 AND deviceRecordKey = #{deviceRecordKey} | 
			
		
	
		
			
				
					|  |  |  |  |             </if> | 
			
		
	
		
			
				
					|  |  |  |  |             <if test="ggxh != '' and ggxh != null"> | 
			
		
	
		
			
				
					|  |  |  |  |                 AND ggxh LIKE concat(#{ggxh},'%') | 
			
		
	
		
			
				
					|  |  |  |  |                 AND ggxh LIKE concat(#{ggxh}, '%') | 
			
		
	
		
			
				
					|  |  |  |  |             </if> | 
			
		
	
		
			
				
					|  |  |  |  |             <if test="tyshxydm != '' and tyshxydm != null"> | 
			
		
	
		
			
				
					|  |  |  |  |                 AND tyshxydm = #{tyshxydm} | 
			
		
	
		
			
				
					|  |  |  |  |             </if> | 
			
		
	
		
			
				
					|  |  |  |  |             <if test="updateTime!=null and updateTime!=''"> | 
			
		
	
		
			
				
					|  |  |  |  |                 <![CDATA[   and updateTime>=  DATE_FORMAT(#{updateTime}, '%Y-%m-%d %H:%i:%S')   ]]> | 
			
		
	
		
			
				
					|  |  |  |  |             <if test="updateTime != null and updateTime != ''"> | 
			
		
	
		
			
				
					|  |  |  |  |                 <![CDATA[ | 
			
		
	
		
			
				
					|  |  |  |  |                 and updateTime >= DATE_FORMAT(#{updateTime}, '%Y-%m-%d %H:%i:%S') | 
			
		
	
		
			
				
					|  |  |  |  |                 ]]> | 
			
		
	
		
			
				
					|  |  |  |  |             </if> | 
			
		
	
		
			
				
					|  |  |  |  |         </where> | 
			
		
	
		
			
				
					|  |  |  |  |         GROUP BY uuid | 
			
		
	
	
		
			
				
					|  |  |  | @ -70,22 +72,25 @@ | 
			
		
	
		
			
				
					|  |  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |  |     <select id="filterCpmctymc" parameterType="com.glxp.api.req.basic.ProductInfoFilterRequest" | 
			
		
	
		
			
				
					|  |  |  |  |             resultType="com.glxp.api.entity.basic.ProductInfoEntity"> | 
			
		
	
		
			
				
					|  |  |  |  |         select * from productinfo | 
			
		
	
		
			
				
					|  |  |  |  |         select * | 
			
		
	
		
			
				
					|  |  |  |  |         from productinfo | 
			
		
	
		
			
				
					|  |  |  |  |         <where> | 
			
		
	
		
			
				
					|  |  |  |  |             <if test="tyshxydm != '' and tyshxydm != null"> | 
			
		
	
		
			
				
					|  |  |  |  |                 AND tyshxydm = #{tyshxydm} | 
			
		
	
		
			
				
					|  |  |  |  |             </if> | 
			
		
	
		
			
				
					|  |  |  |  |             <if test="cpmctymc != '' and cpmctymc != null"> | 
			
		
	
		
			
				
					|  |  |  |  |                 AND cpmctymc LIKE concat(#{cpmctymc},'%') | 
			
		
	
		
			
				
					|  |  |  |  |                 AND cpmctymc LIKE concat(#{cpmctymc}, '%') | 
			
		
	
		
			
				
					|  |  |  |  |             </if> | 
			
		
	
		
			
				
					|  |  |  |  |             <if test="nameCode != '' and nameCode != null"> | 
			
		
	
		
			
				
					|  |  |  |  |                 AND nameCode LIKE concat(#{nameCode},'%') | 
			
		
	
		
			
				
					|  |  |  |  |                 AND nameCode LIKE concat(#{nameCode}, '%') | 
			
		
	
		
			
				
					|  |  |  |  |             </if> | 
			
		
	
		
			
				
					|  |  |  |  |             <if test="uuid != '' and uuid != null"> | 
			
		
	
		
			
				
					|  |  |  |  |                 AND uuid = #{uuid} | 
			
		
	
		
			
				
					|  |  |  |  |             </if> | 
			
		
	
		
			
				
					|  |  |  |  |             <if test="updateTime!=null and updateTime!=''"> | 
			
		
	
		
			
				
					|  |  |  |  |                 <![CDATA[   and updateTime>=  DATE_FORMAT(#{updateTime}, '%Y-%m-%d %H:%i:%S')   ]]> | 
			
		
	
		
			
				
					|  |  |  |  |             <if test="updateTime != null and updateTime != ''"> | 
			
		
	
		
			
				
					|  |  |  |  |                 <![CDATA[ | 
			
		
	
		
			
				
					|  |  |  |  |                 and updateTime >= DATE_FORMAT(#{updateTime}, '%Y-%m-%d %H:%i:%S') | 
			
		
	
		
			
				
					|  |  |  |  |                 ]]> | 
			
		
	
		
			
				
					|  |  |  |  |             </if> | 
			
		
	
		
			
				
					|  |  |  |  |         </where> | 
			
		
	
		
			
				
					|  |  |  |  |         GROUP BY cpmctymc | 
			
		
	
	
		
			
				
					|  |  |  | @ -94,23 +99,26 @@ | 
			
		
	
		
			
				
					|  |  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |  |     <select id="filterUdiByTyshxydm" parameterType="com.glxp.api.req.basic.ProductInfoFilterRequest" | 
			
		
	
		
			
				
					|  |  |  |  |             resultType="com.glxp.api.entity.basic.ProductInfoEntity"> | 
			
		
	
		
			
				
					|  |  |  |  |         SELECT * FROM productinfo | 
			
		
	
		
			
				
					|  |  |  |  |         SELECT * | 
			
		
	
		
			
				
					|  |  |  |  |         FROM productinfo | 
			
		
	
		
			
				
					|  |  |  |  |         <where> | 
			
		
	
		
			
				
					|  |  |  |  |             diType = 1 | 
			
		
	
		
			
				
					|  |  |  |  |             <if test="tyshxydm != '' and tyshxydm != null"> | 
			
		
	
		
			
				
					|  |  |  |  |                 AND tyshxydm = #{tyshxydm} | 
			
		
	
		
			
				
					|  |  |  |  |             </if> | 
			
		
	
		
			
				
					|  |  |  |  |             <if test="cpmctymc != '' and cpmctymc != null"> | 
			
		
	
		
			
				
					|  |  |  |  |                 AND cpmctymc LIKE concat(#{cpmctymc},'%') | 
			
		
	
		
			
				
					|  |  |  |  |                 AND cpmctymc LIKE concat(#{cpmctymc}, '%') | 
			
		
	
		
			
				
					|  |  |  |  |             </if> | 
			
		
	
		
			
				
					|  |  |  |  |             <if test="nameCode != '' and nameCode != null"> | 
			
		
	
		
			
				
					|  |  |  |  |                 AND nameCode LIKE concat(#{nameCode},'%') | 
			
		
	
		
			
				
					|  |  |  |  |                 AND nameCode LIKE concat(#{nameCode}, '%') | 
			
		
	
		
			
				
					|  |  |  |  |             </if> | 
			
		
	
		
			
				
					|  |  |  |  |             <if test="uuid != '' and uuid != null"> | 
			
		
	
		
			
				
					|  |  |  |  |                 AND uuid = #{uuid} | 
			
		
	
		
			
				
					|  |  |  |  |             </if> | 
			
		
	
		
			
				
					|  |  |  |  |             <if test="updateTime!=null and updateTime!=''"> | 
			
		
	
		
			
				
					|  |  |  |  |                 <![CDATA[   and updateTime>=  DATE_FORMAT(#{updateTime}, '%Y-%m-%d %H:%i:%S')   ]]> | 
			
		
	
		
			
				
					|  |  |  |  |             <if test="updateTime != null and updateTime != ''"> | 
			
		
	
		
			
				
					|  |  |  |  |                 <![CDATA[ | 
			
		
	
		
			
				
					|  |  |  |  |                 and updateTime >= DATE_FORMAT(#{updateTime}, '%Y-%m-%d %H:%i:%S') | 
			
		
	
		
			
				
					|  |  |  |  |                 ]]> | 
			
		
	
		
			
				
					|  |  |  |  |             </if> | 
			
		
	
		
			
				
					|  |  |  |  |         </where> | 
			
		
	
		
			
				
					|  |  |  |  |         GROUP BY nameCode | 
			
		
	
	
		
			
				
					|  |  |  | @ -118,7 +126,8 @@ | 
			
		
	
		
			
				
					|  |  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |  |     <select id="selectAllByUuid" parameterType="java.util.List" | 
			
		
	
		
			
				
					|  |  |  |  |             resultType="com.glxp.api.entity.basic.ProductInfoEntity"> | 
			
		
	
		
			
				
					|  |  |  |  |         select * from productinfo where | 
			
		
	
		
			
				
					|  |  |  |  |         select * | 
			
		
	
		
			
				
					|  |  |  |  |         from productinfo where | 
			
		
	
		
			
				
					|  |  |  |  |                 uuid in ( | 
			
		
	
		
			
				
					|  |  |  |  |         <foreach collection="ids" item="item" index="index" | 
			
		
	
		
			
				
					|  |  |  |  |                  separator=","> | 
			
		
	
	
		
			
				
					|  |  |  | @ -137,20 +146,20 @@ | 
			
		
	
		
			
				
					|  |  |  |  |     <!--   CHAR_LENGTH(nameCode)  <![CDATA[ >= ]]>  14--> | 
			
		
	
		
			
				
					|  |  |  |  |     <select id="filterUdiByCreditNo" parameterType="com.glxp.api.req.basic.ProductInfoFilterRequest" | 
			
		
	
		
			
				
					|  |  |  |  |             resultType="com.glxp.api.entity.basic.ProductInfoEntity"> | 
			
		
	
		
			
				
					|  |  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |  |         select p.* from productinfo p INNER JOIN | 
			
		
	
		
			
				
					|  |  |  |  |         (select deviceRecordKey ,max(versionNumber) versionNumber from productinfo | 
			
		
	
		
			
				
					|  |  |  |  |         select p.* from productinfo p | 
			
		
	
		
			
				
					|  |  |  |  |                 INNER JOIN | 
			
		
	
		
			
				
					|  |  |  |  |                 (select deviceRecordKey, max(versionNumber) versionNumber | 
			
		
	
		
			
				
					|  |  |  |  |                  from productinfo | 
			
		
	
		
			
				
					|  |  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |  |         <where> | 
			
		
	
		
			
				
					|  |  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |  |             <if test="tyshxydm != '' and tyshxydm != null"> | 
			
		
	
		
			
				
					|  |  |  |  |                 AND tyshxydm = #{tyshxydm} | 
			
		
	
		
			
				
					|  |  |  |  |             </if> | 
			
		
	
		
			
				
					|  |  |  |  |             <if test="cpmctymc != '' and cpmctymc != null"> | 
			
		
	
		
			
				
					|  |  |  |  |                 AND cpmctymc LIKE concat(#{cpmctymc},'%') | 
			
		
	
		
			
				
					|  |  |  |  |                 AND cpmctymc LIKE concat(#{cpmctymc}, '%') | 
			
		
	
		
			
				
					|  |  |  |  |             </if> | 
			
		
	
		
			
				
					|  |  |  |  |             <if test="nameCode != '' and nameCode != null"> | 
			
		
	
		
			
				
					|  |  |  |  |                 AND nameCode LIKE concat(#{nameCode},'%') | 
			
		
	
		
			
				
					|  |  |  |  |                 AND nameCode LIKE concat(#{nameCode}, '%') | 
			
		
	
		
			
				
					|  |  |  |  |             </if> | 
			
		
	
		
			
				
					|  |  |  |  |             <if test="uuid != '' and uuid != null"> | 
			
		
	
		
			
				
					|  |  |  |  |                 AND uuid = #{uuid} | 
			
		
	
	
		
			
				
					|  |  |  | @ -168,17 +177,17 @@ | 
			
		
	
		
			
				
					|  |  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |  |     <select id="filterUdiByNewest" parameterType="com.glxp.api.req.basic.ProductInfoFilterRequest" | 
			
		
	
		
			
				
					|  |  |  |  |             resultType="com.glxp.api.entity.basic.ProductInfoEntity"> | 
			
		
	
		
			
				
					|  |  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |  |         SELECT * FROM productinfo | 
			
		
	
		
			
				
					|  |  |  |  |         SELECT * | 
			
		
	
		
			
				
					|  |  |  |  |         FROM productinfo | 
			
		
	
		
			
				
					|  |  |  |  |         <where> | 
			
		
	
		
			
				
					|  |  |  |  |             <if test="tyshxydm != '' and tyshxydm != null"> | 
			
		
	
		
			
				
					|  |  |  |  |                 AND tyshxydm = #{tyshxydm} | 
			
		
	
		
			
				
					|  |  |  |  |             </if> | 
			
		
	
		
			
				
					|  |  |  |  |             <if test="cpmctymc != '' and cpmctymc != null"> | 
			
		
	
		
			
				
					|  |  |  |  |                 AND cpmctymc LIKE concat(#{cpmctymc},'%') | 
			
		
	
		
			
				
					|  |  |  |  |                 AND cpmctymc LIKE concat(#{cpmctymc}, '%') | 
			
		
	
		
			
				
					|  |  |  |  |             </if> | 
			
		
	
		
			
				
					|  |  |  |  |             <if test="nameCode != '' and nameCode != null"> | 
			
		
	
		
			
				
					|  |  |  |  |                 AND nameCode LIKE concat(#{nameCode},'%') | 
			
		
	
		
			
				
					|  |  |  |  |                 AND nameCode LIKE concat(#{nameCode}, '%') | 
			
		
	
		
			
				
					|  |  |  |  |             </if> | 
			
		
	
		
			
				
					|  |  |  |  |             <if test="uuid != '' and uuid != null"> | 
			
		
	
		
			
				
					|  |  |  |  |                 AND uuid = #{uuid} | 
			
		
	
	
		
			
				
					|  |  |  | @ -191,19 +200,20 @@ | 
			
		
	
		
			
				
					|  |  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |  |     <select id="filterUuidByCreditNo" parameterType="com.glxp.api.req.basic.ProductInfoFilterRequest" | 
			
		
	
		
			
				
					|  |  |  |  |             resultType="java.lang.String"> | 
			
		
	
		
			
				
					|  |  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |  |         select p.uuid from productinfo p INNER JOIN | 
			
		
	
		
			
				
					|  |  |  |  |         (select deviceRecordKey ,max(versionNumber) versionNumber from productinfo | 
			
		
	
		
			
				
					|  |  |  |  |         select p.uuid from productinfo p | 
			
		
	
		
			
				
					|  |  |  |  |                 INNER JOIN | 
			
		
	
		
			
				
					|  |  |  |  |                 (select deviceRecordKey, max(versionNumber) versionNumber | 
			
		
	
		
			
				
					|  |  |  |  |                  from productinfo | 
			
		
	
		
			
				
					|  |  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |  |         <where> | 
			
		
	
		
			
				
					|  |  |  |  |             <if test="tyshxydm != '' and tyshxydm != null"> | 
			
		
	
		
			
				
					|  |  |  |  |                 AND tyshxydm = #{tyshxydm} | 
			
		
	
		
			
				
					|  |  |  |  |             </if> | 
			
		
	
		
			
				
					|  |  |  |  |             <if test="cpmctymc != '' and cpmctymc != null"> | 
			
		
	
		
			
				
					|  |  |  |  |                 AND cpmctymc LIKE concat(#{cpmctymc},'%') | 
			
		
	
		
			
				
					|  |  |  |  |                 AND cpmctymc LIKE concat(#{cpmctymc}, '%') | 
			
		
	
		
			
				
					|  |  |  |  |             </if> | 
			
		
	
		
			
				
					|  |  |  |  |             <if test="nameCode != '' and nameCode != null"> | 
			
		
	
		
			
				
					|  |  |  |  |                 AND nameCode LIKE concat(#{nameCode},'%') | 
			
		
	
		
			
				
					|  |  |  |  |                 AND nameCode LIKE concat(#{nameCode}, '%') | 
			
		
	
		
			
				
					|  |  |  |  |             </if> | 
			
		
	
		
			
				
					|  |  |  |  |             <if test="uuid != '' and uuid != null"> | 
			
		
	
		
			
				
					|  |  |  |  |                 AND uuid = #{uuid} | 
			
		
	
	
		
			
				
					|  |  |  | @ -215,48 +225,48 @@ | 
			
		
	
		
			
				
					|  |  |  |  |     </select> | 
			
		
	
		
			
				
					|  |  |  |  |     <select id="filterUdi" parameterType="com.glxp.api.req.basic.ProductInfoFilterRequest" | 
			
		
	
		
			
				
					|  |  |  |  |             resultType="com.glxp.api.entity.basic.ProductInfoEntity"> | 
			
		
	
		
			
				
					|  |  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |  |         select * from productinfo | 
			
		
	
		
			
				
					|  |  |  |  |         select * | 
			
		
	
		
			
				
					|  |  |  |  |         from productinfo | 
			
		
	
		
			
				
					|  |  |  |  |         <where> | 
			
		
	
		
			
				
					|  |  |  |  |             <if test="ylqxzcrbarmc != '' and ylqxzcrbarmc != null"> | 
			
		
	
		
			
				
					|  |  |  |  |                 AND ylqxzcrbarmc= #{ylqxzcrbarmc} | 
			
		
	
		
			
				
					|  |  |  |  |                 AND ylqxzcrbarmc = #{ylqxzcrbarmc} | 
			
		
	
		
			
				
					|  |  |  |  |             </if> | 
			
		
	
		
			
				
					|  |  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |  |             <if test="ylqxzcrbarmc == '' and cpmctymc != '' and cpmctymc != null"> | 
			
		
	
		
			
				
					|  |  |  |  |                 AND cpmctymc LIKE concat(#{cpmctymc},'%') | 
			
		
	
		
			
				
					|  |  |  |  |                 AND cpmctymc LIKE concat(#{cpmctymc}, '%') | 
			
		
	
		
			
				
					|  |  |  |  |             </if> | 
			
		
	
		
			
				
					|  |  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |  |             <if test="ylqxzcrbarmc != '' and ylqxzcrbarmc != null and cpmctymc != '' and cpmctymc != null"> | 
			
		
	
		
			
				
					|  |  |  |  |                 AND cpmctymc LIKE concat('%',#{cpmctymc},'%') | 
			
		
	
		
			
				
					|  |  |  |  |                 AND cpmctymc LIKE concat('%', #{cpmctymc}, '%') | 
			
		
	
		
			
				
					|  |  |  |  |             </if> | 
			
		
	
		
			
				
					|  |  |  |  |             <if test="nameCode != '' and nameCode != null"> | 
			
		
	
		
			
				
					|  |  |  |  |                 AND nameCode LIKE concat(#{nameCode},'%') | 
			
		
	
		
			
				
					|  |  |  |  |                 AND nameCode LIKE concat(#{nameCode}, '%') | 
			
		
	
		
			
				
					|  |  |  |  |             </if> | 
			
		
	
		
			
				
					|  |  |  |  |             <if test="uuid != '' and uuid != null"> | 
			
		
	
		
			
				
					|  |  |  |  |                 AND uuid = #{uuid} | 
			
		
	
		
			
				
					|  |  |  |  |             </if> | 
			
		
	
		
			
				
					|  |  |  |  |             <if test="ggxh != '' and ggxh != null"> | 
			
		
	
		
			
				
					|  |  |  |  |                 AND ggxh LIKE concat('%',#{ggxh},'%') | 
			
		
	
		
			
				
					|  |  |  |  |                 AND ggxh LIKE concat('%', #{ggxh}, '%') | 
			
		
	
		
			
				
					|  |  |  |  |             </if> | 
			
		
	
		
			
				
					|  |  |  |  |             <if test="zczbhhzbapzbh != '' and zczbhhzbapzbh != null"> | 
			
		
	
		
			
				
					|  |  |  |  |                 AND zczbhhzbapzbh LIKE concat('%',#{zczbhhzbapzbh},'%') | 
			
		
	
		
			
				
					|  |  |  |  |                 AND zczbhhzbapzbh LIKE concat('%', #{zczbhhzbapzbh}, '%') | 
			
		
	
		
			
				
					|  |  |  |  |             </if> | 
			
		
	
		
			
				
					|  |  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |  |             <if test="deviceRecordKey != '' and deviceRecordKey != null"> | 
			
		
	
		
			
				
					|  |  |  |  |                 AND deviceRecordKey = #{deviceRecordKey} | 
			
		
	
		
			
				
					|  |  |  |  |             </if> | 
			
		
	
		
			
				
					|  |  |  |  |             <if test="updateTime!=null and updateTime!=''"> | 
			
		
	
		
			
				
					|  |  |  |  |                 <![CDATA[   and updateTime>=  DATE_FORMAT(#{updateTime}, '%Y-%m-%d %H:%i:%S')   ]]> | 
			
		
	
		
			
				
					|  |  |  |  |             <if test="updateTime != null and updateTime != ''"> | 
			
		
	
		
			
				
					|  |  |  |  |                 <![CDATA[ | 
			
		
	
		
			
				
					|  |  |  |  |                 and updateTime >= DATE_FORMAT(#{updateTime}, '%Y-%m-%d %H:%i:%S') | 
			
		
	
		
			
				
					|  |  |  |  |                 ]]> | 
			
		
	
		
			
				
					|  |  |  |  |             </if> | 
			
		
	
		
			
				
					|  |  |  |  |             <if test="isNewest != null and isNewest!=''"> | 
			
		
	
		
			
				
					|  |  |  |  |             <if test="isNewest != null and isNewest != ''"> | 
			
		
	
		
			
				
					|  |  |  |  |                 AND isNewest = #{isNewest} | 
			
		
	
		
			
				
					|  |  |  |  |             </if> | 
			
		
	
		
			
				
					|  |  |  |  |             <if test="diType != '' and diType != null"> | 
			
		
	
		
			
				
					|  |  |  |  |                 AND diType = #{diType} | 
			
		
	
		
			
				
					|  |  |  |  |             </if> | 
			
		
	
		
			
				
					|  |  |  |  |         </where> | 
			
		
	
		
			
				
					|  |  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |  |     </select> | 
			
		
	
		
			
				
					|  |  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |  | 
 | 
			
		
	
	
		
			
				
					|  |  |  | @ -368,24 +378,23 @@ | 
			
		
	
		
			
				
					|  |  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |  |     <select id="syncDlUdi" parameterType="com.glxp.api.req.basic.ProductInfoFilterRequest" | 
			
		
	
		
			
				
					|  |  |  |  |             resultType="com.glxp.api.entity.basic.ProductInfoEntity"> | 
			
		
	
		
			
				
					|  |  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |  |         SELECT * FROM productinfo | 
			
		
	
		
			
				
					|  |  |  |  |         SELECT * | 
			
		
	
		
			
				
					|  |  |  |  |         FROM productinfo | 
			
		
	
		
			
				
					|  |  |  |  |         <where> | 
			
		
	
		
			
				
					|  |  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |  |             <if test="ylqxzcrbarmc != '' and ylqxzcrbarmc != null"> | 
			
		
	
		
			
				
					|  |  |  |  |                 AND ylqxzcrbarmc LIKE concat(#{ylqxzcrbarmc},'%') | 
			
		
	
		
			
				
					|  |  |  |  |                 AND ylqxzcrbarmc LIKE concat(#{ylqxzcrbarmc}, '%') | 
			
		
	
		
			
				
					|  |  |  |  |             </if> | 
			
		
	
		
			
				
					|  |  |  |  |             <if test="cpmctymc != '' and cpmctymc != null"> | 
			
		
	
		
			
				
					|  |  |  |  |                 AND cpmctymc LIKE concat(#{cpmctymc},'%') | 
			
		
	
		
			
				
					|  |  |  |  |                 AND cpmctymc LIKE concat(#{cpmctymc}, '%') | 
			
		
	
		
			
				
					|  |  |  |  |             </if> | 
			
		
	
		
			
				
					|  |  |  |  |             <if test="nameCode != '' and nameCode != null"> | 
			
		
	
		
			
				
					|  |  |  |  |                 AND nameCode LIKE concat(#{nameCode},'%') | 
			
		
	
		
			
				
					|  |  |  |  |                 AND nameCode LIKE concat(#{nameCode}, '%') | 
			
		
	
		
			
				
					|  |  |  |  |             </if> | 
			
		
	
		
			
				
					|  |  |  |  |             <if test="uuid != '' and uuid != null"> | 
			
		
	
		
			
				
					|  |  |  |  |                 AND uuid = #{uuid} | 
			
		
	
		
			
				
					|  |  |  |  |             </if> | 
			
		
	
		
			
				
					|  |  |  |  |             <if test="ggxh != '' and ggxh != null"> | 
			
		
	
		
			
				
					|  |  |  |  |                 AND ggxh LIKE concat('%',#{ggxh},'%') | 
			
		
	
		
			
				
					|  |  |  |  |                 AND ggxh LIKE concat('%', #{ggxh}, '%') | 
			
		
	
		
			
				
					|  |  |  |  |             </if> | 
			
		
	
		
			
				
					|  |  |  |  |             <if test="zczbhhzbapzbh != '' and zczbhhzbapzbh != null"> | 
			
		
	
		
			
				
					|  |  |  |  |                 AND zczbhhzbapzbh = #{zczbhhzbapzbh} | 
			
		
	
	
		
			
				
					|  |  |  | @ -393,8 +402,10 @@ | 
			
		
	
		
			
				
					|  |  |  |  |             <if test="deviceRecordKey != '' and deviceRecordKey != null"> | 
			
		
	
		
			
				
					|  |  |  |  |                 AND deviceRecordKey = #{deviceRecordKey} | 
			
		
	
		
			
				
					|  |  |  |  |             </if> | 
			
		
	
		
			
				
					|  |  |  |  |             <if test="updateTime!=null and updateTime!=''"> | 
			
		
	
		
			
				
					|  |  |  |  |                 <![CDATA[   and updateTime>=  DATE_FORMAT(#{updateTime}, '%Y-%m-%d %H:%i:%S')   ]]> | 
			
		
	
		
			
				
					|  |  |  |  |             <if test="updateTime != null and updateTime != ''"> | 
			
		
	
		
			
				
					|  |  |  |  |                 <![CDATA[ | 
			
		
	
		
			
				
					|  |  |  |  |                 and updateTime >= DATE_FORMAT(#{updateTime}, '%Y-%m-%d %H:%i:%S') | 
			
		
	
		
			
				
					|  |  |  |  |                 ]]> | 
			
		
	
		
			
				
					|  |  |  |  |             </if> | 
			
		
	
		
			
				
					|  |  |  |  |         </where> | 
			
		
	
		
			
				
					|  |  |  |  |         limit #{page},#{limit} | 
			
		
	
	
		
			
				
					|  |  |  | @ -405,17 +416,16 @@ | 
			
		
	
		
			
				
					|  |  |  |  |             parameterType="com.glxp.api.entity.basic.ProductInfoEntity"> | 
			
		
	
		
			
				
					|  |  |  |  |         REPLACE | 
			
		
	
		
			
				
					|  |  |  |  |                 INTO productinfo | 
			
		
	
		
			
				
					|  |  |  |  |         ( | 
			
		
	
		
			
				
					|  |  |  |  |         id,nameCode,packRatio,packLevel,bhxjsl, | 
			
		
	
		
			
				
					|  |  |  |  |         bhzxxsbzsl,zxxsbzbhsydysl,bhxjcpbm,bzcj,thirdProductNo,addType,deviceRecordKey,isUseDy,thirdProductName, | 
			
		
	
		
			
				
					|  |  |  |  |         cpmctymc,cplb,flbm,ggxh,qxlb,tyshxydm,ylqxzcrbarmc,zczbhhzbapzbh,ylqxzcrbarywmc,uuid,sjcpbm,versionNumber | 
			
		
	
		
			
				
					|  |  |  |  |         ,diType,scbssfbhph,scbssfbhxlh,scbssfbhscrq,scbssfbhsxrq, | 
			
		
	
		
			
				
					|  |  |  |  |         ybbm,spmc,cphhhbh,cpms,cpbsbmtxmc,isNewest,updateTime,cplx,hchzsb | 
			
		
	
		
			
				
					|  |  |  |  | ,sfwblztlcp,cgzmraqxgxx,sfbjwycxsy,zdcfsycs,sfwwjbz,syqsfxyjxmj,qtxxdwzlj,mjfs | 
			
		
	
		
			
				
					|  |  |  |  |         ) | 
			
		
	
		
			
				
					|  |  |  |  |         values | 
			
		
	
		
			
				
					|  |  |  |  |             ( | 
			
		
	
		
			
				
					|  |  |  |  |         #{id}, | 
			
		
	
		
			
				
					|  |  |  |  |                 (id, nameCode, packRatio, packLevel, bhxjsl, | 
			
		
	
		
			
				
					|  |  |  |  |                  bhzxxsbzsl, zxxsbzbhsydysl, bhxjcpbm, bzcj, thirdProductNo, addType, deviceRecordKey, isUseDy, | 
			
		
	
		
			
				
					|  |  |  |  |                  thirdProductName, | 
			
		
	
		
			
				
					|  |  |  |  |                  cpmctymc, cplb, flbm, ggxh, qxlb, tyshxydm, ylqxzcrbarmc, zczbhhzbapzbh, ylqxzcrbarywmc, uuid, sjcpbm, | 
			
		
	
		
			
				
					|  |  |  |  |                  versionNumber | 
			
		
	
		
			
				
					|  |  |  |  |                         , diType, scbssfbhph, scbssfbhxlh, scbssfbhscrq, scbssfbhsxrq, | 
			
		
	
		
			
				
					|  |  |  |  |                  ybbm, spmc, cphhhbh, cpms, cpbsbmtxmc, isNewest, updateTime, cplx, hchzsb | 
			
		
	
		
			
				
					|  |  |  |  |                         , sfwblztlcp, cgzmraqxgxx, sfbjwycxsy, zdcfsycs, sfwwjbz, syqsfxyjxmj, qtxxdwzlj, mjfs, | 
			
		
	
		
			
				
					|  |  |  |  |                  categoryName) | 
			
		
	
		
			
				
					|  |  |  |  |         values (#{id}, | 
			
		
	
		
			
				
					|  |  |  |  |                 #{nameCode}, | 
			
		
	
		
			
				
					|  |  |  |  |                 #{packRatio}, | 
			
		
	
		
			
				
					|  |  |  |  |                 #{packLevel}, | 
			
		
	
	
		
			
				
					|  |  |  | @ -462,29 +472,26 @@ | 
			
		
	
		
			
				
					|  |  |  |  |                 #{sfwwjbz}, | 
			
		
	
		
			
				
					|  |  |  |  |                 #{syqsfxyjxmj}, | 
			
		
	
		
			
				
					|  |  |  |  |                 #{qtxxdwzlj}, | 
			
		
	
		
			
				
					|  |  |  |  |         #{mjfs} | 
			
		
	
		
			
				
					|  |  |  |  |         ) | 
			
		
	
		
			
				
					|  |  |  |  |                 #{mjfs}, #{categoryName}) | 
			
		
	
		
			
				
					|  |  |  |  |     </insert> | 
			
		
	
		
			
				
					|  |  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |  |     <insert id="insertProductInfos" keyProperty="id" | 
			
		
	
		
			
				
					|  |  |  |  |             parameterType="com.glxp.api.entity.basic.ProductInfoEntity"> | 
			
		
	
		
			
				
					|  |  |  |  |         REPLACE INTO productinfo | 
			
		
	
		
			
				
					|  |  |  |  |         ( | 
			
		
	
		
			
				
					|  |  |  |  |         id,nameCode,packRatio,packLevel,bhxjsl, | 
			
		
	
		
			
				
					|  |  |  |  |         bhzxxsbzsl,zxxsbzbhsydysl,bhxjcpbm,bzcj,thirdProductNo,addType,deviceRecordKey,isUseDy,thirdProductName, | 
			
		
	
		
			
				
					|  |  |  |  |         cpmctymc,cplb,flbm,ggxh,qxlb,tyshxydm,ylqxzcrbarmc,zczbhhzbapzbh,ylqxzcrbarywmc,uuid,sjcpbm,versionNumber | 
			
		
	
		
			
				
					|  |  |  |  |         ,diType,scbssfbhph,scbssfbhxlh,scbssfbhscrq,scbssfbhsxrq, | 
			
		
	
		
			
				
					|  |  |  |  |         ybbm,spmc,cphhhbh,cpms,cpbsbmtxmc,isNewest,updateTime,cplx,hchzsb | 
			
		
	
		
			
				
					|  |  |  |  |         ,sfwblztlcp,cgzmraqxgxx,sfbjwycxsy,zdcfsycs,sfwwjbz,syqsfxyjxmj,qtxxdwzlj,mjfs | 
			
		
	
		
			
				
					|  |  |  |  |         ) values | 
			
		
	
		
			
				
					|  |  |  |  |                 (id, nameCode, packRatio, packLevel, bhxjsl, | 
			
		
	
		
			
				
					|  |  |  |  |                  bhzxxsbzsl, zxxsbzbhsydysl, bhxjcpbm, bzcj, thirdProductNo, addType, deviceRecordKey, isUseDy, | 
			
		
	
		
			
				
					|  |  |  |  |                  thirdProductName, | 
			
		
	
		
			
				
					|  |  |  |  |                  cpmctymc, cplb, flbm, ggxh, qxlb, tyshxydm, ylqxzcrbarmc, zczbhhzbapzbh, ylqxzcrbarywmc, uuid, sjcpbm, | 
			
		
	
		
			
				
					|  |  |  |  |                  versionNumber | 
			
		
	
		
			
				
					|  |  |  |  |                         , diType, scbssfbhph, scbssfbhxlh, scbssfbhscrq, scbssfbhsxrq, | 
			
		
	
		
			
				
					|  |  |  |  |                  ybbm, spmc, cphhhbh, cpms, cpbsbmtxmc, isNewest, updateTime, cplx, hchzsb | 
			
		
	
		
			
				
					|  |  |  |  |                         , sfwblztlcp, cgzmraqxgxx, sfbjwycxsy, zdcfsycs, sfwwjbz, syqsfxyjxmj, qtxxdwzlj, mjfs, | 
			
		
	
		
			
				
					|  |  |  |  |                  categoryName) values | 
			
		
	
		
			
				
					|  |  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |  |         <foreach collection="datas" item="item" index="index" | 
			
		
	
		
			
				
					|  |  |  |  |                  separator=","> | 
			
		
	
		
			
				
					|  |  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |  |             ( | 
			
		
	
		
			
				
					|  |  |  |  |             #{item.id}, | 
			
		
	
		
			
				
					|  |  |  |  |             (#{item.id}, | 
			
		
	
		
			
				
					|  |  |  |  |              #{item.nameCode}, | 
			
		
	
		
			
				
					|  |  |  |  |              #{item.packRatio}, | 
			
		
	
		
			
				
					|  |  |  |  |              #{item.packLevel}, | 
			
		
	
	
		
			
				
					|  |  |  | @ -521,9 +528,9 @@ | 
			
		
	
		
			
				
					|  |  |  |  |              #{item.cpms}, | 
			
		
	
		
			
				
					|  |  |  |  |              #{item.cpbsbmtxmc}, | 
			
		
	
		
			
				
					|  |  |  |  |              #{item.isNewest}, | 
			
		
	
		
			
				
					|  |  |  |  |             #{item.updateTime},#{item.cplx},#{item.hchzsb},#{item.sfwblztlcp},#{item.cgzmraqxgxx},#{item.sfbjwycxsy},#{item.zdcfsycs} | 
			
		
	
		
			
				
					|  |  |  |  |             ,#{item.sfwwjbz},#{item.syqsfxyjxmj},#{item.qtxxdwzlj},#{item.mjfs} | 
			
		
	
		
			
				
					|  |  |  |  |             ) | 
			
		
	
		
			
				
					|  |  |  |  |              #{item.updateTime}, #{item.cplx}, #{item.hchzsb}, #{item.sfwblztlcp}, #{item.cgzmraqxgxx}, | 
			
		
	
		
			
				
					|  |  |  |  |              #{item.sfbjwycxsy}, #{item.zdcfsycs} | 
			
		
	
		
			
				
					|  |  |  |  |                     , #{item.sfwwjbz}, #{item.syqsfxyjxmj}, #{item.qtxxdwzlj}, #{item.mjfs}, #{item.categoryName}) | 
			
		
	
		
			
				
					|  |  |  |  |         </foreach> | 
			
		
	
		
			
				
					|  |  |  |  |     </insert> | 
			
		
	
		
			
				
					|  |  |  |  | 
 | 
			
		
	
	
		
			
				
					|  |  |  | @ -534,7 +541,8 @@ | 
			
		
	
		
			
				
					|  |  |  |  |     </delete> | 
			
		
	
		
			
				
					|  |  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |  |     <delete id="deleteAll" parameterType="java.util.List"> | 
			
		
	
		
			
				
					|  |  |  |  |         DELETE FROM productinfo WHERE thirdProductNo in | 
			
		
	
		
			
				
					|  |  |  |  |         DELETE | 
			
		
	
		
			
				
					|  |  |  |  |         FROM productinfo WHERE thirdProductNo in | 
			
		
	
		
			
				
					|  |  |  |  |         <foreach collection="ids" item="item" open="(" separator="," close=")"> | 
			
		
	
		
			
				
					|  |  |  |  |             #{item} | 
			
		
	
		
			
				
					|  |  |  |  |         </foreach> | 
			
		
	
	
		
			
				
					|  |  |  | @ -543,44 +551,120 @@ | 
			
		
	
		
			
				
					|  |  |  |  |     <update id="updateProductInfo" parameterType="com.glxp.api.entity.basic.ProductInfoEntity"> | 
			
		
	
		
			
				
					|  |  |  |  |         UPDATE productinfo | 
			
		
	
		
			
				
					|  |  |  |  |         <set> | 
			
		
	
		
			
				
					|  |  |  |  |             <if test="nameCode != null">nameCode=#{nameCode},</if> | 
			
		
	
		
			
				
					|  |  |  |  |             <if test="packRatio != null">packRatio=#{packRatio},</if> | 
			
		
	
		
			
				
					|  |  |  |  |             <if test="packLevel != null">packLevel=#{packLevel},</if> | 
			
		
	
		
			
				
					|  |  |  |  |             <if test="bhxjsl != null">bhxjsl=#{bhxjsl},</if> | 
			
		
	
		
			
				
					|  |  |  |  |             <if test="bhzxxsbzsl != null">bhzxxsbzsl=#{bhzxxsbzsl},</if> | 
			
		
	
		
			
				
					|  |  |  |  |             <if test="zxxsbzbhsydysl != null">zxxsbzbhsydysl=#{zxxsbzbhsydysl},</if> | 
			
		
	
		
			
				
					|  |  |  |  |             <if test="bhxjcpbm != null">bhxjcpbm=#{bhxjcpbm},</if> | 
			
		
	
		
			
				
					|  |  |  |  |             <if test="bzcj != null">bzcj=#{bzcj},</if> | 
			
		
	
		
			
				
					|  |  |  |  |             <if test="thirdProductNo != null">thirdProductNo=#{thirdProductNo},</if> | 
			
		
	
		
			
				
					|  |  |  |  |             <if test="addType != null">addType=#{addType},</if> | 
			
		
	
		
			
				
					|  |  |  |  |             <if test="deviceRecordKey != null">deviceRecordKey=#{deviceRecordKey},</if> | 
			
		
	
		
			
				
					|  |  |  |  |             <if test="isUseDy != null">isUseDy=#{isUseDy},</if> | 
			
		
	
		
			
				
					|  |  |  |  |             <if test="thirdProductName != null">thirdProductName=#{thirdProductName},</if> | 
			
		
	
		
			
				
					|  |  |  |  |             <if test="cpmctymc != null">cpmctymc=#{cpmctymc},</if> | 
			
		
	
		
			
				
					|  |  |  |  |             <if test="cplb != null">cplb=#{cplb},</if> | 
			
		
	
		
			
				
					|  |  |  |  |             <if test="flbm != null">flbm=#{flbm},</if> | 
			
		
	
		
			
				
					|  |  |  |  |             <if test="ggxh != null">ggxh=#{ggxh},</if> | 
			
		
	
		
			
				
					|  |  |  |  |             <if test="qxlb != null">qxlb=#{qxlb},</if> | 
			
		
	
		
			
				
					|  |  |  |  |             <if test="tyshxydm != null">tyshxydm=#{tyshxydm},</if> | 
			
		
	
		
			
				
					|  |  |  |  |             <if test="ylqxzcrbarmc != null">ylqxzcrbarmc=#{ylqxzcrbarmc},</if> | 
			
		
	
		
			
				
					|  |  |  |  |             <if test="ylqxzcrbarywmc != null">ylqxzcrbarywmc=#{ylqxzcrbarywmc},</if> | 
			
		
	
		
			
				
					|  |  |  |  |             <if test="uuid != null">uuid=#{uuid},</if> | 
			
		
	
		
			
				
					|  |  |  |  |             <if test="sjcpbm != null">sjcpbm=#{sjcpbm},</if> | 
			
		
	
		
			
				
					|  |  |  |  |             <if test="versionNumber != null">versionNumber=#{versionNumber},</if> | 
			
		
	
		
			
				
					|  |  |  |  |             <if test="diType != null">diType=#{diType},</if> | 
			
		
	
		
			
				
					|  |  |  |  |             <if test="isNewest != null">isNewest=#{isNewest},</if> | 
			
		
	
		
			
				
					|  |  |  |  |             <if test="updateTime != null">updateTime=#{updateTime},</if> | 
			
		
	
		
			
				
					|  |  |  |  |             <if test="cplx != null">cplx=#{cplx},</if> | 
			
		
	
		
			
				
					|  |  |  |  |             <if test="hchzsb != null">hchzsb=#{hchzsb},</if> | 
			
		
	
		
			
				
					|  |  |  |  |             <if test="sfwblztlcp != null">sfwblztlcp=#{sfwblztlcp},</if> | 
			
		
	
		
			
				
					|  |  |  |  |             <if test="cgzmraqxgxx != null">cgzmraqxgxx=#{cgzmraqxgxx},</if> | 
			
		
	
		
			
				
					|  |  |  |  |             <if test="sfbjwycxsy != null">sfbjwycxsy=#{sfbjwycxsy},</if> | 
			
		
	
		
			
				
					|  |  |  |  |             <if test="zdcfsycs != null">zdcfsycs=#{zdcfsycs},</if> | 
			
		
	
		
			
				
					|  |  |  |  |             <if test="sfwwjbz != null">sfwwjbz=#{sfwwjbz},</if> | 
			
		
	
		
			
				
					|  |  |  |  |             <if test="syqsfxyjxmj != null">syqsfxyjxmj=#{syqsfxyjxmj}, | 
			
		
	
		
			
				
					|  |  |  |  |             </if> | 
			
		
	
		
			
				
					|  |  |  |  |             <if test="qtxxdwzlj != null">qtxxdwzlj=#{qtxxdwzlj},</if> | 
			
		
	
		
			
				
					|  |  |  |  |             <if test="mjfs != null">mjfs=#{mjfs},</if> | 
			
		
	
		
			
				
					|  |  |  |  |             <if test="nameCode != null"> | 
			
		
	
		
			
				
					|  |  |  |  |                 nameCode=#{nameCode}, | 
			
		
	
		
			
				
					|  |  |  |  |             </if> | 
			
		
	
		
			
				
					|  |  |  |  |             <if test="packRatio != null"> | 
			
		
	
		
			
				
					|  |  |  |  |                 packRatio=#{packRatio}, | 
			
		
	
		
			
				
					|  |  |  |  |             </if> | 
			
		
	
		
			
				
					|  |  |  |  |             <if test="packLevel != null"> | 
			
		
	
		
			
				
					|  |  |  |  |                 packLevel=#{packLevel}, | 
			
		
	
		
			
				
					|  |  |  |  |             </if> | 
			
		
	
		
			
				
					|  |  |  |  |             <if test="bhxjsl != null"> | 
			
		
	
		
			
				
					|  |  |  |  |                 bhxjsl=#{bhxjsl}, | 
			
		
	
		
			
				
					|  |  |  |  |             </if> | 
			
		
	
		
			
				
					|  |  |  |  |             <if test="bhzxxsbzsl != null"> | 
			
		
	
		
			
				
					|  |  |  |  |                 bhzxxsbzsl=#{bhzxxsbzsl}, | 
			
		
	
		
			
				
					|  |  |  |  |             </if> | 
			
		
	
		
			
				
					|  |  |  |  |             <if test="zxxsbzbhsydysl != null"> | 
			
		
	
		
			
				
					|  |  |  |  |                 zxxsbzbhsydysl=#{zxxsbzbhsydysl}, | 
			
		
	
		
			
				
					|  |  |  |  |             </if> | 
			
		
	
		
			
				
					|  |  |  |  |             <if test="bhxjcpbm != null"> | 
			
		
	
		
			
				
					|  |  |  |  |                 bhxjcpbm=#{bhxjcpbm}, | 
			
		
	
		
			
				
					|  |  |  |  |             </if> | 
			
		
	
		
			
				
					|  |  |  |  |             <if test="bzcj != null"> | 
			
		
	
		
			
				
					|  |  |  |  |                 bzcj=#{bzcj}, | 
			
		
	
		
			
				
					|  |  |  |  |             </if> | 
			
		
	
		
			
				
					|  |  |  |  |             <if test="thirdProductNo != null"> | 
			
		
	
		
			
				
					|  |  |  |  |                 thirdProductNo=#{thirdProductNo}, | 
			
		
	
		
			
				
					|  |  |  |  |             </if> | 
			
		
	
		
			
				
					|  |  |  |  |             <if test="addType != null"> | 
			
		
	
		
			
				
					|  |  |  |  |                 addType=#{addType}, | 
			
		
	
		
			
				
					|  |  |  |  |             </if> | 
			
		
	
		
			
				
					|  |  |  |  |             <if test="deviceRecordKey != null"> | 
			
		
	
		
			
				
					|  |  |  |  |                 deviceRecordKey=#{deviceRecordKey}, | 
			
		
	
		
			
				
					|  |  |  |  |             </if> | 
			
		
	
		
			
				
					|  |  |  |  |             <if test="isUseDy != null"> | 
			
		
	
		
			
				
					|  |  |  |  |                 isUseDy=#{isUseDy}, | 
			
		
	
		
			
				
					|  |  |  |  |             </if> | 
			
		
	
		
			
				
					|  |  |  |  |             <if test="thirdProductName != null"> | 
			
		
	
		
			
				
					|  |  |  |  |                 thirdProductName=#{thirdProductName}, | 
			
		
	
		
			
				
					|  |  |  |  |             </if> | 
			
		
	
		
			
				
					|  |  |  |  |             <if test="cpmctymc != null"> | 
			
		
	
		
			
				
					|  |  |  |  |                 cpmctymc=#{cpmctymc}, | 
			
		
	
		
			
				
					|  |  |  |  |             </if> | 
			
		
	
		
			
				
					|  |  |  |  |             <if test="cplb != null"> | 
			
		
	
		
			
				
					|  |  |  |  |                 cplb=#{cplb}, | 
			
		
	
		
			
				
					|  |  |  |  |             </if> | 
			
		
	
		
			
				
					|  |  |  |  |             <if test="flbm != null"> | 
			
		
	
		
			
				
					|  |  |  |  |                 flbm=#{flbm}, | 
			
		
	
		
			
				
					|  |  |  |  |             </if> | 
			
		
	
		
			
				
					|  |  |  |  |             <if test="ggxh != null"> | 
			
		
	
		
			
				
					|  |  |  |  |                 ggxh=#{ggxh}, | 
			
		
	
		
			
				
					|  |  |  |  |             </if> | 
			
		
	
		
			
				
					|  |  |  |  |             <if test="qxlb != null"> | 
			
		
	
		
			
				
					|  |  |  |  |                 qxlb=#{qxlb}, | 
			
		
	
		
			
				
					|  |  |  |  |             </if> | 
			
		
	
		
			
				
					|  |  |  |  |             <if test="tyshxydm != null"> | 
			
		
	
		
			
				
					|  |  |  |  |                 tyshxydm=#{tyshxydm}, | 
			
		
	
		
			
				
					|  |  |  |  |             </if> | 
			
		
	
		
			
				
					|  |  |  |  |             <if test="ylqxzcrbarmc != null"> | 
			
		
	
		
			
				
					|  |  |  |  |                 ylqxzcrbarmc=#{ylqxzcrbarmc}, | 
			
		
	
		
			
				
					|  |  |  |  |             </if> | 
			
		
	
		
			
				
					|  |  |  |  |             <if test="ylqxzcrbarywmc != null"> | 
			
		
	
		
			
				
					|  |  |  |  |                 ylqxzcrbarywmc=#{ylqxzcrbarywmc}, | 
			
		
	
		
			
				
					|  |  |  |  |             </if> | 
			
		
	
		
			
				
					|  |  |  |  |             <if test="uuid != null"> | 
			
		
	
		
			
				
					|  |  |  |  |                 uuid=#{uuid}, | 
			
		
	
		
			
				
					|  |  |  |  |             </if> | 
			
		
	
		
			
				
					|  |  |  |  |             <if test="sjcpbm != null"> | 
			
		
	
		
			
				
					|  |  |  |  |                 sjcpbm=#{sjcpbm}, | 
			
		
	
		
			
				
					|  |  |  |  |             </if> | 
			
		
	
		
			
				
					|  |  |  |  |             <if test="versionNumber != null"> | 
			
		
	
		
			
				
					|  |  |  |  |                 versionNumber=#{versionNumber}, | 
			
		
	
		
			
				
					|  |  |  |  |             </if> | 
			
		
	
		
			
				
					|  |  |  |  |             <if test="diType != null"> | 
			
		
	
		
			
				
					|  |  |  |  |                 diType=#{diType}, | 
			
		
	
		
			
				
					|  |  |  |  |             </if> | 
			
		
	
		
			
				
					|  |  |  |  |             <if test="isNewest != null"> | 
			
		
	
		
			
				
					|  |  |  |  |                 isNewest=#{isNewest}, | 
			
		
	
		
			
				
					|  |  |  |  |             </if> | 
			
		
	
		
			
				
					|  |  |  |  |             <if test="updateTime != null"> | 
			
		
	
		
			
				
					|  |  |  |  |                 updateTime=#{updateTime}, | 
			
		
	
		
			
				
					|  |  |  |  |             </if> | 
			
		
	
		
			
				
					|  |  |  |  |             <if test="cplx != null"> | 
			
		
	
		
			
				
					|  |  |  |  |                 cplx=#{cplx}, | 
			
		
	
		
			
				
					|  |  |  |  |             </if> | 
			
		
	
		
			
				
					|  |  |  |  |             <if test="hchzsb != null"> | 
			
		
	
		
			
				
					|  |  |  |  |                 hchzsb=#{hchzsb}, | 
			
		
	
		
			
				
					|  |  |  |  |             </if> | 
			
		
	
		
			
				
					|  |  |  |  |             <if test="sfwblztlcp != null"> | 
			
		
	
		
			
				
					|  |  |  |  |                 sfwblztlcp=#{sfwblztlcp}, | 
			
		
	
		
			
				
					|  |  |  |  |             </if> | 
			
		
	
		
			
				
					|  |  |  |  |             <if test="cgzmraqxgxx != null"> | 
			
		
	
		
			
				
					|  |  |  |  |                 cgzmraqxgxx=#{cgzmraqxgxx}, | 
			
		
	
		
			
				
					|  |  |  |  |             </if> | 
			
		
	
		
			
				
					|  |  |  |  |             <if test="sfbjwycxsy != null"> | 
			
		
	
		
			
				
					|  |  |  |  |                 sfbjwycxsy=#{sfbjwycxsy}, | 
			
		
	
		
			
				
					|  |  |  |  |             </if> | 
			
		
	
		
			
				
					|  |  |  |  |             <if test="zdcfsycs != null"> | 
			
		
	
		
			
				
					|  |  |  |  |                 zdcfsycs=#{zdcfsycs}, | 
			
		
	
		
			
				
					|  |  |  |  |             </if> | 
			
		
	
		
			
				
					|  |  |  |  |             <if test="sfwwjbz != null"> | 
			
		
	
		
			
				
					|  |  |  |  |                 sfwwjbz=#{sfwwjbz}, | 
			
		
	
		
			
				
					|  |  |  |  |             </if> | 
			
		
	
		
			
				
					|  |  |  |  |             <if test="syqsfxyjxmj != null"> | 
			
		
	
		
			
				
					|  |  |  |  |                 syqsfxyjxmj=#{syqsfxyjxmj}, | 
			
		
	
		
			
				
					|  |  |  |  |             </if> | 
			
		
	
		
			
				
					|  |  |  |  |             <if test="qtxxdwzlj != null"> | 
			
		
	
		
			
				
					|  |  |  |  |                 qtxxdwzlj=#{qtxxdwzlj}, | 
			
		
	
		
			
				
					|  |  |  |  |             </if> | 
			
		
	
		
			
				
					|  |  |  |  |             <if test="mjfs != null"> | 
			
		
	
		
			
				
					|  |  |  |  |                 mjfs=#{mjfs}, | 
			
		
	
		
			
				
					|  |  |  |  |             </if> | 
			
		
	
		
			
				
					|  |  |  |  |             <if test="categoryName != null"> | 
			
		
	
		
			
				
					|  |  |  |  |                 categoryName=#{categoryName}, | 
			
		
	
		
			
				
					|  |  |  |  |             </if> | 
			
		
	
		
			
				
					|  |  |  |  |         </set> | 
			
		
	
		
			
				
					|  |  |  |  |         WHERE id = #{id} | 
			
		
	
		
			
				
					|  |  |  |  |     </update> | 
			
		
	
	
		
			
				
					|  |  |  | @ -588,29 +672,72 @@ | 
			
		
	
		
			
				
					|  |  |  |  |     <update id="updateProductByUuid" parameterType="com.glxp.api.entity.basic.ProductInfoEntity"> | 
			
		
	
		
			
				
					|  |  |  |  |         UPDATE productinfo | 
			
		
	
		
			
				
					|  |  |  |  |         <set> | 
			
		
	
		
			
				
					|  |  |  |  |             <if test="scbssfbhph != null">scbssfbhph=#{scbssfbhph},</if> | 
			
		
	
		
			
				
					|  |  |  |  |             <if test="scbssfbhxlh != null">scbssfbhxlh=#{scbssfbhxlh},</if> | 
			
		
	
		
			
				
					|  |  |  |  |             <if test="scbssfbhscrq != null">scbssfbhscrq=#{scbssfbhscrq},</if> | 
			
		
	
		
			
				
					|  |  |  |  |             <if test="scbssfbhsxrq != null">scbssfbhsxrq=#{scbssfbhsxrq},</if> | 
			
		
	
		
			
				
					|  |  |  |  |             <if test="ybbm != null">ybbm=#{ybbm},</if> | 
			
		
	
		
			
				
					|  |  |  |  |             <if test="spmc != null">spmc=#{spmc},</if> | 
			
		
	
		
			
				
					|  |  |  |  |             <if test="cphhhbh != null">cphhhbh=#{cphhhbh},</if> | 
			
		
	
		
			
				
					|  |  |  |  |             <if test="cpms != null">cpms=#{cpms},</if> | 
			
		
	
		
			
				
					|  |  |  |  |             <if test="cpbsbmtxmc != null">cpbsbmtxmc=#{cpbsbmtxmc},</if> | 
			
		
	
		
			
				
					|  |  |  |  |             <if test="isNewest != null">isNewest=#{isNewest},</if> | 
			
		
	
		
			
				
					|  |  |  |  |             <if test="updateTime != null">updateTime=#{updateTime},</if> | 
			
		
	
		
			
				
					|  |  |  |  |             <if test="cplx != null">cplx=#{cplx},</if> | 
			
		
	
		
			
				
					|  |  |  |  |             <if test="hchzsb != null">hchzsb=#{hchzsb}, | 
			
		
	
		
			
				
					|  |  |  |  |             </if> | 
			
		
	
		
			
				
					|  |  |  |  |             <if test="sfwblztlcp != null">sfwblztlcp=#{sfwblztlcp},</if> | 
			
		
	
		
			
				
					|  |  |  |  |             <if test="cgzmraqxgxx != null">cgzmraqxgxx=#{cgzmraqxgxx},</if> | 
			
		
	
		
			
				
					|  |  |  |  |             <if test="sfbjwycxsy != null">sfbjwycxsy=#{sfbjwycxsy},</if> | 
			
		
	
		
			
				
					|  |  |  |  |             <if test="zdcfsycs != null">zdcfsycs=#{zdcfsycs},</if> | 
			
		
	
		
			
				
					|  |  |  |  |             <if test="sfwwjbz != null">sfwwjbz=#{sfwwjbz},</if> | 
			
		
	
		
			
				
					|  |  |  |  |             <if test="syqsfxyjxmj != null">syqsfxyjxmj=#{syqsfxyjxmj}, | 
			
		
	
		
			
				
					|  |  |  |  |             </if> | 
			
		
	
		
			
				
					|  |  |  |  |             <if test="qtxxdwzlj != null">qtxxdwzlj=#{qtxxdwzlj},</if> | 
			
		
	
		
			
				
					|  |  |  |  |             <if test="mjfs != null">mjfs=#{mjfs},</if> | 
			
		
	
		
			
				
					|  |  |  |  |             <if test="scbssfbhph != null"> | 
			
		
	
		
			
				
					|  |  |  |  |                 scbssfbhph=#{scbssfbhph}, | 
			
		
	
		
			
				
					|  |  |  |  |             </if> | 
			
		
	
		
			
				
					|  |  |  |  |             <if test="scbssfbhxlh != null"> | 
			
		
	
		
			
				
					|  |  |  |  |                 scbssfbhxlh=#{scbssfbhxlh}, | 
			
		
	
		
			
				
					|  |  |  |  |             </if> | 
			
		
	
		
			
				
					|  |  |  |  |             <if test="scbssfbhscrq != null"> | 
			
		
	
		
			
				
					|  |  |  |  |                 scbssfbhscrq=#{scbssfbhscrq}, | 
			
		
	
		
			
				
					|  |  |  |  |             </if> | 
			
		
	
		
			
				
					|  |  |  |  |             <if test="scbssfbhsxrq != null"> | 
			
		
	
		
			
				
					|  |  |  |  |                 scbssfbhsxrq=#{scbssfbhsxrq}, | 
			
		
	
		
			
				
					|  |  |  |  |             </if> | 
			
		
	
		
			
				
					|  |  |  |  |             <if test="ybbm != null"> | 
			
		
	
		
			
				
					|  |  |  |  |                 ybbm=#{ybbm}, | 
			
		
	
		
			
				
					|  |  |  |  |             </if> | 
			
		
	
		
			
				
					|  |  |  |  |             <if test="spmc != null"> | 
			
		
	
		
			
				
					|  |  |  |  |                 spmc=#{spmc}, | 
			
		
	
		
			
				
					|  |  |  |  |             </if> | 
			
		
	
		
			
				
					|  |  |  |  |             <if test="cphhhbh != null"> | 
			
		
	
		
			
				
					|  |  |  |  |                 cphhhbh=#{cphhhbh}, | 
			
		
	
		
			
				
					|  |  |  |  |             </if> | 
			
		
	
		
			
				
					|  |  |  |  |             <if test="cpms != null"> | 
			
		
	
		
			
				
					|  |  |  |  |                 cpms=#{cpms}, | 
			
		
	
		
			
				
					|  |  |  |  |             </if> | 
			
		
	
		
			
				
					|  |  |  |  |             <if test="cpbsbmtxmc != null"> | 
			
		
	
		
			
				
					|  |  |  |  |                 cpbsbmtxmc=#{cpbsbmtxmc}, | 
			
		
	
		
			
				
					|  |  |  |  |             </if> | 
			
		
	
		
			
				
					|  |  |  |  |             <if test="isNewest != null"> | 
			
		
	
		
			
				
					|  |  |  |  |                 isNewest=#{isNewest}, | 
			
		
	
		
			
				
					|  |  |  |  |             </if> | 
			
		
	
		
			
				
					|  |  |  |  |             <if test="updateTime != null"> | 
			
		
	
		
			
				
					|  |  |  |  |                 updateTime=#{updateTime}, | 
			
		
	
		
			
				
					|  |  |  |  |             </if> | 
			
		
	
		
			
				
					|  |  |  |  |             <if test="cplx != null"> | 
			
		
	
		
			
				
					|  |  |  |  |                 cplx=#{cplx}, | 
			
		
	
		
			
				
					|  |  |  |  |             </if> | 
			
		
	
		
			
				
					|  |  |  |  |             <if test="hchzsb != null"> | 
			
		
	
		
			
				
					|  |  |  |  |                 hchzsb=#{hchzsb}, | 
			
		
	
		
			
				
					|  |  |  |  |             </if> | 
			
		
	
		
			
				
					|  |  |  |  |             <if test="sfwblztlcp != null"> | 
			
		
	
		
			
				
					|  |  |  |  |                 sfwblztlcp=#{sfwblztlcp}, | 
			
		
	
		
			
				
					|  |  |  |  |             </if> | 
			
		
	
		
			
				
					|  |  |  |  |             <if test="cgzmraqxgxx != null"> | 
			
		
	
		
			
				
					|  |  |  |  |                 cgzmraqxgxx=#{cgzmraqxgxx}, | 
			
		
	
		
			
				
					|  |  |  |  |             </if> | 
			
		
	
		
			
				
					|  |  |  |  |             <if test="sfbjwycxsy != null"> | 
			
		
	
		
			
				
					|  |  |  |  |                 sfbjwycxsy=#{sfbjwycxsy}, | 
			
		
	
		
			
				
					|  |  |  |  |             </if> | 
			
		
	
		
			
				
					|  |  |  |  |             <if test="zdcfsycs != null"> | 
			
		
	
		
			
				
					|  |  |  |  |                 zdcfsycs=#{zdcfsycs}, | 
			
		
	
		
			
				
					|  |  |  |  |             </if> | 
			
		
	
		
			
				
					|  |  |  |  |             <if test="sfwwjbz != null"> | 
			
		
	
		
			
				
					|  |  |  |  |                 sfwwjbz=#{sfwwjbz}, | 
			
		
	
		
			
				
					|  |  |  |  |             </if> | 
			
		
	
		
			
				
					|  |  |  |  |             <if test="syqsfxyjxmj != null"> | 
			
		
	
		
			
				
					|  |  |  |  |                 syqsfxyjxmj=#{syqsfxyjxmj}, | 
			
		
	
		
			
				
					|  |  |  |  |             </if> | 
			
		
	
		
			
				
					|  |  |  |  |             <if test="qtxxdwzlj != null"> | 
			
		
	
		
			
				
					|  |  |  |  |                 qtxxdwzlj=#{qtxxdwzlj}, | 
			
		
	
		
			
				
					|  |  |  |  |             </if> | 
			
		
	
		
			
				
					|  |  |  |  |             <if test="mjfs != null"> | 
			
		
	
		
			
				
					|  |  |  |  |                 mjfs=#{mjfs}, | 
			
		
	
		
			
				
					|  |  |  |  |             </if> | 
			
		
	
		
			
				
					|  |  |  |  |             <if test="categoryName != null"> | 
			
		
	
		
			
				
					|  |  |  |  |                 categoryName=#{categoryName}, | 
			
		
	
		
			
				
					|  |  |  |  |             </if> | 
			
		
	
		
			
				
					|  |  |  |  |         </set> | 
			
		
	
		
			
				
					|  |  |  |  |         WHERE uuid = #{uuid} | 
			
		
	
		
			
				
					|  |  |  |  |     </update> | 
			
		
	
	
		
			
				
					|  |  |  | @ -620,7 +747,8 @@ | 
			
		
	
		
			
				
					|  |  |  |  |     <select id="findAllUuids" parameterType="com.glxp.api.util.page.ListPageRequest" resultType="java.lang.String"> | 
			
		
	
		
			
				
					|  |  |  |  |         SELECT uuid | 
			
		
	
		
			
				
					|  |  |  |  |         from device | 
			
		
	
		
			
				
					|  |  |  |  |         group by uuid limit #{page}, #{limit} | 
			
		
	
		
			
				
					|  |  |  |  |         group by uuid | 
			
		
	
		
			
				
					|  |  |  |  |         limit #{page}, #{limit} | 
			
		
	
		
			
				
					|  |  |  |  |     </select> | 
			
		
	
		
			
				
					|  |  |  |  |     <select id="findAllTyshxyh" resultType="java.lang.String"> | 
			
		
	
		
			
				
					|  |  |  |  |         SELECT tyshxydm | 
			
		
	
	
		
			
				
					|  |  |  | 
 |