Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
一事无成只会写代码
Hp Jx
提交
abdb9e94
Hp Jx
项目概览
一事无成只会写代码
/
Hp Jx
通知
11
Star
2
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
DevOps
流水线
流水线任务
计划
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
Hp Jx
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
DevOps
DevOps
流水线
流水线任务
计划
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
流水线任务
提交
Issue看板
前往新版Gitcode,体验更适合开发者的 AI 搜索 >>
提交
abdb9e94
编写于
3月 12, 2021
作者:
一事无成只会写代码
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
首次提交
上级
ce4991d7
变更
3
隐藏空白更改
内联
并排
Showing
3 changed file
with
17 addition
and
25 deletion
+17
-25
.idea/workspace.xml
.idea/workspace.xml
+12
-6
README.md
README.md
+5
-19
sql/微信图片_20210312165040.jpg
sql/微信图片_20210312165040.jpg
+0
-0
未找到文件。
.idea/workspace.xml
浏览文件 @
abdb9e94
...
...
@@ -11,8 +11,7 @@
</component>
<component
name=
"ChangeListManager"
>
<list
default=
"true"
id=
"f606bdfa-94c3-4eb6-9db3-7fb30f22bd38"
name=
"Default Changelist"
comment=
"首次提交"
>
<change
afterPath=
"$PROJECT_DIR$/sql/345200.jpg"
afterDir=
"false"
/>
<change
afterPath=
"$PROJECT_DIR$/sql/微信截图_20210312162312.png"
afterDir=
"false"
/>
<change
afterPath=
"$PROJECT_DIR$/sql/微信图片_20210312165040.jpg"
afterDir=
"false"
/>
<change
beforePath=
"$PROJECT_DIR$/.idea/workspace.xml"
beforeDir=
"false"
afterPath=
"$PROJECT_DIR$/.idea/workspace.xml"
afterDir=
"false"
/>
<change
beforePath=
"$PROJECT_DIR$/README.md"
beforeDir=
"false"
afterPath=
"$PROJECT_DIR$/README.md"
afterDir=
"false"
/>
</list>
...
...
@@ -75,7 +74,7 @@
<workItem
from=
"1614758864696"
duration=
"12602000"
/>
<workItem
from=
"1614909080390"
duration=
"1335000"
/>
<workItem
from=
"1615174077797"
duration=
"24000"
/>
<workItem
from=
"1615537187326"
duration=
"
343
000"
/>
<workItem
from=
"1615537187326"
duration=
"
1627
000"
/>
</task>
<task
id=
"LOCAL-00001"
summary=
"首次提交"
>
<created>
1614759833695
</created>
...
...
@@ -147,7 +146,14 @@
<option
name=
"project"
value=
"LOCAL"
/>
<updated>
1614825310541
</updated>
</task>
<option
name=
"localTasksCounter"
value=
"11"
/>
<task
id=
"LOCAL-00011"
summary=
"首次提交"
>
<created>
1615537812898
</created>
<option
name=
"number"
value=
"00011"
/>
<option
name=
"presentableId"
value=
"LOCAL-00011"
/>
<option
name=
"project"
value=
"LOCAL"
/>
<updated>
1615537812898
</updated>
</task>
<option
name=
"localTasksCounter"
value=
"12"
/>
<servers
/>
</component>
<component
name=
"TypeScriptGeneratedFilesManager"
>
...
...
@@ -170,9 +176,9 @@
<option
name=
"LAST_COMMIT_MESSAGE"
value=
"首次提交"
/>
</component>
<component
name=
"WindowStateProjectService"
>
<state
x=
"552"
y=
"252"
key=
"Vcs.Push.Dialog.v2"
timestamp=
"161
4825312697
"
>
<state
x=
"552"
y=
"252"
key=
"Vcs.Push.Dialog.v2"
timestamp=
"161
5537832114
"
>
<screen
x=
"0"
y=
"0"
width=
"1920"
height=
"1040"
/>
</state>
<state
x=
"552"
y=
"252"
key=
"Vcs.Push.Dialog.v2/0.0.1920.1040@0.0.1920.1040"
timestamp=
"161
4825312697
"
/>
<state
x=
"552"
y=
"252"
key=
"Vcs.Push.Dialog.v2/0.0.1920.1040@0.0.1920.1040"
timestamp=
"161
5537832114
"
/>
</component>
</project>
\ No newline at end of file
README.md
浏览文件 @
abdb9e94
...
...
@@ -13,11 +13,13 @@
# 腾讯云服务器限时优惠活动
[
【腾讯云】云产品限时秒杀,爆款1核2G云服务器,首年99元,点击直达
](
https://cloud.tencent.com/act/cps/redirect?redirect=1077&cps_key=0dc53892c213f8acbb68182fbbf23a66&from=console
)
![
image
](
sql/345200.jpg
)
![
image
](
sql/微信截图_20210312162312.png
)
[
【腾讯云】云产品限时秒杀,爆款1核2G云服务器,首年99元,点击直达
](
https://cloud.tencent.com/act/cps/redirect?redirect=1077&cps_key=0dc53892c213f8acbb68182fbbf23a66&from=console
)
## 特别说明
只要从以上链接购买腾讯云服务器用户,永久提供技术支持服务!
## 一、项目概述
...
...
@@ -206,24 +208,8 @@ hp-jx
## 统计学生考勤信息
SELECT class_id,teacher_id,attendance_datetime,classroom,lesson,sum(attendancenum) as attendancenum ,sum(studentnum) as studentnum from
(
SELECT class_id,teacher_id,attendance_datetime,classroom,lesson,count(0) as studentnum,0 as attendancenum
from teach_attendance ta
join teach_student_attendance tsa on
ta.attendance_id = tsa.attendance_id
-- WHERE DATEDIFF(ta.attendance_datetime,NOW())=-1
GROUP BY ta.class_id,ta.lesson,ta.teacher_id
UNION
select class_id,teacher_id,attendance_datetime,classroom,lesson,0 as studentnum,count(attendance) as attendancenum from teach_attendance ta
join teach_student_attendance tsa on
ta.attendance_id = tsa.attendance_id
where tsa.attendance = '1'
-- and DATEDIFF(ta.attendance_datetime,NOW())=-1
GROUP BY ta.class_id,ta.lesson,ta.teacher_id
) a
GROUP BY a.class_id,a.teacher_id,a.attendance_datetime,a.classroom,a.lesson
## 提供全方位技术支持服务!请作者喝杯茶!
![
image
](
sql/微信图片_20210312165040.jpg
)
...
...
sql/微信图片_20210312165040.jpg
0 → 100644
浏览文件 @
abdb9e94
60.2 KB
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录