Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
J
jfV5pc
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
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
管理员
jfV5pc
Commits
09ffac17
Commit
09ffac17
authored
Dec 02, 2019
by
陈虹
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
增加少先队关键词内容查看
parent
c9059c25
Show whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
64 additions
and
2 deletions
+64
-2
dataExchange.ca
WebContent/WEB-INF/conf/gaowj/license/dataExchange.ca
+2
-2
dataExchange.license
WebContent/WEB-INF/conf/gaowj/license/dataExchange.license
+0
-0
textGrapDataTab.js
WebContent/reptile/textGrap/js/textGrapDataTab.js
+7
-0
AllDataBusiness.java
src_reptile/com/gaowj/business/AllDataBusiness.java
+4
-0
AllDataBusinessImpl.java
...ptile/com/gaowj/business/allData/AllDataBusinessImpl.java
+27
-0
allDataDAO.java
src_reptile/com/gaowj/business/allData/allDataDAO.java
+5
-0
allDataDAO.xml
src_reptile/com/gaowj/business/allData/allDataDAO.xml
+16
-0
dataAction.java
src_reptile/com/gaowj/textGrap/dataAction.java
+3
-0
No files found.
WebContent/WEB-INF/conf/gaowj/license/dataExchange.ca
View file @
09ffac17
No preview for this file type
WebContent/WEB-INF/conf/gaowj/license/dataExchange.license
View file @
09ffac17
No preview for this file type
WebContent/reptile/textGrap/js/textGrapDataTab.js
View file @
09ffac17
...
@@ -86,6 +86,13 @@ var tables=[{
...
@@ -86,6 +86,13 @@ var tables=[{
}},
}},
{
field
:
'STATION_CODE'
,
title
:
'班次号'
,
width
:
100
,
align
:
'left'
}
{
field
:
'STATION_CODE'
,
title
:
'班次号'
,
width
:
100
,
align
:
'left'
}
]
]
]
]
},{
tableName
:
'redscarf_keywords'
,
title
:
'少先队关键词'
,
colums
:[
[
{
field
:
'NAME'
,
title
:
'关键词'
,
width
:
200
,
align
:
'left'
},
{
field
:
'AVGPRICE'
,
title
:
'出现次数'
,
width
:
200
,
align
:
'left'
}
]
]
}];
}];
$
(
function
(){
$
(
function
(){
...
...
src_reptile/com/gaowj/business/AllDataBusiness.java
View file @
09ffac17
...
@@ -42,5 +42,9 @@ public interface AllDataBusiness {
...
@@ -42,5 +42,9 @@ public interface AllDataBusiness {
int
listCount_file_attribute
(
Map
<
String
,
Object
>
query
)
throws
BusinessException
;
int
listCount_file_attribute
(
Map
<
String
,
Object
>
query
)
throws
BusinessException
;
Page
<
Map
<
String
,
Object
>>
list_redscarf_keywords
(
int
pageNo
,
int
pageSize
,
Map
<
String
,
Object
>
query
)
throws
BusinessException
;
int
listCount_redscarf_keywords
(
Map
<
String
,
Object
>
query
)
throws
BusinessException
;
}
}
src_reptile/com/gaowj/business/allData/AllDataBusinessImpl.java
View file @
09ffac17
...
@@ -164,4 +164,31 @@ public class AllDataBusinessImpl implements AllDataBusiness {
...
@@ -164,4 +164,31 @@ public class AllDataBusinessImpl implements AllDataBusiness {
return
allDataDAO
.
listCount_file_attribute
(
query
);
return
allDataDAO
.
listCount_file_attribute
(
query
);
}
}
@Override
public
Page
<
Map
<
String
,
Object
>>
list_redscarf_keywords
(
int
pageNo
,
int
pageSize
,
Map
<
String
,
Object
>
query
)
throws
BusinessException
{
// TODO Auto-generated method stub
int
pageStart
=
(
pageNo
-
1
)
*
pageSize
;
// 获取列表
List
<
Map
<
String
,
Object
>>
items
=
allDataDAO
.
list_redscarf_keywords
(
new
RowBounds
(
pageStart
,
pageSize
),
query
);
// 获取列表个数
int
count
=
allDataDAO
.
listCount_redscarf_keywords
(
query
);
// 创建分页对象
Page
<
Map
<
String
,
Object
>>
page
=
new
Page
<
Map
<
String
,
Object
>>();
page
.
setStart
(
pageStart
);
page
.
setLimit
(
pageSize
);
page
.
setCount
(
count
);
page
.
setItems
(
items
);
return
page
;
}
@Override
public
int
listCount_redscarf_keywords
(
Map
<
String
,
Object
>
query
)
throws
BusinessException
{
// TODO Auto-generated method stub
return
allDataDAO
.
listCount_redscarf_keywords
(
query
);
}
}
}
src_reptile/com/gaowj/business/allData/allDataDAO.java
View file @
09ffac17
...
@@ -36,4 +36,9 @@ public interface allDataDAO {
...
@@ -36,4 +36,9 @@ public interface allDataDAO {
Map
<
String
,
Object
>
query
)
throws
BusinessException
;
Map
<
String
,
Object
>
query
)
throws
BusinessException
;
int
listCount_file_attribute
(
Map
<
String
,
Object
>
query
)
throws
BusinessException
;
int
listCount_file_attribute
(
Map
<
String
,
Object
>
query
)
throws
BusinessException
;
List
<
Map
<
String
,
Object
>>
list_redscarf_keywords
(
RowBounds
rowbounds
,
Map
<
String
,
Object
>
query
)
throws
BusinessException
;
int
listCount_redscarf_keywords
(
Map
<
String
,
Object
>
query
)
throws
BusinessException
;
}
}
src_reptile/com/gaowj/business/allData/allDataDAO.xml
View file @
09ffac17
...
@@ -71,4 +71,19 @@
...
@@ -71,4 +71,19 @@
and f.SAVE_PATH LIKE #{SAVE_PATH}
and f.SAVE_PATH LIKE #{SAVE_PATH}
</if>
</if>
</select>
</select>
<select
id=
"list_redscarf_keywords"
parameterType=
"map"
resultType=
"upperCaseKeyMap"
>
<![CDATA[
select f.*
from redscarf_keywords f where 1=1
]]>
</select>
<select
id=
"listCount_redscarf_keywords"
parameterType=
"map"
resultType=
"int"
>
<![CDATA[
select count(*) c from redscarf_keywords f where 1=1
]]>
</select>
</mapper>
</mapper>
\ No newline at end of file
src_reptile/com/gaowj/textGrap/dataAction.java
View file @
09ffac17
...
@@ -103,6 +103,9 @@ public class dataAction extends BasicAction {
...
@@ -103,6 +103,9 @@ public class dataAction extends BasicAction {
if
(
table
.
equals
(
"food_meituan"
)){
if
(
table
.
equals
(
"food_meituan"
)){
pageRows
=
allDataBusiness
.
list_food_meituan
(
page
,
pageSize
,
query
);
pageRows
=
allDataBusiness
.
list_food_meituan
(
page
,
pageSize
,
query
);
}
}
if
(
table
.
equals
(
"redscarf_keywords"
)){
pageRows
=
allDataBusiness
.
list_redscarf_keywords
(
page
,
pageSize
,
query
);
}
setPageCount
((
pageRows
.
getCount
()
-
1
)
/
pageSize
+
1
);
setPageCount
((
pageRows
.
getCount
()
-
1
)
/
pageSize
+
1
);
Map
<
String
,
Object
>
data
=
new
HashMap
<
String
,
Object
>();
Map
<
String
,
Object
>
data
=
new
HashMap
<
String
,
Object
>();
data
.
put
(
"rowSet"
,
QueryParamUtil
.
DateToString
(
pageRows
.
getItems
()));
data
.
put
(
"rowSet"
,
QueryParamUtil
.
DateToString
(
pageRows
.
getItems
()));
...
...
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