Browse Source

图片添加水印

qin 1 năm trước cách đây
mục cha
commit
795a0728af

+ 1 - 1
src/main/resources/mapper/statistics/WatermarkImgMapper.xml

@@ -5,6 +5,6 @@
         update  ${dbName}_order.o_order_detail_${operatorId} set start_url=#{startUrl},end_url=#{endUrl} where order_id = #{orderId}
     </update>
     <select id="getOrderUrl" resultType="com.poteviohealth.cgp.statistics.model.outdto.OrderImageDTO">
-        select start_url,end_url from ${dbName}_order.o_order_detail_${operatorId} where order_id = #{orderId}
+        select IFNULL(start_url,'') AS startUrl,IFNULL(end_url,'') AS endUrl from ${dbName}_order.o_order_detail_${operatorId} where order_id = #{orderId}
     </select>
 </mapper>