Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
Z
zhichan
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
蒋勇
zhichan
Commits
64b67aa2
Commit
64b67aa2
authored
May 18, 2020
by
黄静
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
hj
parent
1e4f0f5c
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
5 additions
and
4 deletions
+5
-4
entprofile/.idea/workspace.xml
+2
-1
entprofile/dao/__pycache__/tj_product_depth_dao.cpython-37.pyc
+0
-0
entprofile/dao/__pycache__/tj_provide_company.cpython-37.pyc
+0
-0
entprofile/dao/tj_product_depth_dao.py
+1
-1
entprofile/dao/tj_provide_company.py
+2
-2
No files found.
entprofile/.idea/workspace.xml
View file @
64b67aa2
...
...
@@ -176,6 +176,7 @@
<workItem
from=
"1588754339665"
duration=
"838000"
/>
<workItem
from=
"1589429479087"
duration=
"1372000"
/>
<workItem
from=
"1589768009451"
duration=
"397000"
/>
<workItem
from=
"1589774185290"
duration=
"40000"
/>
</task>
<servers
/>
</component>
...
...
@@ -301,7 +302,7 @@
</breakpoint-manager>
</component>
<component
name=
"com.intellij.coverage.CoverageDataManagerImpl"
>
<SUITE
FILE_PATH=
"coverage/entprofile$main.coverage"
NAME=
"main Coverage Results"
MODIFIED=
"15897
6810842
3"
SOURCE_PROVIDER=
"com.intellij.coverage.DefaultCoverageFileProvider"
RUNNER=
"coverage.py"
COVERAGE_BY_TEST_ENABLED=
"true"
COVERAGE_TRACING_ENABLED=
"false"
WORKING_DIRECTORY=
"$PROJECT_DIR$"
/>
<SUITE
FILE_PATH=
"coverage/entprofile$main.coverage"
NAME=
"main Coverage Results"
MODIFIED=
"15897
7460127
3"
SOURCE_PROVIDER=
"com.intellij.coverage.DefaultCoverageFileProvider"
RUNNER=
"coverage.py"
COVERAGE_BY_TEST_ENABLED=
"true"
COVERAGE_TRACING_ENABLED=
"false"
WORKING_DIRECTORY=
"$PROJECT_DIR$"
/>
<SUITE
FILE_PATH=
"coverage/recommendation$mod_db.coverage"
NAME=
"mod_db Coverage Results"
MODIFIED=
"1587358120537"
SOURCE_PROVIDER=
"com.intellij.coverage.DefaultCoverageFileProvider"
RUNNER=
"coverage.py"
COVERAGE_BY_TEST_ENABLED=
"true"
COVERAGE_TRACING_ENABLED=
"false"
WORKING_DIRECTORY=
"$PROJECT_DIR$/db"
/>
<SUITE
FILE_PATH=
"coverage/recommendation$company_es.coverage"
NAME=
"company_es Coverage Results"
MODIFIED=
"1587358210574"
SOURCE_PROVIDER=
"com.intellij.coverage.DefaultCoverageFileProvider"
RUNNER=
"coverage.py"
COVERAGE_BY_TEST_ENABLED=
"true"
COVERAGE_TRACING_ENABLED=
"false"
WORKING_DIRECTORY=
"$PROJECT_DIR$/dao"
/>
<SUITE
FILE_PATH=
"coverage/recommendation$company_basic.coverage"
NAME=
"company_basic Coverage Results"
MODIFIED=
"1587363152092"
SOURCE_PROVIDER=
"com.intellij.coverage.DefaultCoverageFileProvider"
RUNNER=
"coverage.py"
COVERAGE_BY_TEST_ENABLED=
"true"
COVERAGE_TRACING_ENABLED=
"false"
WORKING_DIRECTORY=
"$PROJECT_DIR$/service"
/>
...
...
entprofile/dao/__pycache__/tj_product_depth_dao.cpython-37.pyc
View file @
64b67aa2
No preview for this file type
entprofile/dao/__pycache__/tj_provide_company.cpython-37.pyc
View file @
64b67aa2
No preview for this file type
entprofile/dao/tj_product_depth_dao.py
View file @
64b67aa2
...
...
@@ -12,5 +12,5 @@ class ProductDao:
def
select
(
self
,
company_name
):
return
self
.
dataBase
.
fetch_all
(
"select * from `tj_product_depth_final` where company_name = '
%
s'"
%
company_name
)
"select * from `tj_product_depth_final` where company_name = '
%
s'
order by business_opportunity_id desc limit 1
"
%
company_name
)
entprofile/dao/tj_provide_company.py
View file @
64b67aa2
...
...
@@ -21,4 +21,4 @@ class ProvideDao:
def
select_id
(
self
,
business_id
):
return
self
.
dataBase
.
fetch_all
(
"select * from `tj_product_depth_final` where business_opportunity_id = '
%
s'"
%
(
business_id
))
\ No newline at end of file
"select * from `tj_product_depth_final` where business_opportunity_id = '
%
s' "
%
(
business_id
))
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment