提交 343e5b1a authored 作者: 李秋林's avatar 李秋林

重新推送刘番玉的数据

上级 0207787b
...@@ -27,6 +27,19 @@ ...@@ -27,6 +27,19 @@
</select> </select>
<!-- todo-->
<!-- <select id="findClockPhotoListByCreateDate" resultMap="clockMap">-->
<!-- select ar.temporary_id temporary_id,-->
<!-- ar.create_date create_date,-->
<!-- ap.type type,-->
<!-- ap.photo_url photo_url-->
<!-- from temporary_activity_reported ar-->
<!-- inner join temporary_activity_clock ac-->
<!-- on ar.temporary_id = ac.temporary_id and ar.create_date = ac.create_date-->
<!-- inner join temporary_activity_photo ap on ac.id = ap.clock_id-->
<!-- where ar.create_date = #{dateStr} and ap.is_delete = 1;-->
<!-- </select>-->
<select id="findClockPhotoListByCreateDate" resultMap="clockMap"> <select id="findClockPhotoListByCreateDate" resultMap="clockMap">
select ar.temporary_id temporary_id, select ar.temporary_id temporary_id,
ar.create_date create_date, ar.create_date create_date,
...@@ -36,7 +49,7 @@ ...@@ -36,7 +49,7 @@
inner join temporary_activity_clock ac inner join temporary_activity_clock ac
on ar.temporary_id = ac.temporary_id and ar.create_date = ac.create_date on ar.temporary_id = ac.temporary_id and ar.create_date = ac.create_date
inner join temporary_activity_photo ap on ac.id = ap.clock_id inner join temporary_activity_photo ap on ac.id = ap.clock_id
where ar.create_date = #{dateStr} and ap.is_delete = 1; where ar.create_date LIKE '2024-10-%' and ar.approver_id = '6477368280946792512' and ap.is_delete = 1;
</select> </select>
</mapper> </mapper>
...@@ -56,11 +56,31 @@ ...@@ -56,11 +56,31 @@
line_name, line_name,
dept_qc_org_name as org_name dept_qc_org_name as org_name
from temporary_activity_reported from temporary_activity_reported
where create_date = #{dateStr} where create_date LIKE '2024-10-%'
and is_delete = 1 and is_delete = 1
and (dept_qc_org_name like '%战区' or dept_qc_org_name = '重客运营部') and approver_id = '6477368280946792512'
</select> </select>
<!-- todo-->
<!-- <select id="findListByCreateDate" resultMap="BaseResultMap">-->
<!-- select id,-->
<!-- temporary_id,-->
<!-- approver_id,-->
<!-- temporary_name,-->
<!-- approve_name,-->
<!-- city,-->
<!-- create_date,-->
<!-- store_name,-->
<!-- activity_pattern,-->
<!-- approve_status,-->
<!-- line_name,-->
<!-- dept_qc_org_name as org_name-->
<!-- from temporary_activity_reported-->
<!-- where create_date = #{dateStr}-->
<!-- and is_delete = 1-->
<!-- and (dept_qc_org_name like '%战区' or dept_qc_org_name = '重客运营部')-->
<!-- </select>-->
<!-- <select id="findListByCreateDate" resultMap="BaseResultMap">--> <!-- <select id="findListByCreateDate" resultMap="BaseResultMap">-->
<!-- select ar.id,--> <!-- select ar.id,-->
<!-- ar.temporary_id,--> <!-- ar.temporary_id,-->
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论