drone-service/drone-gd/src/main/java/org/sxkj/gd/orderdata/mapper/GdDataObjectionMapper.xml
@@ -48,4 +48,16 @@ SELECT * FROM ja_gd_data_objection ${ew.customSqlSegment} </select> <select id="getDetail" resultType="org.sxkj.gd.orderdata.vo.GdDataObjectionVO"> select do.*, GROUP_CONCAT(da.attach_name SEPARATOR ',') as attach_names from ja_gd_data_objection do left join ja_gd_data_objection_attachment da on do.id = da.objection_id <where> <if test="id != null "> and do.id = #{id} </if> </where> group by do.id </select> </mapper>