|
|
@@ -44,7 +44,7 @@
|
|
|
This element is automatically generated by MyBatis Generator, do not modify.
|
|
|
This element was generated on Thu Jun 24 11:35:04 CST 2021.
|
|
|
-->
|
|
|
- select
|
|
|
+ select
|
|
|
<include refid="Base_Column_List" />
|
|
|
,
|
|
|
<include refid="Blob_Column_List" />
|
|
|
@@ -66,11 +66,11 @@
|
|
|
This element is automatically generated by MyBatis Generator, do not modify.
|
|
|
This element was generated on Thu Jun 24 11:35:04 CST 2021.
|
|
|
-->
|
|
|
- insert into public_release_log (id, prid, aid,
|
|
|
- remarks, `status`, create_time,
|
|
|
+ insert into public_release_log (id, prid, aid,
|
|
|
+ remarks, `status`, create_time,
|
|
|
photo_url)
|
|
|
- values (#{id,jdbcType=INTEGER}, #{prid,jdbcType=INTEGER}, #{aid,jdbcType=VARCHAR},
|
|
|
- #{remarks,jdbcType=VARCHAR}, #{status,jdbcType=INTEGER}, #{createTime,jdbcType=TIMESTAMP},
|
|
|
+ values (#{id,jdbcType=INTEGER}, #{prid,jdbcType=INTEGER}, #{aid,jdbcType=VARCHAR},
|
|
|
+ #{remarks,jdbcType=VARCHAR}, #{status,jdbcType=INTEGER}, #{createTime,jdbcType=TIMESTAMP},
|
|
|
#{photoUrl,jdbcType=LONGVARCHAR})
|
|
|
</insert>
|
|
|
<insert id="insertSelective" parameterType="com.goafanti.common.model.PublicReleaseLog">
|
|
|
@@ -190,14 +190,15 @@
|
|
|
date_format(a.create_time ,'%Y-%m-%d %H:%i:%S') createTimes
|
|
|
from public_release_log a left join admin b on a.aid =b.id
|
|
|
left join public_release pr on a.prid =pr.id
|
|
|
+ left join public_release_details prd on pr.id=prd.prid
|
|
|
where 1=1
|
|
|
<if test="id !=null">
|
|
|
and a.prid = #{id}
|
|
|
</if>
|
|
|
<if test="ufid !=null">
|
|
|
- and pr.ufid = #{ufid}
|
|
|
+ and prd.ufid = #{ufid}
|
|
|
</if>
|
|
|
order by a.create_time desc
|
|
|
</select>
|
|
|
|
|
|
-</mapper>
|
|
|
+</mapper>
|