Commit 57ca4ec1 authored by lixiaofang's avatar lixiaofang

add

parent 729f0e31
......@@ -42,14 +42,14 @@
<entry key="comment" value="59" />
<entry key="dummy" value="6" />
<entry key="guanshui" value="2" />
<entry key="py" value="3955" />
<entry key="py" value="3966" />
<entry key="xuqiu" value="223" />
</counts>
</usages-collector>
<usages-collector id="statistics.file.types.edit">
<counts>
<entry key="PLAIN_TEXT" value="290" />
<entry key="Python" value="3955" />
<entry key="Python" value="3966" />
</counts>
</usages-collector>
</session>
......@@ -141,11 +141,11 @@
<file pinned="false" current-in-tab="true">
<entry file="file://$PROJECT_DIR$/offline_comment.py">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="292">
<caret line="74" column="86" selection-start-line="74" selection-start-column="86" selection-end-line="74" selection-end-column="86" />
<state relative-caret-position="321">
<caret line="52" column="18" selection-start-line="52" selection-start-column="18" selection-end-line="52" selection-end-column="18" />
<folding>
<element signature="e#0#15#0" expanded="true" />
<marker date="1555667980000" expanded="true" signature="1793:1794" ph="..." />
<marker date="1555668230000" expanded="true" signature="1833:1834" ph="..." />
</folding>
</state>
</provider>
......@@ -507,6 +507,7 @@
</component>
<component name="ToolWindowManager">
<frame x="-322" y="-1080" width="1920" height="1080" extended-state="6" />
<editor active="true" />
<layout>
<window_info id="Structure" order="0" sideWeight="0.21188119" side_tool="true" weight="0.19112115" />
<window_info id="Favorites" order="1" side_tool="true" />
......@@ -939,11 +940,11 @@
</entry>
<entry file="file://$PROJECT_DIR$/offline_comment.py">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="292">
<caret line="74" column="86" selection-start-line="74" selection-start-column="86" selection-end-line="74" selection-end-column="86" />
<state relative-caret-position="321">
<caret line="52" column="18" selection-start-line="52" selection-start-column="18" selection-end-line="52" selection-end-column="18" />
<folding>
<element signature="e#0#15#0" expanded="true" />
<marker date="1555667980000" expanded="true" signature="1793:1794" ph="..." />
<marker date="1555668230000" expanded="true" signature="1833:1834" ph="..." />
</folding>
</state>
</provider>
......
......@@ -49,6 +49,8 @@ def get_data(num1, num2):
try:
pc = pymysql.connect(host=host, user=user, passwd=passwd, db=db, port=3306)
cursor = pc.cursor()
print(num1)
print(num2)
cursor.execute(
"SELECT id,user_id FROM topic WHERE is_online =1 and (id > " + str(num1) + " and id <= " + str(
num2) + ") and (content_level = 4 or content_level = 5) ")
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment