| 
						
						
							
								
							
						
						
					 | 
					 | 
					@ -10,6 +10,7 @@
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					        <result column="createTime" jdbcType="VARCHAR" property="createTime"/>
 | 
					 | 
					 | 
					 | 
					        <result column="createTime" jdbcType="VARCHAR" property="createTime"/>
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					        <result column="updateTime" jdbcType="VARCHAR" property="updateTime"/>
 | 
					 | 
					 | 
					 | 
					        <result column="updateTime" jdbcType="VARCHAR" property="updateTime"/>
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					        <result column="status" jdbcType="INTEGER" property="status"/>
 | 
					 | 
					 | 
					 | 
					        <result column="status" jdbcType="INTEGER" property="status"/>
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					        <result column="collectUser" jdbcType="VARCHAR" property="collectUser"/>
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					    </resultMap>
 | 
					 | 
					 | 
					 | 
					    </resultMap>
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					
 | 
					 | 
					 | 
					 | 
					
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					    <sql id="Base_Column_List">
 | 
					 | 
					 | 
					 | 
					    <sql id="Base_Column_List">
 | 
				
			
			
		
	
	
		
		
			
				
					| 
						
						
						
							
								
							
						
					 | 
					 | 
					@ -20,7 +21,8 @@
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					        auditUser,
 | 
					 | 
					 | 
					 | 
					        auditUser,
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					        createTime,
 | 
					 | 
					 | 
					 | 
					        createTime,
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					        updateTime,
 | 
					 | 
					 | 
					 | 
					        updateTime,
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					        `status`
 | 
					 | 
					 | 
					 | 
					        `status`,
 | 
				
			
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					        collectUser
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					    </sql>
 | 
					 | 
					 | 
					 | 
					    </sql>
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					
 | 
					 | 
					 | 
					 | 
					
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					    <select id="selectByPrimaryKey" parameterType="java.lang.Integer" resultMap="BaseResultMap">
 | 
					 | 
					 | 
					 | 
					    <select id="selectByPrimaryKey" parameterType="java.lang.Integer" resultMap="BaseResultMap">
 | 
				
			
			
		
	
	
		
		
			
				
					| 
						
						
						
							
								
							
						
					 | 
					 | 
					@ -40,10 +42,10 @@
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					            parameterType="com.glxp.api.admin.entity.inventory.DeviceCollectOrderEntity" useGeneratedKeys="true">
 | 
					 | 
					 | 
					 | 
					            parameterType="com.glxp.api.admin.entity.inventory.DeviceCollectOrderEntity" useGeneratedKeys="true">
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					        insert into device_collect_order (orderId, deptCode, `createUser`,
 | 
					 | 
					 | 
					 | 
					        insert into device_collect_order (orderId, deptCode, `createUser`,
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					                                          auditUser, createTime, updateTime,
 | 
					 | 
					 | 
					 | 
					                                          auditUser, createTime, updateTime,
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					                                          `status`)
 | 
					 | 
					 | 
					 | 
					                                          `status`, collectUser)
 | 
				
			
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					        values (#{orderId,jdbcType=VARCHAR}, #{deptCode,jdbcType=VARCHAR}, #{createUser,jdbcType=VARCHAR},
 | 
					 | 
					 | 
					 | 
					        values (#{orderId,jdbcType=VARCHAR}, #{deptCode,jdbcType=VARCHAR}, #{createUser,jdbcType=VARCHAR},
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					                #{auditUser,jdbcType=VARCHAR}, #{createTime,jdbcType=VARCHAR}, #{updateTime,jdbcType=VARCHAR},
 | 
					 | 
					 | 
					 | 
					                #{auditUser,jdbcType=VARCHAR}, #{createTime,jdbcType=VARCHAR}, #{updateTime,jdbcType=VARCHAR},
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					                #{status,jdbcType=INTEGER})
 | 
					 | 
					 | 
					 | 
					                #{status,jdbcType=INTEGER}, #{collectUser,jdbcType=VARCHAR})
 | 
				
			
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					    </insert>
 | 
					 | 
					 | 
					 | 
					    </insert>
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					
 | 
					 | 
					 | 
					 | 
					
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					    <insert id="insertSelective" keyColumn="id" keyProperty="id"
 | 
					 | 
					 | 
					 | 
					    <insert id="insertSelective" keyColumn="id" keyProperty="id"
 | 
				
			
			
		
	
	
		
		
			
				
					| 
						
							
								
							
						
						
							
								
							
						
						
					 | 
					 | 
					@ -71,6 +73,9 @@
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					            <if test="status != null">
 | 
					 | 
					 | 
					 | 
					            <if test="status != null">
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					                `status`,
 | 
					 | 
					 | 
					 | 
					                `status`,
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					            </if>
 | 
					 | 
					 | 
					 | 
					            </if>
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					            <if test="collectUser != null">
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					                collectUser,
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					            </if>
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					        </trim>
 | 
					 | 
					 | 
					 | 
					        </trim>
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					        <trim prefix="values (" suffix=")" suffixOverrides=",">
 | 
					 | 
					 | 
					 | 
					        <trim prefix="values (" suffix=")" suffixOverrides=",">
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					            <if test="orderId != null">
 | 
					 | 
					 | 
					 | 
					            <if test="orderId != null">
 | 
				
			
			
		
	
	
		
		
			
				
					| 
						
						
						
							
								
							
						
					 | 
					 | 
					@ -94,6 +99,9 @@
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					            <if test="status != null">
 | 
					 | 
					 | 
					 | 
					            <if test="status != null">
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					                #{status,jdbcType=INTEGER},
 | 
					 | 
					 | 
					 | 
					                #{status,jdbcType=INTEGER},
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					            </if>
 | 
					 | 
					 | 
					 | 
					            </if>
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					            <if test="collectUser != null">
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					                #{collectUser,jdbcType=VARCHAR},
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					            </if>
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					        </trim>
 | 
					 | 
					 | 
					 | 
					        </trim>
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					    </insert>
 | 
					 | 
					 | 
					 | 
					    </insert>
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					
 | 
					 | 
					 | 
					 | 
					
 | 
				
			
			
		
	
	
		
		
			
				
					| 
						
							
								
							
						
						
							
								
							
						
						
					 | 
					 | 
					@ -122,6 +130,9 @@
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					            <if test="status != null">
 | 
					 | 
					 | 
					 | 
					            <if test="status != null">
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					                `status` = #{status,jdbcType=INTEGER},
 | 
					 | 
					 | 
					 | 
					                `status` = #{status,jdbcType=INTEGER},
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					            </if>
 | 
					 | 
					 | 
					 | 
					            </if>
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					            <if test="collectUser != null">
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					                collectUser = #{collectUser,jdbcType=VARCHAR},
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					            </if>
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					        </set>
 | 
					 | 
					 | 
					 | 
					        </set>
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					        where id = #{id,jdbcType=INTEGER}
 | 
					 | 
					 | 
					 | 
					        where id = #{id,jdbcType=INTEGER}
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					    </update>
 | 
					 | 
					 | 
					 | 
					    </update>
 | 
				
			
			
		
	
	
		
		
			
				
					| 
						
						
						
							
								
							
						
					 | 
					 | 
					@ -134,7 +145,8 @@
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					            auditUser    = #{auditUser,jdbcType=VARCHAR},
 | 
					 | 
					 | 
					 | 
					            auditUser    = #{auditUser,jdbcType=VARCHAR},
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					            createTime   = #{createTime,jdbcType=VARCHAR},
 | 
					 | 
					 | 
					 | 
					            createTime   = #{createTime,jdbcType=VARCHAR},
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					            updateTime   = #{updateTime,jdbcType=VARCHAR},
 | 
					 | 
					 | 
					 | 
					            updateTime   = #{updateTime,jdbcType=VARCHAR},
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					            `status`     = #{status,jdbcType=INTEGER}
 | 
					 | 
					 | 
					 | 
					            `status`     = #{status,jdbcType=INTEGER},
 | 
				
			
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					            collectUser     = #{collectUser,jdbcType=VARCHAR}
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					        where id = #{id,jdbcType=INTEGER}
 | 
					 | 
					 | 
					 | 
					        where id = #{id,jdbcType=INTEGER}
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					    </update>
 | 
					 | 
					 | 
					 | 
					    </update>
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					
 | 
					 | 
					 | 
					 | 
					
 | 
				
			
			
		
	
	
		
		
			
				
					| 
						
						
						
							
								
							
						
					 | 
					 | 
					@ -147,6 +159,7 @@
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					        dco.createTime,
 | 
					 | 
					 | 
					 | 
					        dco.createTime,
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					        dco.updateTime,
 | 
					 | 
					 | 
					 | 
					        dco.updateTime,
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					        dco.status,
 | 
					 | 
					 | 
					 | 
					        dco.status,
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					        dco.collectUser,
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					        auth_dept.name deptName
 | 
					 | 
					 | 
					 | 
					        auth_dept.name deptName
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					        from device_collect_order dco
 | 
					 | 
					 | 
					 | 
					        from device_collect_order dco
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					        left join auth_dept on dco.deptCode = auth_dept.code
 | 
					 | 
					 | 
					 | 
					        left join auth_dept on dco.deptCode = auth_dept.code
 | 
				
			
			
		
	
	
		
		
			
				
					| 
						
							
								
							
						
						
						
					 | 
					 | 
					
 
 |