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
5440238c
Commit
5440238c
authored
May 19, 2023
by
lisong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
添加气瓶企业统计以及定时任务统计
parent
f54537bc
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
248 additions
and
0 deletions
+248
-0
CylinderDateInfoDto.java
...amos/boot/module/tzs/flc/api/dto/CylinderDateInfoDto.java
+28
-0
CylinderTableDto.java
...in/amos/boot/module/tzs/flc/api/dto/CylinderTableDto.java
+69
-0
CylinderDateInfo.java
...amos/boot/module/tzs/flc/api/entity/CylinderDateInfo.java
+87
-0
CylinderDateInfoMapper.java
...oot/module/tzs/flc/api/mapper/CylinderDateInfoMapper.java
+11
-0
CylinderDateInfoMapper.xml
...-api/src/main/resources/mapper/CylinderDateInfoMapper.xml
+6
-0
EnterpriseStatisticController.java
...tzs/flc/biz/controller/EnterpriseStatisticController.java
+47
-0
CylinderDateInfoServiceImpl.java
...tzs/flc/biz/service/impl/CylinderDateInfoServiceImpl.java
+0
-0
No files found.
amos-boot-system-tzs/amos-boot-module-tzs-api/src/main/java/com/yeejoin/amos/boot/module/tzs/flc/api/dto/CylinderDateInfoDto.java
0 → 100644
View file @
5440238c
package
com
.
yeejoin
.
amos
.
boot
.
module
.
tzs
.
flc
.
api
.
dto
;
import
lombok.Data
;
import
java.util.Date
;
@Data
public
class
CylinderDateInfoDto
{
/**
*
*/
private
static
final
long
serialVersionUID
=
1L
;
private
Date
SyncDate
;
//同步时间 yyyy-MM-dd HH24:mi:ss
private
String
developerAgency
;
protected
String
appId
;
private
String
unitName
;
private
Integer
cylinderInfo
;
private
Integer
cylinderTagInfo
;
private
Integer
cylinderInspectionInfo
;
private
Integer
cylinderFillingInfo
;
private
Integer
cylinderFillingRecordInfo
;
private
Integer
cylinderFillingCheckInfo
;
private
Integer
cylinderExamineInfo
;
private
Integer
cylinderUnit
;
private
Integer
cylinderTotal
;
}
amos-boot-system-tzs/amos-boot-module-tzs-api/src/main/java/com/yeejoin/amos/boot/module/tzs/flc/api/dto/CylinderTableDto.java
0 → 100644
View file @
5440238c
package
com
.
yeejoin
.
amos
.
boot
.
module
.
tzs
.
flc
.
api
.
dto
;
import
lombok.Data
;
/**
* @author fengwang
* @date 2022/1/24.
*/
@Data
public
class
CylinderTableDto
{
/**
* 企业名称
*/
private
String
unitName
;
/**
* 气瓶企业信息
*/
private
Integer
cylinderUnit
;
/**
* 气瓶基本信息
*/
private
Integer
cylinderInfo
;
/**
* 气瓶标签信息
*/
private
Integer
cylinderTagInfo
;
/**
* 气瓶检验信息
*/
private
Integer
cylinderInspectionInfo
;
/**
* 气瓶充装前检查
*/
private
Integer
cylinderFllingInfo
;
/**
* 气瓶充装信息
*/
private
Integer
cylinderFllingRecordInfo
;
/**
* 充装后复查
*/
private
Integer
cylinderFllingCheckInfo
;
/**
* 气瓶充装信息审核
*/
private
Integer
cylinderExamineInfo
;
/**
* 总量
*/
private
Integer
cylinderTotal
;
/**
* 所属区域
*/
private
String
developerAgency
;
}
amos-boot-system-tzs/amos-boot-module-tzs-api/src/main/java/com/yeejoin/amos/boot/module/tzs/flc/api/entity/CylinderDateInfo.java
0 → 100644
View file @
5440238c
package
com
.
yeejoin
.
amos
.
boot
.
module
.
tzs
.
flc
.
api
.
entity
;
import
com.baomidou.mybatisplus.annotation.TableField
;
import
com.baomidou.mybatisplus.annotation.TableName
;
import
lombok.Data
;
import
lombok.EqualsAndHashCode
;
import
org.typroject.tyboot.core.rdbms.orm.entity.BaseEntity
;
import
java.util.Date
;
/**
* 气瓶基本信息
*
*/
@EqualsAndHashCode
(
callSuper
=
true
)
@Data
@TableName
(
"cylinder_date_info"
)
public
class
CylinderDateInfo
extends
BaseEntity
{
/**
* 同步时间
*/
private
static
final
long
serialVersionUID
=
1L
;
@TableField
(
"sync_date"
)
protected
Date
SyncDate
;
//同步时间 yyyy-MM-dd HH24:mi:ss
/**
* 服务机构-开发机构
*/
@TableField
(
"DEVELOPER_AGENCY"
)
private
String
developerAgency
;
/**
* 对接公司编码
*/
@TableField
(
"app_Id"
)
protected
String
appId
;
/**
* 气瓶企业信息
*/
@TableField
(
"unit_name"
)
private
String
unitName
;
/**
* 气瓶基本信息
*/
@TableField
(
"cylinder_info"
)
private
Integer
cylinderInfo
;
/**
* 气瓶标签信息
*/
@TableField
(
"cylinder_tag_info"
)
private
Integer
cylinderTagInfo
;
/**
* 气瓶检验信息
*/
@TableField
(
"cylinder_inspection_info"
)
private
Integer
cylinderInspectionInfo
;
/**
* 气瓶充装前检查
*/
@TableField
(
"cylinder_filling_info"
)
private
Integer
cylinderFillingInfo
;
/**
* 气瓶充装信息
*/
@TableField
(
"cylinder_filling_record_info"
)
private
Integer
cylinderFillingRecordInfo
;
/**
* 充装后复查
*/
@TableField
(
"cylinder_filling_check_info"
)
private
Integer
cylinderFillingCheckInfo
;
/**
* 气瓶充装信息审核
*/
@TableField
(
"cylinder_examine_info"
)
private
Integer
cylinderExamineInfo
;
/**
* 气瓶充装信息审核
*/
@TableField
(
"cylinder_unit"
)
private
Integer
cylinderUnit
;
/**
* 总量
*/
@TableField
(
"cylinder_total"
)
private
Integer
cylinderTotal
;
}
amos-boot-system-tzs/amos-boot-module-tzs-api/src/main/java/com/yeejoin/amos/boot/module/tzs/flc/api/mapper/CylinderDateInfoMapper.java
0 → 100644
View file @
5440238c
package
com
.
yeejoin
.
amos
.
boot
.
module
.
tzs
.
flc
.
api
.
mapper
;
import
com.baomidou.mybatisplus.core.mapper.BaseMapper
;
import
com.yeejoin.amos.boot.module.tzs.flc.api.entity.CylinderDateInfo
;
public
interface
CylinderDateInfoMapper
extends
BaseMapper
<
CylinderDateInfo
>
{
}
\ No newline at end of file
amos-boot-system-tzs/amos-boot-module-tzs-api/src/main/resources/mapper/CylinderDateInfoMapper.xml
0 → 100644
View file @
5440238c
<?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=
"com.yeejoin.amos.boot.module.tzs.flc.api.mapper.CylinderDateInfoMapper"
>
</mapper>
amos-boot-system-tzs/amos-boot-module-tzs-biz/src/main/java/com/yeejoin/amos/boot/module/tzs/flc/biz/controller/EnterpriseStatisticController.java
0 → 100644
View file @
5440238c
package
com
.
yeejoin
.
amos
.
boot
.
module
.
tzs
.
flc
.
biz
.
controller
;
import
com.baomidou.mybatisplus.extension.plugins.pagination.Page
;
import
com.yeejoin.amos.boot.biz.common.controller.BaseController
;
import
com.yeejoin.amos.boot.module.tzs.flc.api.dto.CylinderTableDto
;
import
com.yeejoin.amos.boot.module.tzs.flc.biz.service.impl.CylinderDateInfoServiceImpl
;
import
io.swagger.annotations.Api
;
import
io.swagger.annotations.ApiOperation
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.web.bind.annotation.GetMapping
;
import
org.springframework.web.bind.annotation.RequestMapping
;
import
org.springframework.web.bind.annotation.RequestParam
;
import
org.springframework.web.bind.annotation.RestController
;
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
;
@RestController
@Api
(
tags
=
"企业气瓶统计Api"
)
@RequestMapping
(
value
=
"/enterpriseStatistic"
)
public
class
EnterpriseStatisticController
extends
BaseController
{
@Autowired
CylinderDateInfoServiceImpl
cylinderDateInfoService
;
@TycloudOperation
(
ApiLevel
=
UserType
.
AGENCY
,
needAuth
=
false
)
@ApiOperation
(
value
=
"根据搜索信息获取表格数据"
)
@GetMapping
(
value
=
"/getTableInfo"
)
public
ResponseModel
<
List
<
CylinderTableDto
>>
cylinderTableInfo
()
{
List
<
CylinderTableDto
>
result
=
cylinderDateInfoService
.
selectTodayDate
();
return
ResponseHelper
.
buildResponse
(
result
);
}
@TycloudOperation
(
ApiLevel
=
UserType
.
AGENCY
,
needAuth
=
false
)
@ApiOperation
(
value
=
"根据搜索信息获取表格数据"
)
@GetMapping
(
value
=
"/getTableInfoPage"
)
public
ResponseModel
<
Page
<
CylinderTableDto
>>
cylinderTableInfoPage
(
String
pageNumber
,
String
pageSize
,
@RequestParam
(
value
=
"developerAgency"
,
required
=
false
)
String
developerAgency
,
@RequestParam
(
value
=
"unitName"
,
required
=
false
)
String
unitName
)
{
Page
<
CylinderTableDto
>
cylinderTableDtoPage
=
cylinderDateInfoService
.
selectTodayDatePage
(
pageNumber
,
pageSize
,
developerAgency
,
unitName
);
return
ResponseHelper
.
buildResponse
(
cylinderTableDtoPage
);
}
}
amos-boot-system-tzs/amos-boot-module-tzs-biz/src/main/java/com/yeejoin/amos/boot/module/tzs/flc/biz/service/impl/CylinderDateInfoServiceImpl.java
0 → 100644
View file @
5440238c
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