@@ -104,4 +104,9 @@ public class FsCoursePlaySourceConfig {
* 小程序状态:0正常,1半封禁,2封禁
*/
private Integer status;
+
+ /**
+ * 商户支付配置id
+ */
+ private Long merchantConfigId;
}
@@ -14,4 +14,6 @@ public interface FsCoursePlaySourceConfigMapper extends BaseMapper<FsCoursePlayS
* 查询点播配置列表
List<FsCoursePlaySourceConfigVO> selectCoursePlaySourceConfigVOListByMap(@Param("params") Map<String, Object> params);
+ FsCoursePlaySourceConfig selectCoursePlaySourceConfigByAppId(String appId);
@@ -17,5 +17,9 @@ public class FsStoreOrderOtherPayParam implements Serializable
@NotNull(message = "code")
private String code;
+ * appId
+ private String appId;
@@ -29,4 +29,12 @@
</if>
order by fcpsc.id desc
</select>
+ <select id="selectCoursePlaySourceConfigByAppId" resultType="com.fs.course.domain.FsCoursePlaySourceConfig">
+ select
+ fcpsc.*
+ from fs_course_play_source_config fcpsc
+ where fcpsc.is_del = 0 and fcpsc.appid= #{appid}
+ limit 1
+ </select>
</mapper>