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
8e581753
Commit
8e581753
authored
Apr 08, 2022
by
helinlin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改气瓶系统bug
parent
47379ad3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
13 additions
and
1 deletion
+13
-1
CylinderFillingCheckDataUnitDto.java
...dule/tzs/flc/api/dto/CylinderFillingCheckDataUnitDto.java
+4
-0
CylinderFillingCheckDataUnit.java
...dule/tzs/flc/api/entity/CylinderFillingCheckDataUnit.java
+7
-0
CylinderInfoServiceImpl.java
...ule/tzs/flc/biz/service/impl/CylinderInfoServiceImpl.java
+2
-1
No files found.
amos-boot-module/amos-boot-module-api/amos-boot-module-tzs-api/src/main/java/com/yeejoin/amos/boot/module/tzs/flc/api/dto/CylinderFillingCheckDataUnitDto.java
View file @
8e581753
package
com
.
yeejoin
.
amos
.
boot
.
module
.
tzs
.
flc
.
api
.
dto
;
import
com.baomidou.mybatisplus.annotation.TableField
;
import
io.swagger.annotations.ApiModel
;
import
io.swagger.annotations.ApiModelProperty
;
import
com.yeejoin.amos.boot.biz.common.dto.BaseDto
;
...
...
@@ -53,4 +54,7 @@ public class CylinderFillingCheckDataUnitDto extends BaseDto {
@ApiModelProperty
(
value
=
"充装月份"
)
private
String
fillingMonth
;
@ApiModelProperty
(
value
=
"充装年月"
)
private
String
fillingDate
;
}
amos-boot-module/amos-boot-module-api/amos-boot-module-tzs-api/src/main/java/com/yeejoin/amos/boot/module/tzs/flc/api/entity/CylinderFillingCheckDataUnit.java
View file @
8e581753
...
...
@@ -93,4 +93,11 @@ public class CylinderFillingCheckDataUnit extends BaseEntity {
*/
@TableField
(
"filling_month"
)
private
String
fillingMonth
;
//filling_date
/**
* 充装年月
*/
@TableField
(
"filling_date"
)
private
String
fillingDate
;
}
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 @
8e581753
...
...
@@ -456,6 +456,7 @@ public class CylinderInfoServiceImpl extends BaseService<CylinderInfoDto, Cylind
String
monthStr
=
month
<
10
?
"0"
+
month
:
month
+
""
;
temp
.
setFillingMonth
(
monthStr
);
temp
.
setFillingYear
(
year
);
temp
.
setFillingDate
(
year
+
"-"
+
monthStr
);
Integer
countThisMonth
=
cylinderFillingRecordServiceImpl
.
getFillingCountByMonth
(
cylinderUnit
.
getAppId
(),
c
.
getTime
());
temp
.
setTotalSum
((
long
)
countThisMonth
);
// 获取本月数据
...
...
@@ -495,7 +496,7 @@ public class CylinderInfoServiceImpl extends BaseService<CylinderInfoDto, Cylind
}
/**
* 卸液量按单位统计
*
充装量、
卸液量按单位统计
*/
@Transactional
(
rollbackFor
=
Exception
.
class
)
@Scheduled
(
cron
=
"0 0 2 * * ?"
)
...
...
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