|
|
@ -82,10 +82,10 @@
|
|
|
|
|
|
|
|
|
|
|
|
<select id="getLatestPhoto" resultType="java.math.BigInteger">
|
|
|
|
<select id="getLatestPhoto" resultType="java.math.BigInteger">
|
|
|
|
select
|
|
|
|
select
|
|
|
|
photo_time photoTime
|
|
|
|
recv_time photoTime
|
|
|
|
from terminal_photos
|
|
|
|
from terminal_photos
|
|
|
|
where term_id = #{termId}
|
|
|
|
where term_id = #{termId}
|
|
|
|
order by create_time desc limit 1
|
|
|
|
order by recv_time desc limit 1
|
|
|
|
</select>
|
|
|
|
</select>
|
|
|
|
|
|
|
|
|
|
|
|
<select id="selectPhotoListForOpen" resultMap="BaseResultMap">
|
|
|
|
<select id="selectPhotoListForOpen" resultMap="BaseResultMap">
|
|
|
|