|
|
@@ -17,6 +17,7 @@
|
|
|
<result property="updateTime" column="update_time"/>
|
|
|
<result property="updateBy" column="update_by"/>
|
|
|
<result property="remark" column="remark"/>
|
|
|
+ <result property="fileData" column="fileData"/>
|
|
|
</resultMap>
|
|
|
|
|
|
<select id="selectApkFileUpLoadList" parameterType="com.zd.laboratory.onemachine.domain.ApkUploadVo"
|
|
|
@@ -43,6 +44,7 @@
|
|
|
<if test="updateTime != null">update_time,</if>
|
|
|
<if test="updateBy != null">update_by,</if>
|
|
|
<if test="remark != null">remark,</if>
|
|
|
+ <if test="fileData != null">file_data,</if>
|
|
|
</trim>
|
|
|
<trim prefix="values (" suffix=")" suffixOverrides=",">
|
|
|
<if test="apkName != null">#{apkName},</if>
|
|
|
@@ -56,6 +58,7 @@
|
|
|
<if test="updateTime != null">#{updateTime},</if>
|
|
|
<if test="updateBy != null">#{updateBy},</if>
|
|
|
<if test="remark != null">#{remark},</if>
|
|
|
+ <if test="fileData != null">#{fileData},</if>
|
|
|
</trim>
|
|
|
</insert>
|
|
|
|
|
|
@@ -77,9 +80,27 @@
|
|
|
create_time,
|
|
|
update_by,
|
|
|
update_time,
|
|
|
- remark
|
|
|
+ remark,
|
|
|
+ file_data
|
|
|
from apk_upload
|
|
|
where id = #{id}
|
|
|
</select>
|
|
|
|
|
|
+ <update id="upload" parameterType="com.zd.laboratory.onemachine.domain.ApkUploadVo">
|
|
|
+ update apk_upload
|
|
|
+ <trim prefix="SET" suffixOverrides=",">
|
|
|
+ <if test="apkName != null">apk_name = #{apkName},</if>
|
|
|
+ <if test="apkFileUpload != null">apk_file_upload = #{apkFileUpload},</if>
|
|
|
+ <if test="version != null">version = #{version},</if>
|
|
|
+ <if test="versionName != null">version_name = #{versionName},</if>
|
|
|
+ <if test="onepcType != null">onepc_type = #{onepcType},</if>
|
|
|
+ <if test="apkInfo != null">apk_info = #{apkInfo},</if>
|
|
|
+ <if test="updateBy != null">update_by = #{updateBy},</if>
|
|
|
+ <if test="updateTime != null">update_time = #{updateTime},</if>
|
|
|
+ <if test="remark != null">remark = #{remark},</if>
|
|
|
+ <if test="fileData != null">file_data = #{fileData},</if>
|
|
|
+ </trim>
|
|
|
+ where id = #{id}
|
|
|
+ </update>
|
|
|
+
|
|
|
</mapper>
|