This commit is contained in:
2025-01-08 16:58:34 +08:00
parent 0ab4b18420
commit 708bafa24c
2 changed files with 5 additions and 6 deletions

View File

@ -52,7 +52,7 @@ public class DynamicTaskGenerator {
for (ScenicRespVO scenic : scenicList) { for (ScenicRespVO scenic : scenicList) {
log.info("定时任务执行,当前景区:{}", scenic.getName()); log.info("定时任务执行,当前景区:{}", scenic.getName());
ScenicConfigEntity scenicConfig = scenicMapper.getConfig(scenic.getId()); 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()); log.info("当前景区{},未启用提前预约流程", scenic.getName());
continue; continue;
} }

View File

@ -155,11 +155,10 @@
where member_id = #{memberId} and source_id = #{sourceId} and type = #{type} where member_id = #{memberId} and source_id = #{sourceId} and type = #{type}
</select> </select>
<select id="listVideoByFaceRelation" resultType="com.ycwl.basic.model.pc.source.entity.SourceEntity"> <select id="listVideoByFaceRelation" resultType="com.ycwl.basic.model.pc.source.entity.SourceEntity">
select * select s.*
from source from member_source ms
where source.id in ( left join source s on ms.source_id = s.id
select source_id from member_source where face_id = #{faceId} and type = 1 where ms.face_id = #{faceId} and ms.type = 1
)
order by create_time desc order by create_time desc
</select> </select>
</mapper> </mapper>