|  |  |  | @ -258,6 +258,103 @@ | 
			
		
	
		
			
				
					|  |  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |  |     </select> | 
			
		
	
		
			
				
					|  |  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |  |     <select id="filterUdiNoPage" parameterType="com.glxp.api.admin.req.receipt.ProductInfoFilterRequest" | 
			
		
	
		
			
				
					|  |  |  |  |             resultType="com.glxp.api.admin.entity.basic.ProductInfoEntity"> | 
			
		
	
		
			
				
					|  |  |  |  |         select * | 
			
		
	
		
			
				
					|  |  |  |  |         from productinfo | 
			
		
	
		
			
				
					|  |  |  |  |         <where> | 
			
		
	
		
			
				
					|  |  |  |  |             <if test="ylqxzcrbarmc != '' and ylqxzcrbarmc != null"> | 
			
		
	
		
			
				
					|  |  |  |  |                 AND ylqxzcrbarmc = #{ylqxzcrbarmc} | 
			
		
	
		
			
				
					|  |  |  |  |             </if> | 
			
		
	
		
			
				
					|  |  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |  |             <if test="ylqxzcrbarmc == null and cpmctymc != '' and cpmctymc != null"> | 
			
		
	
		
			
				
					|  |  |  |  |                 AND cpmctymc LIKE concat(#{cpmctymc}, '%') | 
			
		
	
		
			
				
					|  |  |  |  |             </if> | 
			
		
	
		
			
				
					|  |  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |  |             <if test="ylqxzcrbarmc != '' and ylqxzcrbarmc != null and cpmctymc != '' and cpmctymc != null"> | 
			
		
	
		
			
				
					|  |  |  |  |                 AND cpmctymc LIKE concat('%', #{cpmctymc}, '%') | 
			
		
	
		
			
				
					|  |  |  |  |             </if> | 
			
		
	
		
			
				
					|  |  |  |  |             <if test="nameCode != '' and nameCode != null"> | 
			
		
	
		
			
				
					|  |  |  |  |                 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}, '%') | 
			
		
	
		
			
				
					|  |  |  |  |             </if> | 
			
		
	
		
			
				
					|  |  |  |  |             <if test="zczbhhzbapzbh != '' and zczbhhzbapzbh != null"> | 
			
		
	
		
			
				
					|  |  |  |  |                 AND zczbhhzbapzbh LIKE concat('%', #{zczbhhzbapzbh}, '%') | 
			
		
	
		
			
				
					|  |  |  |  |             </if> | 
			
		
	
		
			
				
					|  |  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |  |             <if test="deviceRecordKey != '' and deviceRecordKey != null"> | 
			
		
	
		
			
				
					|  |  |  |  |                 AND deviceRecordKey = #{deviceRecordKey} | 
			
		
	
		
			
				
					|  |  |  |  |             </if> | 
			
		
	
		
			
				
					|  |  |  |  |             <if test="updateTime != null and updateTime != ''"> | 
			
		
	
		
			
				
					|  |  |  |  |                 <![CDATA[ | 
			
		
	
		
			
				
					|  |  |  |  |                 and DATE_FORMAT(updateTime, '%Y-%m-%d %H:%i:%S') >= DATE_FORMAT(#{updateTime}, '%Y-%m-%d %H:%i:%S') | 
			
		
	
		
			
				
					|  |  |  |  |                 ]]> | 
			
		
	
		
			
				
					|  |  |  |  |             </if> | 
			
		
	
		
			
				
					|  |  |  |  |             <if test="isNewest != null and isNewest != ''"> | 
			
		
	
		
			
				
					|  |  |  |  |                 AND isNewest = #{isNewest} | 
			
		
	
		
			
				
					|  |  |  |  |             </if> | 
			
		
	
		
			
				
					|  |  |  |  |             <if test="diType != '' and diType != null"> | 
			
		
	
		
			
				
					|  |  |  |  |                 AND diType = #{diType} | 
			
		
	
		
			
				
					|  |  |  |  |             </if> | 
			
		
	
		
			
				
					|  |  |  |  |         </where> | 
			
		
	
		
			
				
					|  |  |  |  |         limit #{page},#{limit} | 
			
		
	
		
			
				
					|  |  |  |  |     </select> | 
			
		
	
		
			
				
					|  |  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |  |     <select id="filterUdiNoPageCount" parameterType="com.glxp.api.admin.req.receipt.ProductInfoFilterRequest" | 
			
		
	
		
			
				
					|  |  |  |  |             resultType="java.lang.Long"> | 
			
		
	
		
			
				
					|  |  |  |  |         select count(0) | 
			
		
	
		
			
				
					|  |  |  |  |         from productinfo | 
			
		
	
		
			
				
					|  |  |  |  |         <where> | 
			
		
	
		
			
				
					|  |  |  |  |             <if test="ylqxzcrbarmc != '' and ylqxzcrbarmc != null"> | 
			
		
	
		
			
				
					|  |  |  |  |                 AND ylqxzcrbarmc = #{ylqxzcrbarmc} | 
			
		
	
		
			
				
					|  |  |  |  |             </if> | 
			
		
	
		
			
				
					|  |  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |  |             <if test="ylqxzcrbarmc == null and cpmctymc != '' and cpmctymc != null"> | 
			
		
	
		
			
				
					|  |  |  |  |                 AND cpmctymc LIKE concat(#{cpmctymc}, '%') | 
			
		
	
		
			
				
					|  |  |  |  |             </if> | 
			
		
	
		
			
				
					|  |  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |  |             <if test="ylqxzcrbarmc != '' and ylqxzcrbarmc != null and cpmctymc != '' and cpmctymc != null"> | 
			
		
	
		
			
				
					|  |  |  |  |                 AND cpmctymc LIKE concat('%', #{cpmctymc}, '%') | 
			
		
	
		
			
				
					|  |  |  |  |             </if> | 
			
		
	
		
			
				
					|  |  |  |  |             <if test="nameCode != '' and nameCode != null"> | 
			
		
	
		
			
				
					|  |  |  |  |                 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}, '%') | 
			
		
	
		
			
				
					|  |  |  |  |             </if> | 
			
		
	
		
			
				
					|  |  |  |  |             <if test="zczbhhzbapzbh != '' and zczbhhzbapzbh != null"> | 
			
		
	
		
			
				
					|  |  |  |  |                 AND zczbhhzbapzbh LIKE concat('%', #{zczbhhzbapzbh}, '%') | 
			
		
	
		
			
				
					|  |  |  |  |             </if> | 
			
		
	
		
			
				
					|  |  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |  |             <if test="deviceRecordKey != '' and deviceRecordKey != null"> | 
			
		
	
		
			
				
					|  |  |  |  |                 AND deviceRecordKey = #{deviceRecordKey} | 
			
		
	
		
			
				
					|  |  |  |  |             </if> | 
			
		
	
		
			
				
					|  |  |  |  |             <if test="updateTime != null and updateTime != ''"> | 
			
		
	
		
			
				
					|  |  |  |  |                 <![CDATA[ | 
			
		
	
		
			
				
					|  |  |  |  |                 and DATE_FORMAT(updateTime, '%Y-%m-%d %H:%i:%S') >= DATE_FORMAT(#{updateTime}, '%Y-%m-%d %H:%i:%S') | 
			
		
	
		
			
				
					|  |  |  |  |                 ]]> | 
			
		
	
		
			
				
					|  |  |  |  |             </if> | 
			
		
	
		
			
				
					|  |  |  |  |             <if test="isNewest != null and isNewest != ''"> | 
			
		
	
		
			
				
					|  |  |  |  |                 AND isNewest = #{isNewest} | 
			
		
	
		
			
				
					|  |  |  |  |             </if> | 
			
		
	
		
			
				
					|  |  |  |  |             <if test="diType != '' and diType != null"> | 
			
		
	
		
			
				
					|  |  |  |  |                 AND diType = #{diType} | 
			
		
	
		
			
				
					|  |  |  |  |             </if> | 
			
		
	
		
			
				
					|  |  |  |  |         </where> | 
			
		
	
		
			
				
					|  |  |  |  |     </select> | 
			
		
	
		
			
				
					|  |  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |  |     <select id="selectByUpdateTime" | 
			
		
	
		
			
				
					|  |  |  |  |             resultType="com.glxp.api.admin.entity.basic.ProductInfoEntity"> | 
			
		
	
		
			
				
					|  |  |  |  |         select * | 
			
		
	
	
		
			
				
					|  |  |  | 
 |