|
|
@@ -410,6 +410,25 @@
|
|
|
<select id="queryAllOrderAlbum" parameterType="java.util.Map" resultType="com.izouma.awesomeadmin.model.OrderAlbum">
|
|
|
select
|
|
|
<include refid="Base_Column_List"/>
|
|
|
+ <if test="repairId != null and !"".equals(repairId)">
|
|
|
+ ,
|
|
|
+ (
|
|
|
+ SELECT
|
|
|
+ order_album_repair_detail.remark
|
|
|
+ FROM
|
|
|
+ order_album_repair_detail
|
|
|
+ WHERE
|
|
|
+ order_album_repair_detail.del_flag = 'N'
|
|
|
+ and order_album_repair_detail.image_id = order_album.id
|
|
|
+ ORDER BY order_album_repair_detail.id DESC
|
|
|
+ LIMIT 1
|
|
|
+ )
|
|
|
+
|
|
|
+ as detail_remark
|
|
|
+
|
|
|
+
|
|
|
+ </if>
|
|
|
+
|
|
|
from order_album
|
|
|
<where>
|
|
|
and del_flag = 'N'
|