| @@ -44,7 +44,7 @@ | |||||
| <sql id="allColumnsVO"> | <sql id="allColumnsVO"> | ||||
| fl.`id` as id, fl.`tenant_id` , fl.`cover_img` , fl.`produce_id`, | fl.`id` as id, fl.`tenant_id` , fl.`cover_img` , fl.`produce_id`, | ||||
| fl.`page_path` , fl.`status`, fl.`create_time` as create_time, fl.`update_time`, | fl.`page_path` , fl.`status`, fl.`create_time` as create_time, fl.`update_time`, | ||||
| c.title | |||||
| cc.title | |||||
| </sql> | </sql> | ||||
| <select id="findList" parameterType="com.iformall.domain.po.WxFloatingLayer" resultMap="BaseResultMap"> | <select id="findList" parameterType="com.iformall.domain.po.WxFloatingLayer" resultMap="BaseResultMap"> | ||||
| @@ -92,8 +92,8 @@ | |||||
| <select id="findListVO" parameterType="com.iformall.domain.po.WxFloatingLayer" resultMap="resultListVO"> | <select id="findListVO" parameterType="com.iformall.domain.po.WxFloatingLayer" resultMap="resultListVO"> | ||||
| select | select | ||||
| <include refid="allColumnsVO"/> | <include refid="allColumnsVO"/> | ||||
| from wx_floating_layer fl left join wx_coupon c on fl.produce_id=c.id | |||||
| where c.status = 0 | |||||
| from wx_floating_layer fl left join wx_coupon_channel cc on fl.produce_id=cc.id | |||||
| where cc.status = 0 | |||||
| <include refid="dynamicWhereConditionsVO"/> | <include refid="dynamicWhereConditionsVO"/> | ||||
| </select> | </select> | ||||