Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
D
dataC_api
Project
Project
Details
Activity
Releases
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
高宇
dataC_api
Commits
dc83fc65
Commit
dc83fc65
authored
Apr 22, 2024
by
Hagsn3
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
111
parent
6aa8b0d5
Changes
10
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
10 changed files
with
2190 additions
and
0 deletions
+2190
-0
MixSelectController.java
...rcisoft/bus/mixSelect/controller/MixSelectController.java
+163
-0
MixSelectMapper.java
...n/java/org/rcisoft/bus/mixSelect/dao/MixSelectMapper.java
+62
-0
DemoData1.java
...main/java/org/rcisoft/bus/mixSelect/entity/DemoData1.java
+263
-0
Infromation.java
...in/java/org/rcisoft/bus/mixSelect/entity/Infromation.java
+33
-0
RequestDto.java
...ain/java/org/rcisoft/bus/mixSelect/entity/RequestDto.java
+40
-0
RequestInfromationDto.java
...g/rcisoft/bus/mixSelect/entity/RequestInfromationDto.java
+90
-0
User.java
src/main/java/org/rcisoft/bus/mixSelect/entity/User.java
+51
-0
MixSelectService.java
...a/org/rcisoft/bus/mixSelect/service/MixSelectService.java
+49
-0
MixSelectServiceImpl.java
...soft/bus/mixSelect/service/impl/MixSelectServiceImpl.java
+520
-0
MixSelectMapper.xml
src/main/resources/mapper/MixSelectMapper.xml
+919
-0
No files found.
src/main/java/org/rcisoft/bus/mixSelect/controller/MixSelectController.java
0 → 100644
View file @
dc83fc65
package
org
.
rcisoft
.
bus
.
mixSelect
.
controller
;
import
io.swagger.annotations.ApiOperation
;
import
org.rcisoft.core.anno.CyOpeLogAnno
;
import
org.rcisoft.core.constant.CyMessCons
;
import
org.rcisoft.core.model.CyPersistModel
;
import
org.rcisoft.core.operlog.enums.CyLogTypeEnum
;
import
org.rcisoft.core.result.CyResult
;
import
org.rcisoft.core.util.CyResultGenUtil
;
import
org.rcisoft.bus.mixSelect.entity.RequestDto
;
import
org.rcisoft.bus.mixSelect.entity.RequestInfromationDto
;
import
org.rcisoft.bus.mixSelect.service.MixSelectService
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.web.bind.annotation.*
;
@RestController
@RequestMapping
(
"/mixSelect"
)
public
class
MixSelectController
{
@Autowired
MixSelectService
mixSelectService
;
// @PostMapping("/test")
// public Object test(){
// return "Hello";
// }
@PostMapping
(
"/getListTotal"
)
public
CyResult
getListTotal
(
@RequestBody
RequestDto
requestDto
){
return
CyResultGenUtil
.
builder
(
new
CyPersistModel
(
1
),
CyMessCons
.
MESSAGE_ALERT_SUCCESS
,
CyMessCons
.
MESSAGE_ALERT_ERROR
,
mixSelectService
.
getListTotal
(
requestDto
));
}
@PostMapping
(
"/getList"
)
public
CyResult
getList
(
@RequestBody
RequestDto
requestDto
){
return
CyResultGenUtil
.
builder
(
new
CyPersistModel
(
1
),
CyMessCons
.
MESSAGE_ALERT_SUCCESS
,
CyMessCons
.
MESSAGE_ALERT_ERROR
,
mixSelectService
.
getList
(
requestDto
));
}
@PostMapping
(
"/getClickInformation"
)
public
CyResult
getInformation
(
@RequestBody
RequestInfromationDto
requestInfromationDto
){
return
CyResultGenUtil
.
builder
(
new
CyPersistModel
(
1
),
CyMessCons
.
MESSAGE_ALERT_SUCCESS
,
CyMessCons
.
MESSAGE_ALERT_ERROR
,
mixSelectService
.
getInformation
(
requestInfromationDto
));
}
@PostMapping
(
"/getClickInformationPageNum"
)
public
CyResult
getClickInformationPageNum
(
@RequestBody
RequestInfromationDto
requestInfromationDto
){
return
CyResultGenUtil
.
builder
(
new
CyPersistModel
(
1
),
CyMessCons
.
MESSAGE_ALERT_SUCCESS
,
CyMessCons
.
MESSAGE_ALERT_ERROR
,
mixSelectService
.
getClickInformationPageNum
(
requestInfromationDto
));
}
// @PostMapping("/postTest")
// public String postTest(@RequestBody Test test){
// System.out.println(test.toString());
// return "hello" + test.toString();
// }
@CyOpeLogAnno
(
title
=
"system-DemoData1管理-查询标签aaa"
,
businessType
=
CyLogTypeEnum
.
OTHER
)
@ApiOperation
(
value
=
"查询标签aaa"
,
notes
=
"查询标签aaa"
)
@GetMapping
(
"/searchAaa"
)
public
CyResult
searchAaa
(){
return
CyResultGenUtil
.
builder
(
new
CyPersistModel
(
1
),
CyMessCons
.
MESSAGE_ALERT_SUCCESS
,
CyMessCons
.
MESSAGE_ALERT_ERROR
,
mixSelectService
.
searchAaa
());
}
@CyOpeLogAnno
(
title
=
"system-DemoData1管理-查询标签ccc"
,
businessType
=
CyLogTypeEnum
.
OTHER
)
@ApiOperation
(
value
=
"查询标签ccc"
,
notes
=
"查询标签ccc"
)
@GetMapping
(
"/searchCcc"
)
public
CyResult
searchCcc
(){
return
CyResultGenUtil
.
builder
(
new
CyPersistModel
(
1
),
CyMessCons
.
MESSAGE_ALERT_SUCCESS
,
CyMessCons
.
MESSAGE_ALERT_ERROR
,
mixSelectService
.
searchCcc
());
}
@CyOpeLogAnno
(
title
=
"system-DemoData1管理-查询标签cccc"
,
businessType
=
CyLogTypeEnum
.
OTHER
)
@ApiOperation
(
value
=
"查询标签cccc"
,
notes
=
"查询标签cccc"
)
@GetMapping
(
"/searchCccc"
)
public
CyResult
searchCccc
(){
return
CyResultGenUtil
.
builder
(
new
CyPersistModel
(
1
),
CyMessCons
.
MESSAGE_ALERT_SUCCESS
,
CyMessCons
.
MESSAGE_ALERT_ERROR
,
mixSelectService
.
searchCccc
());
}
@CyOpeLogAnno
(
title
=
"system-DemoData1管理-查询标签eee"
,
businessType
=
CyLogTypeEnum
.
OTHER
)
@ApiOperation
(
value
=
"查询标签eee"
,
notes
=
"查询标签eee"
)
@GetMapping
(
"/searchEee"
)
public
CyResult
searchEee
(){
return
CyResultGenUtil
.
builder
(
new
CyPersistModel
(
1
),
CyMessCons
.
MESSAGE_ALERT_SUCCESS
,
CyMessCons
.
MESSAGE_ALERT_ERROR
,
mixSelectService
.
searchEee
());
}
@CyOpeLogAnno
(
title
=
"system-DemoData1管理-查询标签bbb"
,
businessType
=
CyLogTypeEnum
.
OTHER
)
@ApiOperation
(
value
=
"查询标签bbb"
,
notes
=
"查询标签bbb"
)
@GetMapping
(
"/searchBbb"
)
public
CyResult
searchBbb
(){
return
CyResultGenUtil
.
builder
(
new
CyPersistModel
(
1
),
CyMessCons
.
MESSAGE_ALERT_SUCCESS
,
CyMessCons
.
MESSAGE_ALERT_ERROR
,
mixSelectService
.
searchBbb
());
}
@CyOpeLogAnno
(
title
=
"system-DemoData1管理-查询标签Ddd"
,
businessType
=
CyLogTypeEnum
.
OTHER
)
@ApiOperation
(
value
=
"查询标签Ddd"
,
notes
=
"查询标签Ddd"
)
@GetMapping
(
"/searchDdd"
)
public
CyResult
searchDdd
(){
return
CyResultGenUtil
.
builder
(
new
CyPersistModel
(
1
),
CyMessCons
.
MESSAGE_ALERT_SUCCESS
,
CyMessCons
.
MESSAGE_ALERT_ERROR
,
mixSelectService
.
searchDdd
());
}
@CyOpeLogAnno
(
title
=
"system-DemoData1管理-查询标签Dddd"
,
businessType
=
CyLogTypeEnum
.
OTHER
)
@ApiOperation
(
value
=
"查询标签eee"
,
notes
=
"查询标签Dddd"
)
@GetMapping
(
"/searchDddd"
)
public
CyResult
searchDddd
(){
return
CyResultGenUtil
.
builder
(
new
CyPersistModel
(
1
),
CyMessCons
.
MESSAGE_ALERT_SUCCESS
,
CyMessCons
.
MESSAGE_ALERT_ERROR
,
mixSelectService
.
searchDddd
());
}
@CyOpeLogAnno
(
title
=
"system-DemoData1管理-查询标签nqy"
,
businessType
=
CyLogTypeEnum
.
OTHER
)
@ApiOperation
(
value
=
"查询标签nqy"
,
notes
=
"查询标签nqy"
)
@GetMapping
(
"/searchNqy"
)
public
CyResult
searchNqy
(){
return
CyResultGenUtil
.
builder
(
new
CyPersistModel
(
1
),
CyMessCons
.
MESSAGE_ALERT_SUCCESS
,
CyMessCons
.
MESSAGE_ALERT_ERROR
,
mixSelectService
.
searchNqy
());
}
@CyOpeLogAnno
(
title
=
"system-DemoData1管理-查询标签khqf"
,
businessType
=
CyLogTypeEnum
.
OTHER
)
@ApiOperation
(
value
=
"查询标签khqf"
,
notes
=
"查询标签khqf"
)
@GetMapping
(
"/searchKhqf"
)
public
CyResult
searchKhqf
(){
return
CyResultGenUtil
.
builder
(
new
CyPersistModel
(
1
),
CyMessCons
.
MESSAGE_ALERT_SUCCESS
,
CyMessCons
.
MESSAGE_ALERT_ERROR
,
mixSelectService
.
searchKhqf
());
}
@CyOpeLogAnno
(
title
=
"system-DemoData1管理-查询标签jlpm"
,
businessType
=
CyLogTypeEnum
.
OTHER
)
@ApiOperation
(
value
=
"查询标签jlpm"
,
notes
=
"查询标签jlpm"
)
@GetMapping
(
"/searchJlpm"
)
public
CyResult
searchJlpm
(){
return
CyResultGenUtil
.
builder
(
new
CyPersistModel
(
1
),
CyMessCons
.
MESSAGE_ALERT_SUCCESS
,
CyMessCons
.
MESSAGE_ALERT_ERROR
,
mixSelectService
.
searchJlpm
());
}
}
src/main/java/org/rcisoft/bus/mixSelect/dao/MixSelectMapper.java
0 → 100644
View file @
dc83fc65
package
org
.
rcisoft
.
bus
.
mixSelect
.
dao
;
import
org.apache.ibatis.annotations.Mapper
;
import
org.apache.ibatis.annotations.Param
;
import
org.rcisoft.bus.mixSelect.entity.DemoData1
;
import
org.rcisoft.bus.mixSelect.entity.RequestDto
;
import
org.rcisoft.bus.mixSelect.entity.RequestInfromationDto
;
import
java.util.List
;
import
java.util.Map
;
@Mapper
public
interface
MixSelectMapper
{
Object
test
();
List
<
Map
>
getListhhh
(
@Param
(
"entity"
)
RequestDto
requestDto
,
@Param
(
"monthList"
)
String
months
,
@Param
(
"pageNo"
)
int
pageNo
,
@Param
(
"pageSize"
)
int
pageSize
);
List
<
Map
>
getListiii
(
@Param
(
"entity"
)
RequestDto
requestDto
,
@Param
(
"monthList"
)
String
months
,
@Param
(
"pageNo"
)
int
pageNo
,
@Param
(
"pageSize"
)
int
pageSize
);
List
<
Map
>
getListkkk
(
@Param
(
"entity"
)
RequestDto
requestDto
,
@Param
(
"monthList"
)
String
months
,
@Param
(
"pageNo"
)
int
pageNo
,
@Param
(
"pageSize"
)
int
pageSize
);
List
<
Map
>
getListfff
(
@Param
(
"entity"
)
RequestDto
requestDto
,
@Param
(
"monthList"
)
String
months
,
@Param
(
"pageNo"
)
int
pageNo
,
@Param
(
"pageSize"
)
int
pageSize
);
List
<
Map
>
getListggg
(
@Param
(
"entity"
)
RequestDto
requestDto
,
@Param
(
"monthList"
)
String
months
,
@Param
(
"pageNo"
)
int
pageNo
,
@Param
(
"pageSize"
)
int
pageSize
);
List
<
Map
>
getListjjj
(
@Param
(
"entity"
)
RequestDto
requestDto
,
@Param
(
"monthList"
)
String
months
,
@Param
(
"pageNo"
)
int
pageNo
,
@Param
(
"pageSize"
)
int
pageSize
);
List
<
Map
>
getListhhhTotal
(
@Param
(
"entity"
)
RequestDto
requestDto
,
@Param
(
"monthList"
)
String
months
);
List
<
Map
>
getListiiiTotal
(
@Param
(
"entity"
)
RequestDto
requestDto
,
@Param
(
"monthList"
)
String
months
);
List
<
Map
>
getListkkkTotal
(
@Param
(
"entity"
)
RequestDto
requestDto
,
@Param
(
"monthList"
)
String
months
);
List
<
Map
>
getListfffTotal
(
@Param
(
"entity"
)
RequestDto
requestDto
,
@Param
(
"monthList"
)
String
months
);
List
<
Map
>
getListgggTotal
(
@Param
(
"entity"
)
RequestDto
requestDto
,
@Param
(
"monthList"
)
String
months
);
List
<
Map
>
getListjjjTotal
(
@Param
(
"entity"
)
RequestDto
requestDto
,
@Param
(
"monthList"
)
String
months
);
List
<
String
>
getMonths
();
List
<
DemoData1
>
getInformation
(
@Param
(
"entity"
)
RequestInfromationDto
requestInfromationDto
);
Integer
getClickInformationPageNum
(
@Param
(
"entity"
)
RequestInfromationDto
requestInfromationDto
);
// 查询菜单
List
<
DemoData1
>
searchAaa
();
List
<
DemoData1
>
searchCcc
();
List
<
DemoData1
>
searchCccc
();
List
<
DemoData1
>
searchEee
();
List
<
String
>
getMonthsFromDB
();
List
<
DemoData1
>
searchBbb
();
List
<
DemoData1
>
searchDddd
();
List
<
DemoData1
>
searchDdd
();
/***新系统*/
List
<
DemoData1
>
searchNqy
();
List
<
DemoData1
>
searchKhqf
();
List
<
DemoData1
>
searchJlpm
();
}
src/main/java/org/rcisoft/bus/mixSelect/entity/DemoData1.java
0 → 100644
View file @
dc83fc65
package
org
.
rcisoft
.
bus
.
mixSelect
.
entity
;
import
cn.afterturn.easypoi.excel.annotation.Excel
;
import
com.baomidou.mybatisplus.annotation.TableName
;
import
lombok.Data
;
import
org.rcisoft.core.entity.CyIdIncreEntity
;
/**
* Created with cy on 2024年4月8日 上午11:05:47.
*/
@Data
@TableName
(
"demo"
)
public
class
DemoData1
extends
CyIdIncreEntity
<
DemoData1
>
{
private
String
aaa
;
private
String
bbb
;
private
String
ccc
;
private
String
ddd
;
private
String
cccc
;
private
String
dddd
;
private
String
eee
;
private
String
fff
;
private
String
ggg
;
private
String
hhh
;
private
String
iii
;
private
String
jjj
;
private
String
kkk
;
private
String
lll
;
private
String
mmm
;
private
String
person
;
private
String
month_one_total
;
private
String
month_two_total
;
private
String
month_three_total
;
private
String
month_four_total
;
private
String
month_five_total
;
private
String
month_six_total
;
private
String
month_seven_total
;
private
String
month_eight_total
;
private
String
month_nine_total
;
private
String
month_ten_total
;
private
String
month_eleven_total
;
private
String
month_twelve_total
;
private
String
month
;
private
String
monthList
;
/**
* @desc
* @column nqy
* @default
*/
@Excel
(
name
=
"nqy"
,
orderNum
=
"12"
,
width
=
20
)
private
String
nqy
;
/**
* @desc
* @column szzt
* @default
*/
@Excel
(
name
=
"szzt"
,
orderNum
=
"0"
,
width
=
20
)
private
String
szzt
;
/**
* @desc
* @column pn
* @default
*/
@Excel
(
name
=
"pn"
,
orderNum
=
"1"
,
width
=
20
)
private
String
pn
;
/**
* @desc
* @column bz
* @default
*/
@Excel
(
name
=
"bz"
,
orderNum
=
"2"
,
width
=
20
)
private
String
bz
;
/**
* @desc
* @column yydd
* @default
*/
@Excel
(
name
=
"yydd"
,
orderNum
=
"3"
,
width
=
20
)
private
String
yydd
;
/**
* @desc
* @column khdm
* @default
*/
@Excel
(
name
=
"khdm"
,
orderNum
=
"4"
,
width
=
20
)
private
String
khdm
;
/**
* @desc
* @column mksqf
* @default
*/
@Excel
(
name
=
"mksqf"
,
orderNum
=
"5"
,
width
=
20
)
private
String
mksqf
;
/**
* @desc
* @column khm
* @default
*/
@Excel
(
name
=
"khm"
,
orderNum
=
"6"
,
width
=
20
)
private
String
khm
;
/**
* @desc
* @column jlpm
* @default
*/
@Excel
(
name
=
"jlpm"
,
orderNum
=
"7"
,
width
=
20
)
private
String
jlpm
;
/**
* @desc
* @column fzdm
* @default
*/
@Excel
(
name
=
"fzdm"
,
orderNum
=
"8"
,
width
=
20
)
private
String
fzdm
;
/**
* @desc
* @column l24
* @default
*/
@Excel
(
name
=
"l24"
,
orderNum
=
"9"
,
width
=
20
)
private
String
l24
;
/**
* @desc
* @column ddjsr
* @default
*/
@Excel
(
name
=
"ddjsr"
,
orderNum
=
"10"
,
width
=
20
)
private
String
ddjsr
;
/**
* @desc
* @column ddh
* @default
*/
@Excel
(
name
=
"ddh"
,
orderNum
=
"14"
,
width
=
20
)
private
String
ddh
;
/**
* @desc
* @column khqf
* @default
*/
@Excel
(
name
=
"khqf"
,
orderNum
=
"15"
,
width
=
20
)
private
String
khqf
;
/**
* @desc
* @column ddzdnq
* @default
*/
@Excel
(
name
=
"ddzdnq"
,
orderNum
=
"16"
,
width
=
20
)
private
String
ddzdnq
;
/**
* @desc
* @column zd
* @default
*/
@Excel
(
name
=
"zd"
,
orderNum
=
"20"
,
width
=
20
)
private
String
zd
;
/**
* @desc
* @column fnq
* @default
*/
@Excel
(
name
=
"fnq"
,
orderNum
=
"22"
,
width
=
20
)
private
String
fnq
;
/**
* @desc
* @column jypn
* @default
*/
@Excel
(
name
=
"jypn"
,
orderNum
=
"23"
,
width
=
20
)
private
String
jypn
;
/**
* @desc
* @column xslj
* @default
*/
@Excel
(
name
=
"xslj"
,
orderNum
=
"24"
,
width
=
20
)
private
String
xslj
;
/**选择的复选框Begin**/
/**
* @desc
* @column xsjg
* @default
*/
@Excel
(
name
=
"xsjg"
,
orderNum
=
"17"
,
width
=
20
)
private
String
xsjg
;
/**
* @desc
* @column zzc
* @default
*/
@Excel
(
name
=
"zzc"
,
orderNum
=
"18"
,
width
=
20
)
private
String
zzc
;
/**
* @desc
* @column zzcg
* @default
*/
@Excel
(
name
=
"zzcg"
,
orderNum
=
"19"
,
width
=
20
)
private
String
zzcg
;
/**
* @desc
* @column chzsb
* @default
*/
@Excel
(
name
=
"chzsb"
,
orderNum
=
"21"
,
width
=
20
)
private
String
chzsb
;
/**
* @desc
* @column chzsa
* @default
*/
@Excel
(
name
=
"chzsa"
,
orderNum
=
"13"
,
width
=
20
)
private
String
chzsa
;
/**
* @desc
* @column rmb
* @default
*/
@Excel
(
name
=
"rmb"
,
orderNum
=
"11"
,
width
=
20
)
private
String
rmb
;
/**选择的复选框End**/
}
src/main/java/org/rcisoft/bus/mixSelect/entity/Infromation.java
0 → 100644
View file @
dc83fc65
package
org
.
rcisoft
.
bus
.
mixSelect
.
entity
;
import
com.fasterxml.jackson.annotation.JsonInclude
;
import
lombok.AllArgsConstructor
;
import
lombok.Builder
;
import
lombok.Data
;
import
lombok.NoArgsConstructor
;
import
java.io.Serializable
;
@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
public
class
Infromation
implements
Serializable
{
//月份
private
String
aaa
;
//必须返回,即使为空
@JsonInclude
(
JsonInclude
.
Include
.
NON_NULL
)
private
String
hhh
;
@JsonInclude
(
JsonInclude
.
Include
.
NON_NULL
)
private
String
iii
;
@JsonInclude
(
JsonInclude
.
Include
.
NON_NULL
)
private
String
kkk
;
@JsonInclude
(
JsonInclude
.
Include
.
NON_NULL
)
private
String
fff
;
@JsonInclude
(
JsonInclude
.
Include
.
NON_NULL
)
private
String
ggg
;
@JsonInclude
(
JsonInclude
.
Include
.
NON_NULL
)
private
String
jjj
;
}
src/main/java/org/rcisoft/bus/mixSelect/entity/RequestDto.java
0 → 100644
View file @
dc83fc65
package
org
.
rcisoft
.
bus
.
mixSelect
.
entity
;
import
lombok.Data
;
import
java.util.List
;
@Data
public
class
RequestDto
{
//aaa集合
private
List
<
String
>
aaa
;
//bbb集合
private
List
<
String
>
bbb
;
//ccc集合
private
List
<
Integer
>
ccc
;
//ddd集合
private
List
<
String
>
ddd
;
//cccc集合
private
List
<
String
>
cccc
;
//dddd集合
private
List
<
String
>
dddd
;
//eee集合
private
List
<
String
>
eee
;
//fff条件
private
boolean
fff
;
//ggg条件
private
boolean
ggg
;
//hhh条件
private
boolean
hhh
;
//iii条件
private
boolean
iii
;
//jjj条件
private
boolean
jjj
;
//kkk条件
private
boolean
kkk
;
//pageSize
private
Integer
pageSize
;
//pageNo
private
Integer
pageNo
;
}
src/main/java/org/rcisoft/bus/mixSelect/entity/RequestInfromationDto.java
0 → 100644
View file @
dc83fc65
package
org
.
rcisoft
.
bus
.
mixSelect
.
entity
;
import
lombok.AllArgsConstructor
;
import
lombok.Data
;
import
lombok.NoArgsConstructor
;
import
java.io.Serializable
;
import
java.util.List
;
@Data
@AllArgsConstructor
@NoArgsConstructor
public
class
RequestInfromationDto
implements
Serializable
{
//aaa集合
private
List
<
String
>
aaa
;
//bbb集合
private
List
<
String
>
bbb
;
//ccc集合
private
List
<
Integer
>
ccc
;
//ddd集合
private
List
<
String
>
ddd
;
//cccc集合
private
List
<
String
>
cccc
;
//dddd集合
private
List
<
String
>
dddd
;
//eee集合
private
List
<
String
>
eee
;
//fff条件
private
boolean
fff
;
//ggg条件
private
boolean
ggg
;
//hhh条件
private
boolean
hhh
;
//iii条件
private
boolean
iii
;
//jjj条件
private
boolean
jjj
;
//kkk条件
private
boolean
kkk
;
//特判aaa
private
String
clickAaa
;
//特判Key
private
String
clickKey
;
//特判Val
private
String
clickValue
;
//特判Ccc
private
Integer
clickCcc
;
//pageSize
private
Integer
pageSize
;
//pageNo
private
Integer
pageNo
;
public
static
void
cleanAndBuild
(
RequestInfromationDto
r
,
String
key
){
r
.
fff
=
false
;
r
.
ggg
=
false
;
r
.
hhh
=
false
;
r
.
iii
=
false
;
r
.
jjj
=
false
;
r
.
kkk
=
false
;
switch
(
key
){
case
"fff"
:
r
.
fff
=
true
;
break
;
case
"ggg"
:
r
.
ggg
=
true
;
break
;
case
"hhh"
:
r
.
hhh
=
true
;
break
;
case
"iii"
:
r
.
iii
=
true
;
break
;
case
"jjj"
:
r
.
jjj
=
true
;
break
;
case
"kkk"
:
r
.
kkk
=
true
;
break
;
}
r
.
aaa
.
clear
();
r
.
aaa
.
add
(
r
.
clickAaa
);
}
}
src/main/java/org/rcisoft/bus/mixSelect/entity/User.java
0 → 100644
View file @
dc83fc65
package
org
.
rcisoft
.
bus
.
mixSelect
.
entity
;
import
com.fasterxml.jackson.annotation.JsonIgnore
;
import
lombok.Data
;
import
java.io.Serializable
;
import
java.util.ArrayList
;
import
java.util.HashMap
;
import
java.util.List
;
import
java.util.Map
;
@Data
public
class
User
implements
Serializable
{
private
String
ccc
;
private
List
<
Infromation
>
data
;
@JsonIgnore
private
Map
<
String
,
Integer
>
map
;
public
User
(
String
ccc
,
List
<
String
>
list
,
boolean
[]
flag
){
this
.
map
=
new
HashMap
();
this
.
ccc
=
ccc
;
this
.
data
=
new
ArrayList
<>(
list
.
size
());
for
(
int
i
=
0
;
i
<
list
.
size
();
i
++)
{
Infromation
infromation
=
new
Infromation
();
infromation
.
setAaa
(
list
.
get
(
i
));
if
(
flag
[
0
]){
infromation
.
setFff
(
""
);
}
if
(
flag
[
1
]){
infromation
.
setGgg
(
""
);
}
if
(
flag
[
2
]){
infromation
.
setHhh
(
""
);
}
if
(
flag
[
3
]){
infromation
.
setIii
(
""
);
}
if
(
flag
[
4
]){
infromation
.
setJjj
(
""
);
}
if
(
flag
[
5
]){
infromation
.
setKkk
(
""
);
}
this
.
data
.
add
(
infromation
);
map
.
put
(
list
.
get
(
i
),
i
);
}
}
}
src/main/java/org/rcisoft/bus/mixSelect/service/MixSelectService.java
0 → 100644
View file @
dc83fc65
package
org
.
rcisoft
.
bus
.
mixSelect
.
service
;
import
org.rcisoft.bus.mixSelect.entity.DemoData1
;
import
org.rcisoft.bus.mixSelect.entity.RequestDto
;
import
org.rcisoft.bus.mixSelect.entity.RequestInfromationDto
;
import
org.rcisoft.bus.mixSelect.entity.User
;
import
java.util.List
;
public
interface
MixSelectService
{
List
<
User
>
getList
(
RequestDto
requestDto
);
List
<
DemoData1
>
getInformation
(
RequestInfromationDto
requestInfromationDto
);
Integer
getListTotal
(
RequestDto
requestDto
);
Integer
getClickInformationPageNum
(
RequestInfromationDto
requestInfromationDto
);
List
<
DemoData1
>
searchAaa
();
List
<
DemoData1
>
searchCcc
();
List
<
DemoData1
>
searchCccc
();
List
<
DemoData1
>
searchEee
();
List
<
DemoData1
>
searchBbb
();
List
<
DemoData1
>
searchDddd
();
List
<
DemoData1
>
searchDdd
();
/**新系统*/
List
<
DemoData1
>
searchNqy
();
List
<
DemoData1
>
searchKhqf
();
List
<
DemoData1
>
searchJlpm
();
}
src/main/java/org/rcisoft/bus/mixSelect/service/impl/MixSelectServiceImpl.java
0 → 100644
View file @
dc83fc65
This diff is collapsed.
Click to expand it.
src/main/resources/mapper/MixSelectMapper.xml
0 → 100644
View file @
dc83fc65
This diff is collapsed.
Click to expand it.
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