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
16295231
Commit
16295231
authored
May 10, 2024
by
高宇
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1 优化导出统计
parent
58d1ccc1
Changes
19
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
19 changed files
with
177 additions
and
152 deletions
+177
-152
Jnsp7xtmController.java
...g/rcisoft/bus/jnsp7xtm/controller/Jnsp7xtmController.java
+5
-5
Jnsp7xtmStatisticsController.java
...bus/jnsp7xtm/controller/Jnsp7xtmStatisticsController.java
+7
-7
Jnsp7xtmRepository.java
...java/org/rcisoft/bus/jnsp7xtm/dao/Jnsp7xtmRepository.java
+4
-4
Jnsp7xtmStatisticsRepository.java
...cisoft/bus/jnsp7xtm/dao/Jnsp7xtmStatisticsRepository.java
+6
-6
Jnsp7xtmDto.java
src/main/java/org/rcisoft/bus/jnsp7xtm/dto/Jnsp7xtmDto.java
+1
-1
Jnsp7xtmExportTotalDto.java
.../org/rcisoft/bus/jnsp7xtm/dto/Jnsp7xtmExportTotalDto.java
+1
-1
Jnsp7xtmOptionDto.java
.../java/org/rcisoft/bus/jnsp7xtm/dto/Jnsp7xtmOptionDto.java
+1
-1
Jnsp7xtmPageDto.java
...in/java/org/rcisoft/bus/jnsp7xtm/dto/Jnsp7xtmPageDto.java
+4
-4
Jnsp7xtmPageListDto.java
...ava/org/rcisoft/bus/jnsp7xtm/dto/Jnsp7xtmPageListDto.java
+2
-2
Jnsp7xtmPageRequestDto.java
.../org/rcisoft/bus/jnsp7xtm/dto/Jnsp7xtmPageRequestDto.java
+1
-1
Jnsp7xtmTableHeaderDto.java
.../org/rcisoft/bus/jnsp7xtm/dto/Jnsp7xtmTableHeaderDto.java
+1
-1
Jnsp7xtmTotalDto.java
...n/java/org/rcisoft/bus/jnsp7xtm/dto/Jnsp7xtmTotalDto.java
+2
-2
Jnsp7xtm.java
src/main/java/org/rcisoft/bus/jnsp7xtm/entity/Jnsp7xtm.java
+1
-1
Jnsp7xtmService.java
...ava/org/rcisoft/bus/jnsp7xtm/service/Jnsp7xtmService.java
+5
-5
Jnsp7xtmStatisticService.java
...cisoft/bus/jnsp7xtm/service/Jnsp7xtmStatisticService.java
+4
-4
Jnsp7xtmServiceImpl.java
...cisoft/bus/jnsp7xtm/service/impl/Jnsp7xtmServiceImpl.java
+55
-35
Jnsp7xtmStatisticServiceImpl.java
...s/jnsp7xtm/service/impl/Jnsp7xtmStatisticServiceImpl.java
+65
-60
Jnsp7xtmRepository.xml
...sources/mapper/bus/jnsp7xtm/mapper/Jnsp7xtmRepository.xml
+3
-3
Jnsp7xtmStatisticsRepository.xml
...pper/bus/jnsp7xtm/mapper/Jnsp7xtmStatisticsRepository.xml
+9
-9
No files found.
src/main/java/org/rcisoft/bus/jnsp7xtm/controller/Jnsp7xtmController.java
View file @
16295231
package
org
.
rcisoft
.
bus
.
jnsp7xtm
.
controller
;
import
io.swagger.annotations.ApiOperation
;
import
org.rcisoft.bus.jnsp7xtm.dto.Jnsp7
4
tmPageRequestDto
;
import
org.rcisoft.bus.jnsp7xtm.dto.Jnsp7
x
tmPageRequestDto
;
import
org.rcisoft.bus.jnsp7xtm.entity.Jnsp7xtm
;
import
org.rcisoft.bus.jnsp7xtm.service.Jnsp7xtmService
;
import
org.rcisoft.core.anno.CyOpeLogAnno
;
...
...
@@ -31,7 +31,7 @@ public class Jnsp7xtmController extends CyPaginationController<Jnsp7xtm> {
@CyOpeLogAnno
(
title
=
"system-入库记录管理-查询入库记录"
,
businessType
=
CyLogTypeEnum
.
QUERY
)
@ApiOperation
(
value
=
"分页查询入库记录集合"
,
notes
=
"分页查询入库记录集合"
)
@GetMapping
(
value
=
"/queryJnsp74tmByPaged"
)
public
CyGridModel
listByPagination
(
Jnsp7
4
tmPageRequestDto
jnsp74tmPageRequestDto
)
{
public
CyGridModel
listByPagination
(
Jnsp7
x
tmPageRequestDto
jnsp74tmPageRequestDto
)
{
jnsp74tmService
.
findAllByPagination
(
getPaginationUtility
(),
jnsp74tmPageRequestDto
);
return
getGridModelResponse
();
}
...
...
@@ -40,7 +40,7 @@ public class Jnsp7xtmController extends CyPaginationController<Jnsp7xtm> {
@CyOpeLogAnno
(
title
=
"system-Jnsp7xtm管理-导出详细信息"
,
businessType
=
CyLogTypeEnum
.
EXPORT
)
@ApiOperation
(
value
=
"导出详细信息"
,
notes
=
"导出详细信息"
)
@GetMapping
(
value
=
"/exportUserDetailJnsp74tm"
)
public
void
exportUserDetailJnsp74tm
(
HttpServletResponse
response
,
Jnsp74
tmPageRequestDto
jnsp74tmPageRequestDto
,
@PathVariable
@RequestParam
(
defaultValue
=
"0"
)
String
excelId
)
{
public
void
exportUserDetailJnsp74tm
(
HttpServletResponse
response
,
Jnsp7x
tmPageRequestDto
jnsp74tmPageRequestDto
,
@PathVariable
@RequestParam
(
defaultValue
=
"0"
)
String
excelId
)
{
String
excelName
=
""
;
switch
(
excelId
)
{
case
"0"
:
...
...
@@ -60,7 +60,7 @@ public class Jnsp7xtmController extends CyPaginationController<Jnsp7xtm> {
@CyOpeLogAnno
(
title
=
"system-Jnsp7xtm管理-导出明细信息"
,
businessType
=
CyLogTypeEnum
.
EXPORT
)
@ApiOperation
(
value
=
"导出明细信息"
,
notes
=
"导出明细信息"
)
@GetMapping
(
value
=
"/exportDetailJnsp74tm"
)
public
void
exportDetailJnsp74tm
(
HttpServletResponse
response
,
Jnsp74
tmPageRequestDto
jnsp74tmPageRequestDto
,
@PathVariable
@RequestParam
(
defaultValue
=
"0"
)
String
excelId
)
{
public
void
exportDetailJnsp74tm
(
HttpServletResponse
response
,
Jnsp7x
tmPageRequestDto
jnsp74tmPageRequestDto
,
@PathVariable
@RequestParam
(
defaultValue
=
"0"
)
String
excelId
)
{
String
excelName
=
""
;
switch
(
excelId
)
{
case
"0"
:
...
...
@@ -82,7 +82,7 @@ public class Jnsp7xtmController extends CyPaginationController<Jnsp7xtm> {
@CyOpeLogAnno
(
title
=
"system-Jnsp7xtm管理-导出统计信息"
,
businessType
=
CyLogTypeEnum
.
EXPORT
)
@ApiOperation
(
value
=
"导出统计信息"
,
notes
=
"导出统计信息"
)
@GetMapping
(
value
=
"/exportTotal"
)
public
void
exportTotal
(
HttpServletResponse
response
,
Jnsp74
tmPageRequestDto
jnsp74tmPageRequestDto
,
@PathVariable
@RequestParam
(
defaultValue
=
"0"
)
String
excelId
)
{
public
void
exportTotal
(
HttpServletResponse
response
,
Jnsp7x
tmPageRequestDto
jnsp74tmPageRequestDto
,
@PathVariable
@RequestParam
(
defaultValue
=
"0"
)
String
excelId
)
{
String
excelName
=
""
;
switch
(
excelId
)
{
case
"0"
:
...
...
src/main/java/org/rcisoft/bus/jnsp7xtm/controller/Jnsp7
4
tmStatisticsController.java
→
src/main/java/org/rcisoft/bus/jnsp7xtm/controller/Jnsp7
x
tmStatisticsController.java
View file @
16295231
package
org
.
rcisoft
.
bus
.
jnsp7xtm
.
controller
;
import
io.swagger.annotations.ApiOperation
;
import
org.rcisoft.bus.jnsp7xtm.dto.Jnsp7
4
tmPageRequestDto
;
import
org.rcisoft.bus.jnsp7xtm.dto.Jnsp7
x
tmPageRequestDto
;
import
org.rcisoft.bus.jnsp7xtm.entity.Jnsp7xtm
;
import
org.rcisoft.bus.jnsp7xtm.service.Jnsp7
4
tmStatisticService
;
import
org.rcisoft.bus.jnsp7xtm.service.Jnsp7
x
tmStatisticService
;
import
org.rcisoft.core.anno.CyOpeLogAnno
;
import
org.rcisoft.core.constant.CyMessCons
;
import
org.rcisoft.core.model.CyPersistModel
;
...
...
@@ -22,16 +22,16 @@ import org.springframework.web.bind.annotation.RestController;
*/
@RestController
@RequestMapping
(
"/jnsp74tmStatistics"
)
public
class
Jnsp7
4
tmStatisticsController
{
public
class
Jnsp7
x
tmStatisticsController
{
@Autowired
private
Jnsp7
4
tmStatisticService
jnsp74tmStatisticService
;
private
Jnsp7
x
tmStatisticService
jnsp74tmStatisticService
;
// 1.查询所有下拉框数据源
@CyOpeLogAnno
(
title
=
"system-DemoData1管理-查询高级搜索"
,
businessType
=
CyLogTypeEnum
.
OTHER
)
@ApiOperation
(
value
=
"查询下拉框数据源"
,
notes
=
"查询下拉框数据源"
)
@GetMapping
(
"/queryAllPullDown"
)
public
CyResult
queryAllPullDown
(
Jnsp7
4
tmPageRequestDto
jnsp74tmPageRequestDto
)
{
public
CyResult
queryAllPullDown
(
Jnsp7
x
tmPageRequestDto
jnsp74tmPageRequestDto
)
{
return
CyResultGenUtil
.
builder
(
new
CyPersistModel
(
1
),
CyMessCons
.
MESSAGE_ALERT_SUCCESS
,
CyMessCons
.
MESSAGE_ALERT_ERROR
,
...
...
@@ -53,7 +53,7 @@ public class Jnsp74tmStatisticsController {
@CyOpeLogAnno
(
title
=
"system-DemoData1管理-查询统计"
,
businessType
=
CyLogTypeEnum
.
OTHER
)
@ApiOperation
(
value
=
"查询统计"
,
notes
=
"查询统计"
)
@GetMapping
(
"/getPageList"
)
public
CyResult
getPageList
(
Jnsp7
4
tmPageRequestDto
jnsp74tmPageRequestDto
)
{
public
CyResult
getPageList
(
Jnsp7
x
tmPageRequestDto
jnsp74tmPageRequestDto
)
{
return
CyResultGenUtil
.
builder
(
new
CyPersistModel
(
1
),
CyMessCons
.
MESSAGE_ALERT_SUCCESS
,
CyMessCons
.
MESSAGE_ALERT_ERROR
,
...
...
@@ -64,7 +64,7 @@ public class Jnsp74tmStatisticsController {
@CyOpeLogAnno
(
title
=
"system-DemoData1管理-查询统计"
,
businessType
=
CyLogTypeEnum
.
OTHER
)
@ApiOperation
(
value
=
"查询统计"
,
notes
=
"查询统计"
)
@GetMapping
(
"/queryTotal"
)
public
CyResult
queryTotal
(
Jnsp7
4
tmPageRequestDto
jnsp74tmPageRequestDto
)
{
public
CyResult
queryTotal
(
Jnsp7
x
tmPageRequestDto
jnsp74tmPageRequestDto
)
{
return
CyResultGenUtil
.
builder
(
new
CyPersistModel
(
1
),
CyMessCons
.
MESSAGE_ALERT_SUCCESS
,
CyMessCons
.
MESSAGE_ALERT_ERROR
,
...
...
src/main/java/org/rcisoft/bus/jnsp7xtm/dao/Jnsp7xtmRepository.java
View file @
16295231
...
...
@@ -3,7 +3,7 @@ package org.rcisoft.bus.jnsp7xtm.dao;
import
com.baomidou.mybatisplus.core.metadata.IPage
;
import
org.apache.ibatis.annotations.Mapper
;
import
org.apache.ibatis.annotations.Param
;
import
org.rcisoft.bus.jnsp7xtm.dto.Jnsp7
4
tmPageRequestDto
;
import
org.rcisoft.bus.jnsp7xtm.dto.Jnsp7
x
tmPageRequestDto
;
import
org.rcisoft.bus.jnsp7xtm.entity.Jnsp7xtm
;
import
org.rcisoft.core.mapper.CyBaseMapper
;
import
org.rcisoft.core.model.CyPageInfo
;
...
...
@@ -15,16 +15,16 @@ public interface Jnsp7xtmRepository extends CyBaseMapper<Jnsp7xtm> {
/**
* 7.弹出框查询
* **/
IPage
<
Jnsp7xtm
>
queryJnsp74tmByPaged
(
CyPageInfo
cyPageInfo
,
@Param
(
"entity"
)
Jnsp7
4
tmPageRequestDto
jnsp74tmPageRequestDto
);
IPage
<
Jnsp7xtm
>
queryJnsp74tmByPaged
(
CyPageInfo
cyPageInfo
,
@Param
(
"entity"
)
Jnsp7
x
tmPageRequestDto
jnsp74tmPageRequestDto
);
/**
* 8.总数
* **/
Integer
queryAllJnsp74tm
(
@Param
(
"entity"
)
Jnsp7
4
tmPageRequestDto
jnsp74tmPageRequestDto
);
Integer
queryAllJnsp74tm
(
@Param
(
"entity"
)
Jnsp7
x
tmPageRequestDto
jnsp74tmPageRequestDto
);
/** 9.导出明细
* **/
IPage
<
Jnsp7xtm
>
queryFindAllList
(
IPage
<
Jnsp7xtm
>
page
,
@Param
(
"entity"
)
Jnsp7
4
tmPageRequestDto
jnsp74tmPageRequestDto
);
IPage
<
Jnsp7xtm
>
queryFindAllList
(
IPage
<
Jnsp7xtm
>
page
,
@Param
(
"entity"
)
Jnsp7
x
tmPageRequestDto
jnsp74tmPageRequestDto
);
}
src/main/java/org/rcisoft/bus/jnsp7xtm/dao/Jnsp7
4
tmStatisticsRepository.java
→
src/main/java/org/rcisoft/bus/jnsp7xtm/dao/Jnsp7
x
tmStatisticsRepository.java
View file @
16295231
...
...
@@ -2,8 +2,8 @@ package org.rcisoft.bus.jnsp7xtm.dao;
import
org.apache.ibatis.annotations.Mapper
;
import
org.apache.ibatis.annotations.Param
;
import
org.rcisoft.bus.jnsp7xtm.dto.Jnsp7
4
tmPageRequestDto
;
import
org.rcisoft.bus.jnsp7xtm.dto.Jnsp7
4x
mDto
;
import
org.rcisoft.bus.jnsp7xtm.dto.Jnsp7
x
tmPageRequestDto
;
import
org.rcisoft.bus.jnsp7xtm.dto.Jnsp7
xt
mDto
;
import
org.rcisoft.bus.jnsp7xtm.entity.Jnsp7xtm
;
import
java.util.List
;
...
...
@@ -13,7 +13,7 @@ import java.util.Map;
* Jnsp74tm统计mapper
* **/
@Mapper
public
interface
Jnsp7
4tmStatisticsRepository
{
public
interface
Jnsp7
xtmStatisticsRepository
{
// 1.查询全部下拉数据
List
<
String
>
queryAllPullDown
(
@Param
(
"key"
)
String
key
);
...
...
@@ -25,7 +25,7 @@ public interface Jnsp74tmStatisticsRepository {
List
<
String
>
getMonths
();
// 4.获取统计总条数
List
<
Map
<
String
,
Object
>>
queryStatisticsCount
(
@Param
(
"entity"
)
Jnsp7
4
tmPageRequestDto
jnsp74tmPageRequestDto
,
@Param
(
"monthList"
)
String
months
,
@Param
(
"statistics"
)
String
statistics
);
List
<
Map
<
String
,
Object
>>
queryStatisticsCount
(
@Param
(
"entity"
)
Jnsp7
x
tmPageRequestDto
jnsp74tmPageRequestDto
,
@Param
(
"monthList"
)
String
months
,
@Param
(
"statistics"
)
String
statistics
);
/**
* @description: 5.获取统计list
...
...
@@ -38,10 +38,10 @@ public interface Jnsp74tmStatisticsRepository {
* @param: computedColumn - 计算列
* @return:
**/
List
<
Map
<
String
,
Object
>>
queryList
(
@Param
(
"entity"
)
Jnsp7
4
tmPageRequestDto
jnsp74tmPageRequestDto
,
@Param
(
"monthList"
)
String
months
,
@Param
(
"pageNo"
)
int
pageNo
,
@Param
(
"pageSize"
)
int
pageSize
,
@Param
(
"isPage"
)
String
isPage
,
@Param
(
"computedColumn"
)
String
computedColumn
,
@Param
(
"statistics"
)
String
statistics
);
List
<
Map
<
String
,
Object
>>
queryList
(
@Param
(
"entity"
)
Jnsp7
x
tmPageRequestDto
jnsp74tmPageRequestDto
,
@Param
(
"monthList"
)
String
months
,
@Param
(
"pageNo"
)
int
pageNo
,
@Param
(
"pageSize"
)
int
pageSize
,
@Param
(
"isPage"
)
String
isPage
,
@Param
(
"computedColumn"
)
String
computedColumn
,
@Param
(
"statistics"
)
String
statistics
);
// 6 查询合计接口
List
<
Jnsp7
4xmDto
>
queryTotal
(
@Param
(
"entity"
)
Jnsp74
tmPageRequestDto
jnsp74tmPageRequestDto
);
List
<
Jnsp7
xtmDto
>
queryTotal
(
@Param
(
"entity"
)
Jnsp7x
tmPageRequestDto
jnsp74tmPageRequestDto
);
}
src/main/java/org/rcisoft/bus/jnsp7xtm/dto/Jnsp7
4x
mDto.java
→
src/main/java/org/rcisoft/bus/jnsp7xtm/dto/Jnsp7
xt
mDto.java
View file @
16295231
...
...
@@ -14,7 +14,7 @@ import java.math.BigDecimal;
*/
@Data
@JsonPropertyOrder
(
value
=
{
"nqy"
,
"chzs"
,
"rmb"
,
"xsjg"
,
"chzsa"
,
"chzsb"
,
"zzc"
,
"zzcg"
})
public
class
Jnsp7
4x
mDto
{
public
class
Jnsp7
xt
mDto
{
/**
* @desc
...
...
src/main/java/org/rcisoft/bus/jnsp7xtm/dto/Jnsp7
4
tmExportTotalDto.java
→
src/main/java/org/rcisoft/bus/jnsp7xtm/dto/Jnsp7
x
tmExportTotalDto.java
View file @
16295231
...
...
@@ -12,7 +12,7 @@ import java.util.Map;
* @Description: 导出统计
*/
@Data
public
class
Jnsp7
4
tmExportTotalDto
{
public
class
Jnsp7
x
tmExportTotalDto
{
// 表头
private
List
<
ExcelExportEntity
>
entityList
;
...
...
src/main/java/org/rcisoft/bus/jnsp7xtm/dto/Jnsp7
4
tmOptionDto.java
→
src/main/java/org/rcisoft/bus/jnsp7xtm/dto/Jnsp7
x
tmOptionDto.java
View file @
16295231
...
...
@@ -16,7 +16,7 @@ import java.util.List;
@AllArgsConstructor
@NoArgsConstructor
@Builder
public
class
Jnsp7
4
tmOptionDto
{
public
class
Jnsp7
x
tmOptionDto
{
private
String
label
;
...
...
src/main/java/org/rcisoft/bus/jnsp7xtm/dto/Jnsp7
4
tmPageDto.java
→
src/main/java/org/rcisoft/bus/jnsp7xtm/dto/Jnsp7
x
tmPageDto.java
View file @
16295231
...
...
@@ -15,7 +15,7 @@ import java.util.Map;
* @Description: 合计统计数据类
*/
@Data
public
class
Jnsp7
4
tmPageDto
implements
Serializable
{
public
class
Jnsp7
x
tmPageDto
implements
Serializable
{
// 维度1
private
String
dimensionalityOne
;
...
...
@@ -26,20 +26,20 @@ public class Jnsp74tmPageDto implements Serializable {
// 维度3
private
String
dimensionalityThree
;
private
List
<
Jnsp7
4x
mDto
>
data
;
private
List
<
Jnsp7
xt
mDto
>
data
;
@JsonIgnore
private
Map
<
String
,
Integer
>
map
;
public
Jnsp7
4
tmPageDto
(
String
dimensionalityOne
,
String
dimensionalityTwo
,
String
dimensionalityThree
,
List
<
String
>
list
,
boolean
[]
flag
)
{
public
Jnsp7
x
tmPageDto
(
String
dimensionalityOne
,
String
dimensionalityTwo
,
String
dimensionalityThree
,
List
<
String
>
list
,
boolean
[]
flag
)
{
this
.
map
=
new
HashMap
();
this
.
dimensionalityOne
=
dimensionalityOne
;
this
.
dimensionalityTwo
=
dimensionalityTwo
;
this
.
dimensionalityThree
=
dimensionalityThree
;
this
.
data
=
new
ArrayList
<>(
list
.
size
());
for
(
int
i
=
0
;
i
<
list
.
size
();
i
++)
{
Jnsp7
4xmDto
infromation
=
new
Jnsp74x
mDto
();
Jnsp7
xtmDto
infromation
=
new
Jnsp7xt
mDto
();
infromation
.
setNqy
(
list
.
get
(
i
));
if
(
flag
[
0
]){
infromation
.
setXsjg
(
""
);
...
...
src/main/java/org/rcisoft/bus/jnsp7xtm/dto/Jnsp7
4
tmPageListDto.java
→
src/main/java/org/rcisoft/bus/jnsp7xtm/dto/Jnsp7
x
tmPageListDto.java
View file @
16295231
...
...
@@ -10,9 +10,9 @@ import java.util.List;
* @Description: 合计分页返回类
*/
@Data
public
class
Jnsp7
4
tmPageListDto
{
public
class
Jnsp7
x
tmPageListDto
{
private
Integer
total
;
private
List
<
Jnsp7
4
tmPageDto
>
userDtoList
;
private
List
<
Jnsp7
x
tmPageDto
>
userDtoList
;
}
src/main/java/org/rcisoft/bus/jnsp7xtm/dto/Jnsp7
4
tmPageRequestDto.java
→
src/main/java/org/rcisoft/bus/jnsp7xtm/dto/Jnsp7
x
tmPageRequestDto.java
View file @
16295231
...
...
@@ -11,7 +11,7 @@ import lombok.NoArgsConstructor;
@Data
@AllArgsConstructor
@NoArgsConstructor
public
class
Jnsp7
4
tmPageRequestDto
{
public
class
Jnsp7
x
tmPageRequestDto
{
// mySzzt集合
private
String
mySzzt
;
...
...
src/main/java/org/rcisoft/bus/jnsp7xtm/dto/Jnsp7
4
tmTableHeaderDto.java
→
src/main/java/org/rcisoft/bus/jnsp7xtm/dto/Jnsp7
x
tmTableHeaderDto.java
View file @
16295231
...
...
@@ -8,7 +8,7 @@ import lombok.Data;
* @Description:
*/
@Data
public
class
Jnsp7
4
tmTableHeaderDto
{
public
class
Jnsp7
x
tmTableHeaderDto
{
private
String
name
;
...
...
src/main/java/org/rcisoft/bus/jnsp7xtm/dto/Jnsp7
4
tmTotalDto.java
→
src/main/java/org/rcisoft/bus/jnsp7xtm/dto/Jnsp7
x
tmTotalDto.java
View file @
16295231
...
...
@@ -10,7 +10,7 @@ import java.util.List;
* @Description: 返回合计接口
*/
@Data
public
class
Jnsp7
4
tmTotalDto
{
public
class
Jnsp7
x
tmTotalDto
{
private
List
<
Jnsp7
4x
mDto
>
jnsp7xtmDtos
;
private
List
<
Jnsp7
xt
mDto
>
jnsp7xtmDtos
;
}
src/main/java/org/rcisoft/bus/jnsp7xtm/entity/Jnsp7xtm.java
View file @
16295231
...
...
@@ -11,7 +11,7 @@ import lombok.Data;
* @Description:
*/
@Data
@TableName
(
"
jnsp74
tm"
)
@TableName
(
"
Jnsp7x
tm"
)
public
class
Jnsp7xtm
{
@Excel
(
name
=
"nqy"
,
orderNum
=
"2"
,
width
=
20
)
...
...
src/main/java/org/rcisoft/bus/jnsp7xtm/service/Jnsp7xtmService.java
View file @
16295231
package
org
.
rcisoft
.
bus
.
jnsp7xtm
.
service
;
import
com.baomidou.mybatisplus.core.metadata.IPage
;
import
org.rcisoft.bus.jnsp7xtm.dto.Jnsp7
4
tmPageRequestDto
;
import
org.rcisoft.bus.jnsp7xtm.dto.Jnsp7
x
tmPageRequestDto
;
import
org.rcisoft.bus.jnsp7xtm.entity.Jnsp7xtm
;
import
org.rcisoft.core.model.CyPageInfo
;
import
javax.servlet.http.HttpServletResponse
;
...
...
@@ -12,20 +12,20 @@ public interface Jnsp7xtmService {
/**
* 7.弹出框查询
* **/
IPage
<
Jnsp7xtm
>
findAllByPagination
(
CyPageInfo
<
Jnsp7xtm
>
paginationUtility
,
Jnsp7
4
tmPageRequestDto
jnsp74tmPageRequestDto
);
IPage
<
Jnsp7xtm
>
findAllByPagination
(
CyPageInfo
<
Jnsp7xtm
>
paginationUtility
,
Jnsp7
x
tmPageRequestDto
jnsp74tmPageRequestDto
);
/**
* 8.导出弹框框详情
* **/
void
exportUserDetailJnsp74tm
(
Jnsp7
4
tmPageRequestDto
jnsp74tmPageRequestDto
,
String
excelName
,
HttpServletResponse
response
);
void
exportUserDetailJnsp74tm
(
Jnsp7
x
tmPageRequestDto
jnsp74tmPageRequestDto
,
String
excelName
,
HttpServletResponse
response
);
/**
* 9.导出明细详情
* **/
void
exportDetailJnsp74tm
(
Jnsp7
4
tmPageRequestDto
jnsp74tmPageRequestDto
,
String
excelName
,
HttpServletResponse
response
);
void
exportDetailJnsp74tm
(
Jnsp7
x
tmPageRequestDto
jnsp74tmPageRequestDto
,
String
excelName
,
HttpServletResponse
response
);
/**
* 10.导出统计
* **/
void
exportTotal
(
HttpServletResponse
response
,
Jnsp7
4
tmPageRequestDto
requestDto
);
void
exportTotal
(
HttpServletResponse
response
,
Jnsp7
x
tmPageRequestDto
requestDto
);
}
src/main/java/org/rcisoft/bus/jnsp7xtm/service/Jnsp7
4
tmStatisticService.java
→
src/main/java/org/rcisoft/bus/jnsp7xtm/service/Jnsp7
x
tmStatisticService.java
View file @
16295231
...
...
@@ -5,18 +5,18 @@ import org.rcisoft.bus.jnsp7xtm.entity.Jnsp7xtm;
import
java.util.List
;
public
interface
Jnsp7
4
tmStatisticService
{
public
interface
Jnsp7
x
tmStatisticService
{
// 1.查询所有下拉框数据源
List
<
Jnsp7
4tmOptionDto
>
queryAllPullDownData
(
Jnsp74
tmPageRequestDto
jnsp74tmPageRequestDto
);
List
<
Jnsp7
xtmOptionDto
>
queryAllPullDownData
(
Jnsp7x
tmPageRequestDto
jnsp74tmPageRequestDto
);
// 2.实时查询下拉框数据
List
<
Jnsp7xtm
>
queryKey
(
Jnsp7xtm
jnsp74tm
);
// 3.查询统计
Jnsp7
4tmPageListDto
getPageList
(
Jnsp74
tmPageRequestDto
jnsp74tmPageRequestDto
);
Jnsp7
xtmPageListDto
getPageList
(
Jnsp7x
tmPageRequestDto
jnsp74tmPageRequestDto
);
// 4.返回总计接口
Jnsp7
4tmTotalDto
queryTotal
(
Jnsp74
tmPageRequestDto
jnsp74tmPageRequestDto
);
Jnsp7
xtmTotalDto
queryTotal
(
Jnsp7x
tmPageRequestDto
jnsp74tmPageRequestDto
);
}
src/main/java/org/rcisoft/bus/jnsp7xtm/service/impl/Jnsp7
4
tmServiceImpl.java
→
src/main/java/org/rcisoft/bus/jnsp7xtm/service/impl/Jnsp7
x
tmServiceImpl.java
View file @
16295231
This diff is collapsed.
Click to expand it.
src/main/java/org/rcisoft/bus/jnsp7xtm/service/impl/Jnsp7
4
tmStatisticServiceImpl.java
→
src/main/java/org/rcisoft/bus/jnsp7xtm/service/impl/Jnsp7
x
tmStatisticServiceImpl.java
View file @
16295231
This diff is collapsed.
Click to expand it.
src/main/resources/mapper/bus/jnsp7xtm/mapper/Jnsp7xtmRepository.xml
View file @
16295231
...
...
@@ -30,7 +30,7 @@
</resultMap>
<select
id=
"queryJnsp74tmByPaged"
resultMap=
"BaseResultMap"
>
SELECT *
FROM Jnsp7
4
tm
FROM Jnsp7
x
tm
WHERE
1=1
<if
test=
'entity.clickOneDimensionality and entity.type == "1"'
>
...
...
@@ -113,7 +113,7 @@
<select
id=
"queryAllJnsp74tm"
resultType=
"java.lang.Integer"
>
SELECT
count(*)
FROM Jnsp7
4
tm
FROM Jnsp7
x
tm
WHERE
1=1
<if
test=
'entity.clickOneDimensionality and entity.type == "1"'
>
...
...
@@ -194,7 +194,7 @@
</select>
<select
id=
"queryFindAllList"
resultType=
"org.rcisoft.bus.jnsp7xtm.entity.Jnsp7xtm"
>
SELECT *
FROM Jnsp7
4
tm
FROM Jnsp7
x
tm
WHERE
1=1
<if
test=
'entity.clickOneDimensionality and entity.type == "1"'
>
...
...
src/main/resources/mapper/bus/jnsp7xtm/mapper/Jnsp7
4
tmStatisticsRepository.xml
→
src/main/resources/mapper/bus/jnsp7xtm/mapper/Jnsp7
x
tmStatisticsRepository.xml
View file @
16295231
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper
namespace=
"org.rcisoft.bus.jnsp7xtm.dao.Jnsp7
4
tmStatisticsRepository"
>
<resultMap
id=
"BaseResultMap"
type=
"org.rcisoft.bus.jnsp7xtm.dto.Jnsp7
4x
mDto"
>
<mapper
namespace=
"org.rcisoft.bus.jnsp7xtm.dao.Jnsp7
x
tmStatisticsRepository"
>
<resultMap
id=
"BaseResultMap"
type=
"org.rcisoft.bus.jnsp7xtm.dto.Jnsp7
xt
mDto"
>
<result
column=
"zd"
property=
"zd"
/>
<result
column=
"nqy"
property=
"nqy"
/>
<result
column=
"ddh"
property=
"ddh"
/>
...
...
@@ -54,7 +54,7 @@
<if
test=
'key == "mksqf"'
>
DISTINCT mksqf
</if>
FROM
jnsp74
tm
FROM
Jnsp7x
tm
</select>
<select
id=
"queryKey"
resultType=
"org.rcisoft.bus.jnsp7xtm.entity.Jnsp7xtm"
>
SELECT
...
...
@@ -70,7 +70,7 @@
DISTINCT top 20
pn
</if>
FROM
j
nsp7xtm
FROM
J
nsp7xtm
where
1=1
<if
test=
"khdm != null and khdm != ''"
>
...
...
@@ -87,7 +87,7 @@
SELECT nqy
FROM (
SELECT DISTINCT nqy, CAST(nqy AS INT) AS month_order
FROM
j
nsp7xtm
FROM
J
nsp7xtm
) AS subquery
ORDER BY month_order ASC
</select>
...
...
@@ -98,7 +98,7 @@
${statistics},
nqy,
count(*) AS total
FROM
jnsp74
tm
FROM
Jnsp7x
tm
WHERE 1=1
<if
test=
"entity.nqy != null and entity.nqy!= ''"
>
and nqy in
...
...
@@ -185,7 +185,7 @@
${statistics},
nqy ,
SUM(${computedColumn}) AS total
FROM
jnsp74
tm
FROM
Jnsp7x
tm
WHERE 1=1
<if
test=
"entity.nqy != null and entity.nqy!= ''"
>
and nqy in
...
...
@@ -269,7 +269,7 @@
FETCH NEXT #{pageSize} ROWS ONLY
</if>
</select>
<select
id=
"queryTotal"
resultType=
"org.rcisoft.bus.jnsp7xtm.dto.Jnsp7
4x
mDto"
>
<select
id=
"queryTotal"
resultType=
"org.rcisoft.bus.jnsp7xtm.dto.Jnsp7
xt
mDto"
>
SELECT
nqy
<if
test=
"entity.xsjg"
>
...
...
@@ -297,7 +297,7 @@
,SUM (zzcg) AS zzcg
</if>
FROM
j
nsp7xtm
J
nsp7xtm
WHERE
1 = 1
<if
test=
"entity.nqy != null and entity.nqy!= ''"
>
...
...
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