|
|
@ -28,7 +28,7 @@ |
|
|
|
epdc_party_group_guide g |
|
|
|
LEFT JOIN epdc_party_group_guide_relation gr ON g.id = gr.PARTY_GROUP_GUIDE_ID |
|
|
|
LEFT JOIN epdc_party_group pg ON gr.PARTY_GROUP_ID = pg.id |
|
|
|
WHERE g.DEL_FLAG = 0 and gr.DEL_FLAG = 0 |
|
|
|
WHERE g.DEL_FLAG = '0' and gr.DEL_FLAG = '0' |
|
|
|
<if test="dayOfWeek != null and dayOfWeek != '' "> |
|
|
|
and g.DAY_OF_WEEK = #{dayOfWeek} |
|
|
|
</if> |
|
|
@ -44,7 +44,7 @@ |
|
|
|
ID |
|
|
|
FROM epdc_party_group_guide |
|
|
|
WHERE DAY_OF_WEEK = #{dayOfWeek} |
|
|
|
AND DEL_FLAG = 0 |
|
|
|
AND DEL_FLAG = '0' |
|
|
|
</select> |
|
|
|
|
|
|
|
<select id="selectOneGuideInfo" resultType="String"> |
|
|
@ -52,7 +52,7 @@ |
|
|
|
CONTENT content |
|
|
|
FROM epdc_party_group_guide g |
|
|
|
LEFT JOIN epdc_party_group_guide_relation gr ON g.id = gr.PARTY_GROUP_GUIDE_ID |
|
|
|
WHERE g.DEL_FLAG = 0 AND gr.DEL_FLAG = 0 |
|
|
|
WHERE g.DEL_FLAG = '0' AND gr.DEL_FLAG = '0' |
|
|
|
AND g.DAY_OF_WEEK = dayofweek(curdate())-1 |
|
|
|
AND gr.PARTY_GROUP_ID = #{partyGroupId} |
|
|
|
</select> |
|
|
@ -63,7 +63,7 @@ |
|
|
|
CONTENT content |
|
|
|
FROM epdc_party_group_guide g |
|
|
|
LEFT JOIN epdc_party_group_guide_relation gr ON g.id = gr.PARTY_GROUP_GUIDE_ID |
|
|
|
WHERE g.DEL_FLAG = 0 AND gr.DEL_FLAG = 0 |
|
|
|
WHERE g.DEL_FLAG = '0' AND gr.DEL_FLAG = '0' |
|
|
|
AND gr.PARTY_GROUP_ID = #{partyGroupId} |
|
|
|
ORDER BY g.DAY_OF_WEEK |
|
|
|
</select> |
|
|
|