Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
A
amos-boot-biz
Project
Project
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
项目统一框架
amos-boot-biz
Commits
6999bdf0
Commit
6999bdf0
authored
Mar 31, 2022
by
helinlin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改气瓶系统bug
parent
f8f5705c
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
12 changed files
with
125 additions
and
113 deletions
+125
-113
MetaHandler.java
...in/java/com/yeejoin/amos/boot/biz/config/MetaHandler.java
+2
-2
MyBatisPlusConfig.java
...a/com/yeejoin/amos/boot/biz/config/MyBatisPlusConfig.java
+12
-17
CylinderFillingRecordDto.java
...boot/module/tzs/flc/api/dto/CylinderFillingRecordDto.java
+30
-32
CylinderFillingDataUnit.java
...ot/module/tzs/flc/api/entity/CylinderFillingDataUnit.java
+1
-1
CylinderFillingRecordMapper.xml
...src/main/resources/mapper/CylinderFillingRecordMapper.xml
+1
-1
CylinderInfoMapper.xml
...-tzs-api/src/main/resources/mapper/CylinderInfoMapper.xml
+10
-13
EquipmentSpecificSerivceImpl.java
...quipmanage/service/impl/EquipmentSpecificSerivceImpl.java
+1
-3
CylinderAreaDataController.java
...le/tzs/flc/biz/controller/CylinderAreaDataController.java
+10
-12
CylinderInfoController.java
...module/tzs/flc/biz/controller/CylinderInfoController.java
+0
-0
CylinderFillingRecordServiceImpl.java
...lc/biz/service/impl/CylinderFillingRecordServiceImpl.java
+28
-17
CylinderInfoServiceImpl.java
...ule/tzs/flc/biz/service/impl/CylinderInfoServiceImpl.java
+0
-0
pom.xml
pom.xml
+30
-15
No files found.
amos-boot-biz-common/src/main/java/com/yeejoin/amos/boot/biz/config/MetaHandler.java
View file @
6999bdf0
...
...
@@ -125,8 +125,8 @@ public class MetaHandler implements MetaObjectHandler {
*/
@Override
public
void
updateFill
(
MetaObject
metaObject
)
{
Class
clazz
=
metaObject
.
getOriginalObject
().
getClass
();
FillCommonUserField
annotation
=
(
FillCommonUserField
)
clazz
.
getAnnotation
(
FillCommonUserField
.
class
);
Class
<?>
clazz
=
metaObject
.
getOriginalObject
().
getClass
();
FillCommonUserField
annotation
=
clazz
.
getAnnotation
(
FillCommonUserField
.
class
);
if
(
annotation
==
null
||
annotation
.
isAutoFill
())
{
String
userId
=
RequestContext
.
getExeUserId
();
ReginParams
reginParams
=
...
...
amos-boot-biz-common/src/main/java/com/yeejoin/amos/boot/biz/config/MyBatisPlusConfig.java
View file @
6999bdf0
package
com
.
yeejoin
.
amos
.
boot
.
biz
.
config
;
import
com.baomidou.mybatisplus.annotation.DbType
;
import
com.baomidou.mybatisplus.autoconfigure.ConfigurationCustomizer
;
import
com.baomidou.mybatisplus.core.MybatisConfiguration
;
import
com.baomidou.mybatisplus.core.config.GlobalConfig
;
import
com.baomidou.mybatisplus.core.toolkit.Sequence
;
import
com.baomidou.mybatisplus.extension.plugins.MybatisPlusInterceptor
;
import
com.baomidou.mybatisplus.extension.plugins.inner.PaginationInnerInterceptor
;
import
com.yeejoin.amos.boot.biz.common.interceptors.PermissionInterceptor
;
import
org.springframework.boot.autoconfigure.condition.ConditionalOnProperty
;
import
org.springframework.context.annotation.Bean
;
...
...
@@ -30,18 +32,16 @@ public class MyBatisPlusConfig {
public
Sequence
sequence
()
{
return
new
Sequence
();
}
/**
* plus分页插件支持
*/
// @Bean
// public PaginationInterceptor paginationInterceptor() {
// PaginationInterceptor page = new PaginationInterceptor();
// //设置方言类型
// page.setDialectType("mysql");
// //不限制
// page.setLimit(-1);
// return page;
// }
@Bean
public
MybatisPlusInterceptor
mybatisPlusInterceptor
()
{
MybatisPlusInterceptor
mybatisPlusInterceptor
=
new
MybatisPlusInterceptor
();
mybatisPlusInterceptor
.
addInnerInterceptor
(
new
PaginationInnerInterceptor
(
DbType
.
MYSQL
));
return
mybatisPlusInterceptor
;
}
/**
* pageHelper插件支持
...
...
@@ -50,15 +50,10 @@ public class MyBatisPlusConfig {
*/
@Bean
ConfigurationCustomizer
mybatisConfigurationCustomizer
()
{
return
new
ConfigurationCustomizer
()
{
@Override
public
void
customize
(
MybatisConfiguration
configuration
)
{
configuration
.
addInterceptor
(
new
com
.
github
.
pagehelper
.
PageInterceptor
());
}
};
return
configuration
->
configuration
.
addInterceptor
(
new
com
.
github
.
pagehelper
.
PageInterceptor
());
}
@ConditionalOnProperty
(
name
=
"mybatis.interceptor.enabled"
,
havingValue
=
"true"
,
matchIfMissing
=
true
)
@ConditionalOnProperty
(
name
=
"mybatis.interceptor.enabled"
,
havingValue
=
"true"
,
matchIfMissing
=
true
)
@Bean
public
PermissionInterceptor
permissionInterceptor
()
{
return
new
PermissionInterceptor
();
...
...
amos-boot-module/amos-boot-module-api/amos-boot-module-tzs-api/src/main/java/com/yeejoin/amos/boot/module/tzs/flc/api/dto/CylinderFillingRecordDto.java
View file @
6999bdf0
...
...
@@ -5,6 +5,7 @@ import io.swagger.annotations.ApiModelProperty;
import
com.yeejoin.amos.boot.biz.common.dto.BaseDto
;
import
lombok.Data
;
import
lombok.EqualsAndHashCode
;
import
java.util.Date
;
/**
...
...
@@ -15,10 +16,10 @@ import java.util.Date;
*/
@Data
@EqualsAndHashCode
(
callSuper
=
true
)
@ApiModel
(
value
=
"CylinderFillingRecordDto"
,
description
=
"液化气体气瓶充装信息-充装记录"
)
public
class
CylinderFillingRecordDto
extends
BaseDto
{
@ApiModel
(
value
=
"CylinderFillingRecordDto"
,
description
=
"液化气体气瓶充装信息-充装记录"
)
public
class
CylinderFillingRecordDto
extends
BaseDto
{
private
static
final
long
serialVersionUID
=
1L
;
private
static
final
long
serialVersionUID
=
1L
;
@ApiModelProperty
(
value
=
"充装记录Id"
)
...
...
@@ -69,12 +70,11 @@ public class CylinderFillingRecordDto extends BaseDto {
@ApiModelProperty
(
value
=
"异常情况"
)
private
String
abnormalStr
;
@ApiModelProperty
(
value
=
"充装前检查时间"
)
private
String
inspectionDate
;
@ApiModelProperty
(
value
=
"充装前检查结果"
)
private
String
fillingResult
;
@ApiModelProperty
(
value
=
"充装前检查结果"
)
private
String
fillingResult
;
@ApiModelProperty
(
value
=
"充装前检查人员"
)
private
String
inspectorUser
;
...
...
@@ -98,42 +98,40 @@ public class CylinderFillingRecordDto extends BaseDto {
@ApiModelProperty
(
value
=
"对接公司编码"
)
private
String
appId
;
@ApiModelProperty
(
value
=
"是否在检验有效期以内"
)
private
String
isValid
;
@ApiModelProperty
(
value
=
"是否在检验有效期以内"
)
private
String
isValid
;
@ApiModelProperty
(
value
=
"警示标签上印有的瓶装气体的名称及化学分子式应与气瓶钢印标志是否一致"
)
private
Integer
same
;
@ApiModelProperty
(
value
=
"气瓶外表面的颜色标志是否符合规定"
)
private
Integer
isRegulations
;
@ApiModelProperty
(
value
=
"警示标签上印有的瓶装气体的名称及化学分子式应与气瓶钢印标志是否一致"
)
private
Integer
same
;
@ApiModelProperty
(
value
=
"气瓶瓶阀的出气口螺纹型式是否符合GB/T15383
"
)
private
Integer
isComplianceWithgbt
;
@ApiModelProperty
(
value
=
"气瓶外表面的颜色标志是否符合规定
"
)
private
Integer
isRegulations
;
@ApiModelProperty
(
value
=
"气瓶内有无剩余压力
"
)
private
Integer
haveStillPressure
;
@ApiModelProperty
(
value
=
"气瓶瓶阀的出气口螺纹型式是否符合GB/T15383
"
)
private
Integer
isComplianceWithgbt
;
@ApiModelProperty
(
value
=
"气瓶外表面有无裂纹、严重腐蚀、明显变形及其他严重外部损伤缺陷
"
)
private
Integer
isComplet
e
;
@ApiModelProperty
(
value
=
"气瓶内有无剩余压力
"
)
private
Integer
haveStillPressur
e
;
@ApiModelProperty
(
value
=
"气瓶的安全附件齐全并符合安全要求
"
)
private
Integer
haveSecurityDocuments
;
@ApiModelProperty
(
value
=
"气瓶外表面有无裂纹、严重腐蚀、明显变形及其他严重外部损伤缺陷
"
)
private
Integer
isComplete
;
@ApiModelProperty
(
value
=
"充装量在规定范围内
"
)
private
Integer
withinScope
;
@ApiModelProperty
(
value
=
"气瓶的安全附件齐全并符合安全要求
"
)
private
Integer
haveSecurityDocuments
;
@ApiModelProperty
(
value
=
"瓶阀及其与瓶口连接的密封良好
"
)
private
Integer
sealedStat
e
;
@ApiModelProperty
(
value
=
"充装量在规定范围内
"
)
private
Integer
withinScop
e
;
@ApiModelProperty
(
value
=
"瓶体未出现鼓包变形或泄露等严重缺陷
"
)
private
Integer
defectiv
e
;
@ApiModelProperty
(
value
=
"瓶阀及其与瓶口连接的密封良好
"
)
private
Integer
sealedStat
e
;
@ApiModelProperty
(
value
=
"瓶体温度没有异常升高的迹象
"
)
private
Integer
abnormalTemperatur
e
;
@ApiModelProperty
(
value
=
"瓶体未出现鼓包变形或泄露等严重缺陷
"
)
private
Integer
defectiv
e
;
@ApiModelProperty
(
value
=
"气瓶粘贴警示标签和充装标签
"
)
private
Integer
warningSign
;
@ApiModelProperty
(
value
=
"瓶体温度没有异常升高的迹象
"
)
private
Integer
abnormalTemperature
;
@ApiModelProperty
(
value
=
"气瓶粘贴警示标签和充装标签"
)
private
Integer
warningSign
;
}
amos-boot-module/amos-boot-module-api/amos-boot-module-tzs-api/src/main/java/com/yeejoin/amos/boot/module/tzs/flc/api/entity/CylinderFillingDataUnit.java
View file @
6999bdf0
...
...
@@ -23,7 +23,7 @@ public class CylinderFillingDataUnit extends BaseEntity {
private
static
final
long
serialVersionUID
=
1L
;
/**
*
上
月充装量
*
本
月充装量
*/
@TableField
(
"total_sum"
)
private
Double
totalSum
;
...
...
amos-boot-module/amos-boot-module-api/amos-boot-module-tzs-api/src/main/resources/mapper/CylinderFillingRecordMapper.xml
View file @
6999bdf0
...
...
@@ -14,7 +14,7 @@
</select>
<select
id=
"queryListByQueryDto"
resultType=
"java.util.Map"
>
<select
id=
"queryListByQueryDto"
>
SELECT
r.sequence_nbr AS sequenceNbr,
r.filling_unit_name AS fillingUnitName,
...
...
amos-boot-module/amos-boot-module-api/amos-boot-module-tzs-api/src/main/resources/mapper/CylinderInfoMapper.xml
View file @
6999bdf0
...
...
@@ -2,7 +2,6 @@
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper
namespace=
"com.yeejoin.amos.boot.module.tzs.flc.api.mapper.CylinderInfoMapper"
>
<select
id=
"queryNumAndOutOfDateNum"
resultType=
"java.util.Map"
>
SELECT
count( sequence_nbr ) AS cylinderNum,
...
...
@@ -21,22 +20,22 @@
)
</select>
<select
id=
"getLastMonthInfoTotal"
resultType=
"java.lang.Integer"
>
select IFNULL(count(sequence_nbr), 0) from tz_cylinder_info where PERIOD_DIFF( date_format( now( ) , '%Y%m' ) , date_format( sync_date, '%Y%m' ) ) =1 AND app_id in (
<sql
id=
"selectAPPIdByRegionCode"
>
select u.app_id from tz_cylinder_unit u where u.region_code like CONCAT('%',#{regionCode},'%')
)
</sql>
<select
id=
"getLastMonthInfoTotal"
resultType=
"java.lang.Integer"
>
select IFNULL(count(sequence_nbr), 0) from tz_cylinder_info where PERIOD_DIFF( date_format( now( ) , '%Y%m' ) ,
date_format( sync_date, '%Y%m' ) ) =1 AND app_id in (
<include
refid=
"selectAPPIdByRegionCode"
/>
)
</select>
<select
id=
"getMonthBeforeLastInfoTotal"
resultType=
"java.lang.Integer"
>
select IFNULL(count(sequence_nbr), 0) from tz_cylinder_info where PERIOD_DIFF( date_format( now( ) , '%Y%m' ) , date_format( sync_date, '%Y%m' ) ) =2 AND app_id in (
select u.app_id from tz_cylinder_unit u where u.region_code like CONCAT('%',#{regionCode},'%')
)
select IFNULL(count(sequence_nbr), 0) from tz_cylinder_info where PERIOD_DIFF( date_format( now( ) , '%Y%m' ) ,
date_format( sync_date, '%Y%m' ) ) =2 AND app_id in (
<include
refid=
"selectAPPIdByRegionCode"
/>
)
</select>
<select
id=
"getInfoTotalByRegionCode"
resultType=
"java.lang.Integer"
>
select count(sequence_nbr) from tz_cylinder_info where app_id in (
select u.app_id from tz_cylinder_unit u where u.region_code like CONCAT('%',#{regionCode},'%')
)
select count(sequence_nbr) from tz_cylinder_info where app_id in (
<include
refid=
"selectAPPIdByRegionCode"
/>
)
</select>
<select
id=
"queryIntegirtyByAppId"
resultType=
"java.lang.Double"
>
...
...
@@ -44,9 +43,7 @@
</select>
<select
id=
"getWarnNum"
resultType=
"java.lang.Integer"
>
select count(1) from view_cylider_outofdate v where v.app_id in (
select u.app_id from tz_cylinder_unit u where u.region_code like CONCAT('%',#{regionCode},'%')
)
select count(1) from view_cylider_outofdate v where v.app_id in (
<include
refid=
"selectAPPIdByRegionCode"
/>
)
</select>
<select
id=
"getLastMonthInfoTotalUnit"
resultType=
"java.lang.Integer"
>
...
...
amos-boot-module/amos-boot-module-biz/amos-boot-module-equip-biz/src/main/java/com/yeejoin/equipmanage/service/impl/EquipmentSpecificSerivceImpl.java
View file @
6999bdf0
...
...
@@ -2,14 +2,11 @@ package com.yeejoin.equipmanage.service.impl;
import
com.alibaba.fastjson.JSON
;
import
com.alibaba.fastjson.JSONObject
;
import
com.baomidou.mybatisplus.annotation.FieldStrategy
;
import
com.baomidou.mybatisplus.annotation.TableField
;
import
com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper
;
import
com.baomidou.mybatisplus.core.conditions.query.QueryWrapper
;
import
com.baomidou.mybatisplus.core.conditions.update.LambdaUpdateWrapper
;
import
com.baomidou.mybatisplus.core.metadata.IPage
;
import
com.baomidou.mybatisplus.core.toolkit.Sequence
;
import
com.baomidou.mybatisplus.core.toolkit.StringUtils
;
import
com.baomidou.mybatisplus.extension.plugins.pagination.Page
;
import
com.baomidou.mybatisplus.extension.service.impl.ServiceImpl
;
import
com.google.common.collect.Lists
;
...
...
@@ -1671,6 +1668,7 @@ public class EquipmentSpecificSerivceImpl extends ServiceImpl<EquipmentSpecificM
return
SourcesStatisticsImpl
.
PREFIX_CATEGORY_COUNT
+
row
.
get
(
"bizOrgCode"
).
toString
()
+
"_"
+
SourceTypeEnum
.
EQUIPMENT
.
getCode
()
+
"_"
+
row
.
get
(
"categoryCode"
).
toString
();
}
@Override
public
Boolean
videoOnEquipmentSpecific
(
VideoOnEquipmentSpecificVo
videoOnEquipmentSpecificVo
)
{
Long
equipmentSpecificId
=
videoOnEquipmentSpecificVo
.
getEquipmentSpecificId
();
List
<
Long
>
videoIdList
=
videoOnEquipmentSpecificVo
.
getVideoIdList
();
...
...
amos-boot-module/amos-boot-module-biz/amos-boot-module-tzs-biz/src/main/java/com/yeejoin/amos/boot/module/tzs/flc/biz/controller/CylinderAreaDataController.java
View file @
6999bdf0
package
com
.
yeejoin
.
amos
.
boot
.
module
.
tzs
.
flc
.
biz
.
controller
;
import
org.springframework.web.bind.annotation.RequestMapping
;
import
io.swagger.annotations.ApiOperation
;
import
io.swagger.annotations.Api
;
import
org.springframework.web.bind.annotation.RestController
;
import
com.baomidou.mybatisplus.extension.plugins.pagination.Page
;
import
com.yeejoin.amos.boot.biz.common.controller.BaseController
;
import
java.util.List
;
import
com.yeejoin.amos.boot.module.tzs.flc.api.dto.CylinderAreaDataDto
;
import
com.yeejoin.amos.boot.module.tzs.flc.biz.service.impl.CylinderAreaDataServiceImpl
;
import
org.typroject.tyboot.core.restful.utils.ResponseHelper
;
import
org.typroject.tyboot.core.restful.utils.ResponseModel
;
import
io.swagger.annotations.Api
;
import
io.swagger.annotations.ApiOperation
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
javax.servlet.http.HttpServletRequest
;
import
org.springframework.web.bind.annotation.*
;
import
com.baomidou.mybatisplus.extension.plugins.pagination.Page
;
import
com.yeejoin.amos.boot.module.tzs.flc.api.dto.CylinderAreaDataDto
;
import
org.typroject.tyboot.core.restful.doc.TycloudOperation
;
import
org.typroject.tyboot.core.foundation.enumeration.UserType
;
import
org.typroject.tyboot.core.restful.doc.TycloudOperation
;
import
org.typroject.tyboot.core.restful.utils.ResponseHelper
;
import
org.typroject.tyboot.core.restful.utils.ResponseModel
;
import
java.util.List
;
/**
* 气瓶区域统计表
...
...
@@ -67,7 +65,7 @@ public class CylinderAreaDataController extends BaseController {
@TycloudOperation
(
ApiLevel
=
UserType
.
AGENCY
)
@DeleteMapping
(
value
=
"/{sequenceNbr}"
)
@ApiOperation
(
httpMethod
=
"DELETE"
,
value
=
"根据sequenceNbr删除气瓶区域统计表"
,
notes
=
"根据sequenceNbr删除气瓶区域统计表"
)
public
ResponseModel
<
Boolean
>
deleteBySequenceNbr
(
HttpServletRequest
request
,
@PathVariable
(
value
=
"sequenceNbr"
)
Long
sequenceNbr
){
public
ResponseModel
<
Boolean
>
deleteBySequenceNbr
(
@PathVariable
(
value
=
"sequenceNbr"
)
Long
sequenceNbr
){
return
ResponseHelper
.
buildResponse
(
cylinderAreaDataServiceImpl
.
removeById
(
sequenceNbr
));
}
...
...
amos-boot-module/amos-boot-module-biz/amos-boot-module-tzs-biz/src/main/java/com/yeejoin/amos/boot/module/tzs/flc/biz/controller/CylinderInfoController.java
View file @
6999bdf0
This diff is collapsed.
Click to expand it.
amos-boot-module/amos-boot-module-biz/amos-boot-module-tzs-biz/src/main/java/com/yeejoin/amos/boot/module/tzs/flc/biz/service/impl/CylinderFillingRecordServiceImpl.java
View file @
6999bdf0
package
com
.
yeejoin
.
amos
.
boot
.
module
.
tzs
.
flc
.
biz
.
service
.
impl
;
import
com.alibaba.fastjson.JSONArray
;
import
com.yeejoin.amos.boot.module.tzs.api.dto.AlertCalledQueryDto
;
import
com.baomidou.mybatisplus.extension.plugins.pagination.Page
;
import
com.yeejoin.amos.boot.module.tzs.flc.api.dto.CylinderFillingRecordDto
;
import
com.yeejoin.amos.boot.module.tzs.flc.api.entity.CylinderFillingRecord
;
import
com.yeejoin.amos.boot.module.tzs.flc.api.mapper.CylinderFillingRecordMapper
;
import
com.yeejoin.amos.boot.module.tzs.flc.api.service.ICylinderFillingRecordService
;
import
com.yeejoin.amos.boot.module.tzs.flc.api.dto.CylinderFillingRecordDto
;
import
org.typroject.tyboot.core.rdbms.service.BaseService
;
import
org.springframework.stereotype.Service
;
import
com.baomidou.mybatisplus.extension.plugins.pagination.Pag
e
;
import
org.typroject.tyboot.core.rdbms.service.BaseServic
e
;
import
java.util.Date
;
import
java.util.List
;
...
...
@@ -20,19 +19,19 @@ import java.util.List;
* @date 2022-03-04
*/
@Service
public
class
CylinderFillingRecordServiceImpl
extends
BaseService
<
CylinderFillingRecordDto
,
CylinderFillingRecord
,
CylinderFillingRecordMapper
>
implements
ICylinderFillingRecordService
{
public
class
CylinderFillingRecordServiceImpl
extends
BaseService
<
CylinderFillingRecordDto
,
CylinderFillingRecord
,
CylinderFillingRecordMapper
>
implements
ICylinderFillingRecordService
{
/**
* 分页查询
*/
public
Page
<
CylinderFillingRecordDto
>
queryForCylinderFillingRecordPage
(
Page
<
CylinderFillingRecordDto
>
page
)
{
public
Page
<
CylinderFillingRecordDto
>
queryForCylinderFillingRecordPage
(
Page
<
CylinderFillingRecordDto
>
page
)
{
return
this
.
queryForPage
(
page
,
null
,
false
);
}
/**
* 列表查询 示例
*/
public
List
<
CylinderFillingRecordDto
>
queryForCylinderFillingRecordList
()
{
return
this
.
queryForList
(
""
,
false
);
public
List
<
CylinderFillingRecordDto
>
queryForCylinderFillingRecordList
()
{
return
this
.
queryForList
(
""
,
false
);
}
public
Double
queryIntegirtyByAppId
(
String
appId
)
{
...
...
@@ -40,31 +39,42 @@ public class CylinderFillingRecordServiceImpl extends BaseService<CylinderFillin
}
public
Double
getFillingSum
(
String
r
,
Date
time
)
{
return
this
.
baseMapper
.
getFillingSum
(
r
,
time
);
return
this
.
baseMapper
.
getFillingSum
(
r
,
time
);
}
public
Page
<
CylinderFillingRecordDto
>
queryListByQueryDto
(
Page
<
CylinderFillingRecordDto
>
page
,
CylinderFillingRecordDto
cylinderFillingRecordDto
,
String
sortParam
,
String
sortRule
)
{
Page
<
List
<
CylinderFillingRecordDto
>>
list
=
this
.
baseMapper
.
queryListByQueryDto
(
page
,
cylinderFillingRecordDto
.
getFillingUnitName
(),
cylinderFillingRecordDto
.
getPropertyUnit
(),
cylinderFillingRecordDto
.
getFactoryNum
(),
cylinderFillingRecordDto
.
getCylinderVariety
(),
cylinderFillingRecordDto
.
getQrCode
(),
cylinderFillingRecordDto
.
getElectronicLabelCode
(),
cylinderFillingRecordDto
.
getSequenceCode
(),
cylinderFillingRecordDto
.
getUnitInnerCode
(),
cylinderFillingRecordDto
.
getFillingStarttime
(),
cylinderFillingRecordDto
.
getFillingEndtime
(),
sortParam
,
sortRule
,
cylinderFillingRecordDto
.
getAppId
());
Page
<
List
<
CylinderFillingRecordDto
>>
list
=
this
.
baseMapper
.
queryListByQueryDto
(
page
,
cylinderFillingRecordDto
.
getFillingUnitName
(),
cylinderFillingRecordDto
.
getPropertyUnit
(),
cylinderFillingRecordDto
.
getFactoryNum
(),
cylinderFillingRecordDto
.
getCylinderVariety
(),
cylinderFillingRecordDto
.
getQrCode
(),
cylinderFillingRecordDto
.
getElectronicLabelCode
(),
cylinderFillingRecordDto
.
getSequenceCode
(),
cylinderFillingRecordDto
.
getUnitInnerCode
(),
cylinderFillingRecordDto
.
getFillingStarttime
(),
cylinderFillingRecordDto
.
getFillingEndtime
(),
sortParam
,
sortRule
,
cylinderFillingRecordDto
.
getAppId
()
);
Page
<
CylinderFillingRecordDto
>
page1
=
new
Page
<>();
List
<
CylinderFillingRecordDto
>
resultDtoList
=
JSONArray
.
parseArray
(
JSONArray
.
toJSONString
(
list
.
getRecords
()),
CylinderFillingRecordDto
.
class
);
List
<
CylinderFillingRecordDto
>
resultDtoList
=
JSONArray
.
parseArray
(
JSONArray
.
toJSONString
(
list
.
getRecords
()),
CylinderFillingRecordDto
.
class
);
page1
.
setCurrent
(
page
.
getCurrent
());
page1
.
setSize
(
page
.
getSize
());
page1
.
setTotal
(
list
.
getTotal
());
page1
.
setRecords
(
resultDtoList
);
return
page1
;
return
page1
;
}
public
Double
getFillingSumByMonth
(
String
appId
,
Date
time
)
{
return
baseMapper
.
getFillingSumByMonth
(
appId
,
time
);
return
baseMapper
.
getFillingSumByMonth
(
appId
,
time
);
}
public
Integer
getFillingCountByMonth
(
String
appId
,
Date
time
)
{
return
baseMapper
.
getFillingCountByMonth
(
appId
,
time
);
return
baseMapper
.
getFillingCountByMonth
(
appId
,
time
);
}
public
Double
getFillingSumByDate
(
String
appId
,
Date
time
)
{
return
baseMapper
.
getFillingSumByDate
(
appId
,
time
);
return
baseMapper
.
getFillingSumByDate
(
appId
,
time
);
}
}
\ No newline at end of file
amos-boot-module/amos-boot-module-biz/amos-boot-module-tzs-biz/src/main/java/com/yeejoin/amos/boot/module/tzs/flc/biz/service/impl/CylinderInfoServiceImpl.java
View file @
6999bdf0
This diff is collapsed.
Click to expand it.
pom.xml
View file @
6999bdf0
...
...
@@ -241,17 +241,23 @@
<dependency>
<groupId>
com.baomidou
</groupId>
<artifactId>
mybatis-plus-generator
</artifactId>
<version>
3.
2
.0
</version>
<version>
3.
4
.0
</version>
</dependency>
<dependency>
<groupId>
com.baomidou
</groupId>
<artifactId>
mybatis-plus-boot-starter
</artifactId>
<version>
3.
2
.0
</version>
<version>
3.
4
.0
</version>
</dependency>
<dependency>
<groupId>
org.mybatis.spring.boot
</groupId>
<artifactId>
mybatis-spring-boot-starter
</artifactId>
<version>
2.1.0
</version>
<version>
2.1.2
</version>
<exclusions>
<exclusion>
<groupId>
org.mybatis
</groupId>
<artifactId>
mybatis
</artifactId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>
cn.jpush.api
</groupId>
...
...
@@ -271,28 +277,37 @@
</dependencies>
</dependencyManagement>
<repositories>
<repository>
<id>
Releases
</id>
<name>
Releases
</name>
<url>
http://36.46.149.14:8081/nexus/content/repositories/releases/
</url>
</repository>
<repository>
<id>
Snapshots
</id>
<name>
Snapshots
</name>
<url>
http://36.46.149.14:8081/nexus/content/repositories/snapshots/
</url>
</repository>
<!--<repository>
<id>Releases</id>
<name>Releases</name>
<url>http://4v059425e3.zicp.vip:13535/nexus/content/repositories/releases/</url>
</repository>
<repository>
<id>Snapshots</id>
<name>Snapshots</name>
<url>http://4v059425e3.zicp.vip:13535/nexus/content/repositories/snapshots/</url>
</repository>
<repository>
<id>com.e-iceblue</id>
<name>e-iceblue</name>
<url>https://repo.e-iceblue.com/nexus/content/groups/public/</url>
</repository>-->
<repository>
<id>
Releases
</id>
<name>
Releases
</name>
<url>
http://36.46.149.14:8081/nexus/content/repositories/releases/
</url>
</repository>
<repository>
<id>
Snapshots
</id>
<name>
Snapshots
</name>
<url>
http://36.46.149.14:8081/nexus/content/repositories/snapshots/
</url>
</repository>
</repositories>
<modules>
<module>
amos-boot-module
</module>
<module>
amos-boot-biz-common
</module>
<module>
amos-boot-system-avic
</module>
<module>
amos-boot-system-tzs
</module>
<module>
amos-boot-system-jcs
</module>
<module>
amos-boot-system-knowledgebase
</module>
...
...
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