Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
T
TopUpCambodian-java
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
hewei
TopUpCambodian-java
Commits
40bc90eb
Commit
40bc90eb
authored
Dec 31, 2019
by
yanlveming
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
同步
parent
d8b0b827
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
23 additions
and
23 deletions
+23
-23
src/com/library/mapper/AdminMapper.java
+11
-11
src/com/library/mapper/CurrencyMapper.java
+10
-10
src/com/library/service/AutomaticCodeService.java
+1
-1
src/com/library/util/CharsetFilter.java
+1
-1
web/manager/.DS_Store
+0
-0
No files found.
src/com/library/mapper/AdminMapper.java
View file @
40bc90eb
...
@@ -23,9 +23,9 @@ public interface AdminMapper {
...
@@ -23,9 +23,9 @@ public interface AdminMapper {
*/
*/
public
List
<
Map
<
String
,
Object
>>
FindAllProductByAdmin
(
@Param
(
"page"
)
Integer
page
,
public
List
<
Map
<
String
,
Object
>>
FindAllProductByAdmin
(
@Param
(
"page"
)
Integer
page
,
@Param
(
"number"
)
Integer
number
,
@Param
(
"number"
)
Integer
number
,
@Param
(
"by_type_id"
)
Integer
by_type_id
,
@Param
(
"by_type_id"
)
Integer
by_type_id
,
@Param
(
"startTime"
)
Timestamp
startTime
,
@Param
(
"startTime"
)
Timestamp
startTime
,
@Param
(
"endTime"
)
Timestamp
endTime
);
@Param
(
"endTime"
)
Timestamp
endTime
);
/**
/**
* 查找参与夺宝人员
* 查找参与夺宝人员
...
@@ -38,25 +38,25 @@ public interface AdminMapper {
...
@@ -38,25 +38,25 @@ public interface AdminMapper {
*/
*/
public
List
<
Map
<
String
,
Object
>>
FindParticipant
(
@Param
(
"page"
)
Integer
page
,
public
List
<
Map
<
String
,
Object
>>
FindParticipant
(
@Param
(
"page"
)
Integer
page
,
@Param
(
"number"
)
Integer
number
,
@Param
(
"number"
)
Integer
number
,
@Param
(
"id"
)
Integer
id
,
@Param
(
"id"
)
Integer
id
,
@Param
(
"state"
)
Integer
state
,
@Param
(
"state"
)
Integer
state
,
@Param
(
"startTime"
)
Timestamp
startTime
,
@Param
(
"startTime"
)
Timestamp
startTime
,
@Param
(
"endTime"
)
Timestamp
endTime
);
@Param
(
"endTime"
)
Timestamp
endTime
);
/**
/**
* 按状态获取审核充值记录
* 按状态获取审核充值记录
*/
*/
public
List
<
Map
<
String
,
Object
>>
FinfAuditRechargeByStatus
(
@Param
(
"status"
)
int
status
,
@Param
(
"start"
)
Integer
start
,
@Param
(
"number"
)
Integer
number
public
List
<
Map
<
String
,
Object
>>
FinfAuditRechargeByStatus
(
@Param
(
"status"
)
int
status
,
@Param
(
"start"
)
Integer
start
,
@Param
(
"number"
)
Integer
number
,
@Param
(
"key_word"
)
String
key_word
);
,
@Param
(
"key_word"
)
String
key_word
);
/**
/**
* 查找轮播图通过id
* 查找轮播图通过id
*/
*/
public
Map
<
String
,
Object
>
findACarousel
(
@Param
(
"id"
)
int
id
);
public
Map
<
String
,
Object
>
findACarousel
(
@Param
(
"id"
)
int
id
);
/**
/**
* 获取轮播图
* 获取轮播图
*/
*/
public
List
<
Map
<
String
,
Object
>>
FindHomeImage
(
@Param
(
"start"
)
Integer
start
,
@Param
(
"number"
)
Integer
number
);
public
List
<
Map
<
String
,
Object
>>
FindHomeImage
(
@Param
(
"start"
)
Integer
start
,
@Param
(
"number"
)
Integer
number
);
}
}
src/com/library/mapper/CurrencyMapper.java
View file @
40bc90eb
...
@@ -6,39 +6,39 @@ import java.util.Map;
...
@@ -6,39 +6,39 @@ import java.util.Map;
import
org.apache.ibatis.annotations.Param
;
import
org.apache.ibatis.annotations.Param
;
public
interface
CurrencyMapper
{
public
interface
CurrencyMapper
{
public
void
DeleteDataById
(
@Param
(
"tableName"
)
String
tableName
,
@Param
(
"id"
)
int
id
);
public
void
DeleteDataById
(
@Param
(
"tableName"
)
String
tableName
,
@Param
(
"id"
)
int
id
);
public
Map
<
String
,
Object
>
FindDataById
(
@Param
(
"tableName"
)
String
tableName
,
@Param
(
"id"
)
int
id
);
public
Map
<
String
,
Object
>
FindDataById
(
@Param
(
"tableName"
)
String
tableName
,
@Param
(
"id"
)
int
id
);
public
List
<
Map
<
String
,
Object
>>
FindDataListById
(
@Param
(
"tableName"
)
String
tableName
,
@Param
(
"id_all"
)
List
<
Integer
>
id_all
);
public
List
<
Map
<
String
,
Object
>>
FindDataListById
(
@Param
(
"tableName"
)
String
tableName
,
@Param
(
"id_all"
)
List
<
Integer
>
id_all
);
public
List
<
Map
<
String
,
Object
>>
FindDataListByPaging
(
@Param
(
"tableName"
)
String
tableName
,
@Param
(
"start"
)
int
start
,
@Param
(
"number"
)
int
number
);
public
List
<
Map
<
String
,
Object
>>
FindDataListByPaging
(
@Param
(
"tableName"
)
String
tableName
,
@Param
(
"start"
)
int
start
,
@Param
(
"number"
)
int
number
);
/**
/**
* 统计表的数据
* 统计表的数据
*/
*/
public
Map
<
String
,
Object
>
CountTableNumber
(
@Param
(
"tableName"
)
String
tableName
);
public
Map
<
String
,
Object
>
CountTableNumber
(
@Param
(
"tableName"
)
String
tableName
);
/**
/**
* 条件集合查询,“where id=id”
* 条件集合查询,“where id=id”
*/
*/
public
List
<
Map
<
String
,
Object
>>
FindDataListWhere
(
@Param
(
"tableName"
)
String
tableName
,
@Param
(
"start"
)
int
start
,
public
List
<
Map
<
String
,
Object
>>
FindDataListWhere
(
@Param
(
"tableName"
)
String
tableName
,
@Param
(
"start"
)
int
start
,
@Param
(
"number"
)
int
number
,
@Param
(
"where"
)
String
where
);
@Param
(
"number"
)
int
number
,
@Param
(
"where"
)
String
where
);
/**
/**
* 查询某个表格的所有数据
* 查询某个表格的所有数据
*/
*/
public
List
<
Map
<
String
,
Object
>>
findTable
(
@Param
(
"tableName"
)
String
tableName
);
public
List
<
Map
<
String
,
Object
>>
findTable
(
@Param
(
"tableName"
)
String
tableName
);
/**
/**
* 通用接口--修改数据
* 通用接口--修改数据
*/
*/
public
void
updateTableForMysql
(
@Param
(
"mysql"
)
String
mysql
);
public
void
updateTableForMysql
(
@Param
(
"mysql"
)
String
mysql
);
/**
/**
* 通用接口--增加新的数据
* 通用接口--增加新的数据
*/
*/
public
void
AddTableForMysql
(
@Param
(
"mysql"
)
String
mysql
);
public
void
AddTableForMysql
(
@Param
(
"mysql"
)
String
mysql
);
}
}
src/com/library/service/AutomaticCodeService.java
View file @
40bc90eb
...
@@ -49,5 +49,5 @@ public interface AutomaticCodeService {
...
@@ -49,5 +49,5 @@ public interface AutomaticCodeService {
* @param money 金额
* @param money 金额
* @return
* @return
*/
*/
public
int
artificialToAutomatic
(
Integer
autoId
,
String
phone
,
BigDecimal
money
);
public
int
artificialToAutomatic
(
Integer
autoId
,
String
phone
,
BigDecimal
money
);
}
}
src/com/library/util/CharsetFilter.java
View file @
40bc90eb
...
@@ -53,7 +53,7 @@ public class CharsetFilter implements Filter {
...
@@ -53,7 +53,7 @@ public class CharsetFilter implements Filter {
}
else
if
(
request
.
getMethod
().
equals
(
"GET"
)){
}
else
if
(
request
.
getMethod
().
equals
(
"GET"
)){
Map
<
String
,
String
[]>
map
=
request
.
getParameterMap
();
Map
<
String
,
String
[]>
map
=
request
.
getParameterMap
();
if
(
isNotEncode
){
if
(
isNotEncode
){
for
(
Map
.
Entry
<
String
,
String
[]>
entry:
map
.
entrySet
()){
for
(
Entry
<
String
,
String
[]>
entry:
map
.
entrySet
()){
String
[]
value
=
entry
.
getValue
();
String
[]
value
=
entry
.
getValue
();
for
(
int
i
=
0
;
i
<
value
.
length
;
i
++){
for
(
int
i
=
0
;
i
<
value
.
length
;
i
++){
value
[
i
]=
new
String
(
value
[
i
].
getBytes
(
"iso-8859-1"
),
"utf-8"
);
value
[
i
]=
new
String
(
value
[
i
].
getBytes
(
"iso-8859-1"
),
"utf-8"
);
...
...
web/manager/.DS_Store
deleted
100644 → 0
View file @
d8b0b827
File deleted
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