|  |  | @ -31,13 +31,14 @@ | 
			
		
	
		
		
			
				
					
					|  |  |  |     <result column="mainAction" jdbcType="VARCHAR" property="mainAction" /> |  |  |  |     <result column="mainAction" jdbcType="VARCHAR" property="mainAction" /> | 
			
		
	
		
		
			
				
					
					|  |  |  |     <result column="manufacturer" jdbcType="VARCHAR" property="manufacturer" /> |  |  |  |     <result column="manufacturer" jdbcType="VARCHAR" property="manufacturer" /> | 
			
		
	
		
		
			
				
					
					|  |  |  |     <result column="remark" jdbcType="VARCHAR" property="remark" /> |  |  |  |     <result column="remark" jdbcType="VARCHAR" property="remark" /> | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |     <result column="udiCode" jdbcType="VARCHAR" property="udiCode" /> | 
			
		
	
		
		
			
				
					
					|  |  |  |   </resultMap> |  |  |  |   </resultMap> | 
			
		
	
		
		
			
				
					
					|  |  |  |   <sql id="Base_Column_List"> |  |  |  |   <sql id="Base_Column_List"> | 
			
		
	
		
		
			
				
					
					|  |  |  |     <!--@mbg.generated--> |  |  |  |     <!--@mbg.generated--> | 
			
		
	
		
		
			
				
					
					|  |  |  |     id, orderIdFk, cpmctymc, relId, thrCode, nameCode, ggxh, batchNo, measname, price, |  |  |  |     id, orderIdFk, cpmctymc, relId, thrCode, nameCode, ggxh, batchNo, measname, price, | 
			
		
	
		
		
			
				
					
					|  |  |  |     productionDate, expireDate, ylqxzcrbarmc, zczbhhzbapzbh, inCount, outCount, supName, |  |  |  |     productionDate, expireDate, ylqxzcrbarmc, zczbhhzbapzbh, inCount, outCount, supName, | 
			
		
	
		
		
			
				
					
					|  |  |  |     deptName, deptCode, invName, invCode, spaceCode, spaceName, reCount, mainAction, |  |  |  |     deptName, deptCode, invName, invCode, spaceCode, spaceName, reCount, mainAction, | 
			
		
	
		
		
			
				
					
					|  |  |  |     manufacturer, remark |  |  |  |     manufacturer, remark,udiCode | 
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					|  |  |  |   </sql> |  |  |  |   </sql> | 
			
		
	
		
		
			
				
					
					|  |  |  |   <select id="selectByPrimaryKey" parameterType="java.lang.Integer" resultMap="BaseResultMap"> |  |  |  |   <select id="selectByPrimaryKey" parameterType="java.lang.Integer" resultMap="BaseResultMap"> | 
			
		
	
		
		
			
				
					
					|  |  |  |     <!--@mbg.generated--> |  |  |  |     <!--@mbg.generated--> | 
			
		
	
	
		
		
			
				
					|  |  | @ -61,7 +62,7 @@ | 
			
		
	
		
		
			
				
					
					|  |  |  |       supName, deptName, deptCode, |  |  |  |       supName, deptName, deptCode, | 
			
		
	
		
		
			
				
					
					|  |  |  |       invName, invCode, spaceCode, |  |  |  |       invName, invCode, spaceCode, | 
			
		
	
		
		
			
				
					
					|  |  |  |       spaceName, reCount, mainAction, |  |  |  |       spaceName, reCount, mainAction, | 
			
		
	
		
		
			
				
					
					|  |  |  |       manufacturer, remark) |  |  |  |       manufacturer, remark,udiCode) | 
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					|  |  |  |     values (#{orderIdFk,jdbcType=VARCHAR}, #{cpmctymc,jdbcType=VARCHAR}, #{relId,jdbcType=INTEGER}, |  |  |  |     values (#{orderIdFk,jdbcType=VARCHAR}, #{cpmctymc,jdbcType=VARCHAR}, #{relId,jdbcType=INTEGER}, | 
			
		
	
		
		
			
				
					
					|  |  |  |       #{thrCode,jdbcType=VARCHAR}, #{nameCode,jdbcType=VARCHAR}, #{ggxh,jdbcType=VARCHAR}, |  |  |  |       #{thrCode,jdbcType=VARCHAR}, #{nameCode,jdbcType=VARCHAR}, #{ggxh,jdbcType=VARCHAR}, | 
			
		
	
		
		
			
				
					
					|  |  |  |       #{batchNo,jdbcType=VARCHAR}, #{measname,jdbcType=VARCHAR}, #{price,jdbcType=DECIMAL}, |  |  |  |       #{batchNo,jdbcType=VARCHAR}, #{measname,jdbcType=VARCHAR}, #{price,jdbcType=DECIMAL}, | 
			
		
	
	
		
		
			
				
					|  |  | @ -70,7 +71,7 @@ | 
			
		
	
		
		
			
				
					
					|  |  |  |       #{supName,jdbcType=VARCHAR}, #{deptName,jdbcType=VARCHAR}, #{deptCode,jdbcType=VARCHAR}, |  |  |  |       #{supName,jdbcType=VARCHAR}, #{deptName,jdbcType=VARCHAR}, #{deptCode,jdbcType=VARCHAR}, | 
			
		
	
		
		
			
				
					
					|  |  |  |       #{invName,jdbcType=VARCHAR}, #{invCode,jdbcType=VARCHAR}, #{spaceCode,jdbcType=VARCHAR}, |  |  |  |       #{invName,jdbcType=VARCHAR}, #{invCode,jdbcType=VARCHAR}, #{spaceCode,jdbcType=VARCHAR}, | 
			
		
	
		
		
			
				
					
					|  |  |  |       #{spaceName,jdbcType=VARCHAR}, #{reCount,jdbcType=VARCHAR}, #{mainAction,jdbcType=VARCHAR}, |  |  |  |       #{spaceName,jdbcType=VARCHAR}, #{reCount,jdbcType=VARCHAR}, #{mainAction,jdbcType=VARCHAR}, | 
			
		
	
		
		
			
				
					
					|  |  |  |       #{manufacturer,jdbcType=VARCHAR}, #{remark,jdbcType=VARCHAR}) |  |  |  |       #{manufacturer,jdbcType=VARCHAR}, #{remark,jdbcType=VARCHAR}, #{udiCode,jdbcType=VARCHAR}) | 
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					|  |  |  |   </insert> |  |  |  |   </insert> | 
			
		
	
		
		
			
				
					
					|  |  |  |   <insert id="insertSelective" keyColumn="id" keyProperty="id" parameterType="com.glxp.api.entity.thrsys.ThrInvOrderDetail" useGeneratedKeys="true"> |  |  |  |   <insert id="insertSelective" keyColumn="id" keyProperty="id" parameterType="com.glxp.api.entity.thrsys.ThrInvOrderDetail" useGeneratedKeys="true"> | 
			
		
	
		
		
			
				
					
					|  |  |  |     <!--@mbg.generated--> |  |  |  |     <!--@mbg.generated--> | 
			
		
	
	
		
		
			
				
					|  |  | @ -154,6 +155,9 @@ | 
			
		
	
		
		
			
				
					
					|  |  |  |       <if test="remark != null"> |  |  |  |       <if test="remark != null"> | 
			
		
	
		
		
			
				
					
					|  |  |  |         remark, |  |  |  |         remark, | 
			
		
	
		
		
			
				
					
					|  |  |  |       </if> |  |  |  |       </if> | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |       <if test="udiCode != null"> | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |         udiCode, | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |       </if> | 
			
		
	
		
		
			
				
					
					|  |  |  |     </trim> |  |  |  |     </trim> | 
			
		
	
		
		
			
				
					
					|  |  |  |     <trim prefix="values (" suffix=")" suffixOverrides=","> |  |  |  |     <trim prefix="values (" suffix=")" suffixOverrides=","> | 
			
		
	
		
		
			
				
					
					|  |  |  |       <if test="orderIdFk != null"> |  |  |  |       <if test="orderIdFk != null"> | 
			
		
	
	
		
		
			
				
					|  |  | @ -234,6 +238,9 @@ | 
			
		
	
		
		
			
				
					
					|  |  |  |       <if test="remark != null"> |  |  |  |       <if test="remark != null"> | 
			
		
	
		
		
			
				
					
					|  |  |  |         #{remark,jdbcType=VARCHAR}, |  |  |  |         #{remark,jdbcType=VARCHAR}, | 
			
		
	
		
		
			
				
					
					|  |  |  |       </if> |  |  |  |       </if> | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |       <if test="udiCode != null"> | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |         #{udiCode,jdbcType=VARCHAR}, | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |       </if> | 
			
		
	
		
		
			
				
					
					|  |  |  |     </trim> |  |  |  |     </trim> | 
			
		
	
		
		
			
				
					
					|  |  |  |   </insert> |  |  |  |   </insert> | 
			
		
	
		
		
			
				
					
					|  |  |  |   <update id="updateByPrimaryKeySelective" parameterType="com.glxp.api.entity.thrsys.ThrInvOrderDetail"> |  |  |  |   <update id="updateByPrimaryKeySelective" parameterType="com.glxp.api.entity.thrsys.ThrInvOrderDetail"> | 
			
		
	
	
		
		
			
				
					|  |  | @ -318,6 +325,9 @@ | 
			
		
	
		
		
			
				
					
					|  |  |  |       <if test="remark != null"> |  |  |  |       <if test="remark != null"> | 
			
		
	
		
		
			
				
					
					|  |  |  |         remark = #{remark,jdbcType=VARCHAR}, |  |  |  |         remark = #{remark,jdbcType=VARCHAR}, | 
			
		
	
		
		
			
				
					
					|  |  |  |       </if> |  |  |  |       </if> | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |       <if test="udiCode != null"> | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |         udiCode = #{udiCode,jdbcType=VARCHAR}, | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |       </if> | 
			
		
	
		
		
			
				
					
					|  |  |  |     </set> |  |  |  |     </set> | 
			
		
	
		
		
			
				
					
					|  |  |  |     where id = #{id,jdbcType=INTEGER} |  |  |  |     where id = #{id,jdbcType=INTEGER} | 
			
		
	
		
		
			
				
					
					|  |  |  |   </update> |  |  |  |   </update> | 
			
		
	
	
		
		
			
				
					|  |  | @ -349,7 +359,8 @@ | 
			
		
	
		
		
			
				
					
					|  |  |  |       reCount = #{reCount,jdbcType=VARCHAR}, |  |  |  |       reCount = #{reCount,jdbcType=VARCHAR}, | 
			
		
	
		
		
			
				
					
					|  |  |  |       mainAction = #{mainAction,jdbcType=VARCHAR}, |  |  |  |       mainAction = #{mainAction,jdbcType=VARCHAR}, | 
			
		
	
		
		
			
				
					
					|  |  |  |       manufacturer = #{manufacturer,jdbcType=VARCHAR}, |  |  |  |       manufacturer = #{manufacturer,jdbcType=VARCHAR}, | 
			
		
	
		
		
			
				
					
					|  |  |  |       remark = #{remark,jdbcType=VARCHAR} |  |  |  |       remark = #{remark,jdbcType=VARCHAR}, | 
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |     udiCode = #{udiCode,jdbcType=VARCHAR} | 
			
		
	
		
		
			
				
					
					|  |  |  |     where id = #{id,jdbcType=INTEGER} |  |  |  |     where id = #{id,jdbcType=INTEGER} | 
			
		
	
		
		
			
				
					
					|  |  |  |   </update> |  |  |  |   </update> | 
			
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  | 
 | 
			
		
	
	
		
		
			
				
					|  |  | 
 |