|  |  |  | @ -51,58 +51,57 @@ | 
			
		
	
		
			
				
					|  |  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |  |     <insert id="insertThrProducts" keyProperty="id" parameterType="com.glxp.api.admin.entity.thrsys.ThrProductsEntity"> | 
			
		
	
		
			
				
					|  |  |  |  |         replace | 
			
		
	
		
			
				
					|  |  |  |  |         INTO thr_products | 
			
		
	
		
			
				
					|  |  |  |  |         ( | 
			
		
	
		
			
				
					|  |  |  |  |         code,name,measname,spec,registerNo,manufactory, | 
			
		
	
		
			
				
					|  |  |  |  |         cplb,flbm,qxlb,ybbm,sptm,tyshxydm,zczbhhzbapzbh,ylqxzcrbarmc,ylqxzcrbarywmc,cpms, | 
			
		
	
		
			
				
					|  |  |  |  |         thirdSysFk,updateTime,supName | 
			
		
	
		
			
				
					|  |  |  |  |         ) | 
			
		
	
		
			
				
					|  |  |  |  |         values | 
			
		
	
		
			
				
					|  |  |  |  |             ( | 
			
		
	
		
			
				
					|  |  |  |  |         #{code}, | 
			
		
	
		
			
				
					|  |  |  |  |         #{name}, | 
			
		
	
		
			
				
					|  |  |  |  |         #{measname}, | 
			
		
	
		
			
				
					|  |  |  |  |         #{spec}, | 
			
		
	
		
			
				
					|  |  |  |  |         #{registerNo}, | 
			
		
	
		
			
				
					|  |  |  |  |         #{manufactory}, | 
			
		
	
		
			
				
					|  |  |  |  |         #{cplb}, | 
			
		
	
		
			
				
					|  |  |  |  |         #{flbm}, | 
			
		
	
		
			
				
					|  |  |  |  |         #{qxlb}, | 
			
		
	
		
			
				
					|  |  |  |  |         #{ybbm}, | 
			
		
	
		
			
				
					|  |  |  |  |         #{sptm}, | 
			
		
	
		
			
				
					|  |  |  |  |         #{tyshxydm}, | 
			
		
	
		
			
				
					|  |  |  |  |         #{zczbhhzbapzbh}, | 
			
		
	
		
			
				
					|  |  |  |  |         #{ylqxzcrbarmc}, | 
			
		
	
		
			
				
					|  |  |  |  |         #{ylqxzcrbarywmc}, | 
			
		
	
		
			
				
					|  |  |  |  |         #{cpms} | 
			
		
	
		
			
				
					|  |  |  |  |         #{thirdSysFk}, | 
			
		
	
		
			
				
					|  |  |  |  |         #{updateTime}, | 
			
		
	
		
			
				
					|  |  |  |  |         #{supName} | 
			
		
	
		
			
				
					|  |  |  |  |         ) | 
			
		
	
		
			
				
					|  |  |  |  |                 INTO thr_products | 
			
		
	
		
			
				
					|  |  |  |  |                 (code, name, measname, spec, registerNo, manufactory, | 
			
		
	
		
			
				
					|  |  |  |  |                  cplb, flbm, qxlb, ybbm, sptm, tyshxydm, zczbhhzbapzbh, ylqxzcrbarmc, ylqxzcrbarywmc, cpms, | 
			
		
	
		
			
				
					|  |  |  |  |                  thirdSysFk, updateTime, supName, model, standard, qtbm, zczyxqz, remark, remark1, remark2, remark3) | 
			
		
	
		
			
				
					|  |  |  |  |         values (#{code}, | 
			
		
	
		
			
				
					|  |  |  |  |                 #{name}, | 
			
		
	
		
			
				
					|  |  |  |  |                 #{measname}, | 
			
		
	
		
			
				
					|  |  |  |  |                 #{spec}, | 
			
		
	
		
			
				
					|  |  |  |  |                 #{registerNo}, | 
			
		
	
		
			
				
					|  |  |  |  |                 #{manufactory}, | 
			
		
	
		
			
				
					|  |  |  |  |                 #{cplb}, | 
			
		
	
		
			
				
					|  |  |  |  |                 #{flbm}, | 
			
		
	
		
			
				
					|  |  |  |  |                 #{qxlb}, | 
			
		
	
		
			
				
					|  |  |  |  |                 #{ybbm}, | 
			
		
	
		
			
				
					|  |  |  |  |                 #{sptm}, | 
			
		
	
		
			
				
					|  |  |  |  |                 #{tyshxydm}, | 
			
		
	
		
			
				
					|  |  |  |  |                 #{zczbhhzbapzbh}, | 
			
		
	
		
			
				
					|  |  |  |  |                 #{ylqxzcrbarmc}, | 
			
		
	
		
			
				
					|  |  |  |  |                 #{ylqxzcrbarywmc}, | 
			
		
	
		
			
				
					|  |  |  |  |                 #{cpms}, | 
			
		
	
		
			
				
					|  |  |  |  |                 #{thirdSysFk}, | 
			
		
	
		
			
				
					|  |  |  |  |                 #{updateTime}, | 
			
		
	
		
			
				
					|  |  |  |  |                 #{model}, | 
			
		
	
		
			
				
					|  |  |  |  |                 #{standard}, | 
			
		
	
		
			
				
					|  |  |  |  |                 #{qtbm}, | 
			
		
	
		
			
				
					|  |  |  |  |                 #{zczyxqz}, | 
			
		
	
		
			
				
					|  |  |  |  |                 #{remark}, | 
			
		
	
		
			
				
					|  |  |  |  |                 #{remark1}, | 
			
		
	
		
			
				
					|  |  |  |  |                 #{remark2}, | 
			
		
	
		
			
				
					|  |  |  |  |                 #{remark3}) | 
			
		
	
		
			
				
					|  |  |  |  |     </insert> | 
			
		
	
		
			
				
					|  |  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |  |     <insert id="insertThrProductss" keyProperty="id" parameterType="java.util.List"> | 
			
		
	
		
			
				
					|  |  |  |  |         replace INTO thr_products | 
			
		
	
		
			
				
					|  |  |  |  |         ( | 
			
		
	
		
			
				
					|  |  |  |  |         code,name,measname,spec,registerNo,manufactory, | 
			
		
	
		
			
				
					|  |  |  |  |         cplb,flbm,qxlb,ybbm,sptm,tyshxydm,zczbhhzbapzbh,ylqxzcrbarmc,ylqxzcrbarywmc,cpms, | 
			
		
	
		
			
				
					|  |  |  |  |         thirdSysFk,updateTime,supName | 
			
		
	
		
			
				
					|  |  |  |  |         ) | 
			
		
	
		
			
				
					|  |  |  |  |         values | 
			
		
	
		
			
				
					|  |  |  |  |                 (code, name, measname, spec, registerNo, manufactory, | 
			
		
	
		
			
				
					|  |  |  |  |                  cplb, flbm, qxlb, ybbm, sptm, tyshxydm, zczbhhzbapzbh, ylqxzcrbarmc, ylqxzcrbarywmc, cpms, | 
			
		
	
		
			
				
					|  |  |  |  |                  thirdSysFk, updateTime, supName, model, standard, qtbm, zczyxqz, remark, remark1, remark2, remark3) | 
			
		
	
		
			
				
					|  |  |  |  |                 values | 
			
		
	
		
			
				
					|  |  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |  |         <foreach collection="thrProductsEntities" item="item" index="index" | 
			
		
	
		
			
				
					|  |  |  |  |                  separator=","> | 
			
		
	
		
			
				
					|  |  |  |  |             ( | 
			
		
	
		
			
				
					|  |  |  |  |             #{item.code}, | 
			
		
	
		
			
				
					|  |  |  |  |             #{item.name}, | 
			
		
	
		
			
				
					|  |  |  |  |             #{item.measname}, | 
			
		
	
		
			
				
					|  |  |  |  |             #{item.spec}, | 
			
		
	
		
			
				
					|  |  |  |  |             #{item.registerNo}, | 
			
		
	
		
			
				
					|  |  |  |  |             #{item.manufactory}, | 
			
		
	
		
			
				
					|  |  |  |  |             #{item.cplb}, #{item.flbm}, #{item.qxlb}, #{item.ybbm},#{item.sptm}, | 
			
		
	
		
			
				
					|  |  |  |  |             #{item.tyshxydm}, #{item.zczbhhzbapzbh}, #{item.ylqxzcrbarmc}, #{item.ylqxzcrbarywmc},#{item.cpms}, | 
			
		
	
		
			
				
					|  |  |  |  |             #{item.thirdSysFk},#{item.updateTime},#{item.supName} | 
			
		
	
		
			
				
					|  |  |  |  |             ) | 
			
		
	
		
			
				
					|  |  |  |  |             (#{item.code}, | 
			
		
	
		
			
				
					|  |  |  |  |              #{item.name}, | 
			
		
	
		
			
				
					|  |  |  |  |              #{item.measname}, | 
			
		
	
		
			
				
					|  |  |  |  |              #{item.spec}, | 
			
		
	
		
			
				
					|  |  |  |  |              #{item.registerNo}, | 
			
		
	
		
			
				
					|  |  |  |  |              #{item.manufactory}, | 
			
		
	
		
			
				
					|  |  |  |  |              #{item.cplb}, #{item.flbm}, #{item.qxlb}, #{item.ybbm}, #{item.sptm}, | 
			
		
	
		
			
				
					|  |  |  |  |              #{item.tyshxydm}, #{item.zczbhhzbapzbh}, #{item.ylqxzcrbarmc}, #{item.ylqxzcrbarywmc}, #{item.cpms}, | 
			
		
	
		
			
				
					|  |  |  |  |              #{item.thirdSysFk}, #{item.updateTime}, #{item.supName}, #{item.model}, #{item.standard}, #{item.zczyxqz}, | 
			
		
	
		
			
				
					|  |  |  |  |              #{item.remark}, #{item.remark1}, #{item.remark2}, #{item.remark3}) | 
			
		
	
		
			
				
					|  |  |  |  |         </foreach> | 
			
		
	
		
			
				
					|  |  |  |  |     </insert> | 
			
		
	
		
			
				
					|  |  |  |  | 
 | 
			
		
	
	
		
			
				
					|  |  |  | @ -134,7 +133,13 @@ | 
			
		
	
		
			
				
					|  |  |  |  |             <if test="thirdSysFk != null">thirdSysFk=#{thirdSysFk},</if> | 
			
		
	
		
			
				
					|  |  |  |  |             <if test="updateTime != null">updateTime=#{updateTime},</if> | 
			
		
	
		
			
				
					|  |  |  |  |             <if test="supName != null">supName=#{supName},</if> | 
			
		
	
		
			
				
					|  |  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |  |             <if test="model != null">model=#{model},</if> | 
			
		
	
		
			
				
					|  |  |  |  |             <if test="standard != null">standard=#{standard},</if> | 
			
		
	
		
			
				
					|  |  |  |  |             <if test="zczyxqz != null">zczyxqz=#{zczyxqz},</if> | 
			
		
	
		
			
				
					|  |  |  |  |             <if test="remark != null">remark=#{remark},</if> | 
			
		
	
		
			
				
					|  |  |  |  |             <if test="remark1 != null">remark1=#{remark1},</if> | 
			
		
	
		
			
				
					|  |  |  |  |             <if test="remark2 != null">remark2=#{remark2},</if> | 
			
		
	
		
			
				
					|  |  |  |  |             <if test="remark3 != null">remark3=#{remark3},</if> | 
			
		
	
		
			
				
					|  |  |  |  |         </trim> | 
			
		
	
		
			
				
					|  |  |  |  |         WHERE id = #{id} | 
			
		
	
		
			
				
					|  |  |  |  |     </update> | 
			
		
	
	
		
			
				
					|  |  |  | @ -147,7 +152,8 @@ | 
			
		
	
		
			
				
					|  |  |  |  |     <insert id="importThrProductss" parameterType="java.util.List"> | 
			
		
	
		
			
				
					|  |  |  |  |         replace into thr_products (id, code, name, measname, spec, registerNo, manufactory, thirdSysFk, cplb, flbm, | 
			
		
	
		
			
				
					|  |  |  |  |                                    qxlb, ybbm, sptm, tyshxydm, zczbhhzbapzbh, ylqxzcrbarmc, ylqxzcrbarywmc, cpms, | 
			
		
	
		
			
				
					|  |  |  |  |                                    updateTime, supName) VALUES | 
			
		
	
		
			
				
					|  |  |  |  |                                    updateTime, supName, model, standard, qtbm, zczyxqz, remark, remark1, remark2, | 
			
		
	
		
			
				
					|  |  |  |  |                                    remark3) VALUES | 
			
		
	
		
			
				
					|  |  |  |  |         <foreach collection="thrProductsEntities" item="item" index="index" separator=","> | 
			
		
	
		
			
				
					|  |  |  |  |             (#{item.id}, | 
			
		
	
		
			
				
					|  |  |  |  |              #{item.code}, | 
			
		
	
	
		
			
				
					|  |  |  | @ -168,7 +174,14 @@ | 
			
		
	
		
			
				
					|  |  |  |  |              #{item.ylqxzcrbarywmc}, | 
			
		
	
		
			
				
					|  |  |  |  |              #{item.cpms}, | 
			
		
	
		
			
				
					|  |  |  |  |              #{item.updateTime}, | 
			
		
	
		
			
				
					|  |  |  |  |              #{item.supName}) | 
			
		
	
		
			
				
					|  |  |  |  |              #{item.supName}, | 
			
		
	
		
			
				
					|  |  |  |  |              #{item.model}, | 
			
		
	
		
			
				
					|  |  |  |  |              #{item.standard}, | 
			
		
	
		
			
				
					|  |  |  |  |              #{item.zczyxqz}, | 
			
		
	
		
			
				
					|  |  |  |  |              #{item.remark}, | 
			
		
	
		
			
				
					|  |  |  |  |              #{item.remark1}, | 
			
		
	
		
			
				
					|  |  |  |  |              #{item.remark2}, | 
			
		
	
		
			
				
					|  |  |  |  |              #{item.remark3}) | 
			
		
	
		
			
				
					|  |  |  |  |         </foreach> | 
			
		
	
		
			
				
					|  |  |  |  |     </insert> | 
			
		
	
		
			
				
					|  |  |  |  | </mapper> |