You've already forked FrameTour-BE
调整
This commit is contained in:
@ -52,7 +52,7 @@ public class DynamicTaskGenerator {
|
||||
for (ScenicRespVO scenic : scenicList) {
|
||||
log.info("定时任务执行,当前景区:{}", scenic.getName());
|
||||
ScenicConfigEntity scenicConfig = scenicMapper.getConfig(scenic.getId());
|
||||
if (scenicConfig == null || 2 == scenicConfig.getBookRoutine()) {
|
||||
if (scenicConfig == null || Integer.valueOf(2).equals(scenicConfig.getBookRoutine())) {
|
||||
log.info("当前景区{},未启用提前预约流程", scenic.getName());
|
||||
continue;
|
||||
}
|
||||
|
@ -155,11 +155,10 @@
|
||||
where member_id = #{memberId} and source_id = #{sourceId} and type = #{type}
|
||||
</select>
|
||||
<select id="listVideoByFaceRelation" resultType="com.ycwl.basic.model.pc.source.entity.SourceEntity">
|
||||
select *
|
||||
from source
|
||||
where source.id in (
|
||||
select source_id from member_source where face_id = #{faceId} and type = 1
|
||||
)
|
||||
select s.*
|
||||
from member_source ms
|
||||
left join source s on ms.source_id = s.id
|
||||
where ms.face_id = #{faceId} and ms.type = 1
|
||||
order by create_time desc
|
||||
</select>
|
||||
</mapper>
|
||||
|
Reference in New Issue
Block a user