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
7514da46
Commit
7514da46
authored
Dec 11, 2024
by
刘林
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix(ymt):管道工程装置表生成
parent
57ef45bb
Show whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
505 additions
and
0 deletions
+505
-0
IdxBizJgProjectContraptionDto.java
...oot/module/ymt/api/dto/IdxBizJgProjectContraptionDto.java
+115
-0
IdxBizJgProjectContraption.java
...oot/module/ymt/api/entity/IdxBizJgProjectContraption.java
+210
-0
IdxBizJgProjectContraptionMapper.java
...dule/ymt/api/mapper/IdxBizJgProjectContraptionMapper.java
+14
-0
IIdxBizJgProjectContraptionService.java
...e/ymt/api/service/IIdxBizJgProjectContraptionService.java
+11
-0
IdxBizJgProjectContraptionMapper.xml
...ain/resources/mapper/IdxBizJgProjectContraptionMapper.xml
+5
-0
IdxBizJgProjectContraptionController.java
.../biz/controller/IdxBizJgProjectContraptionController.java
+116
-0
IdxBizJgProjectContraptionServiceImpl.java
...z/service/impl/IdxBizJgProjectContraptionServiceImpl.java
+34
-0
No files found.
amos-boot-system-tzs/amos-boot-module-ymt/amos-boot-module-ymt-api/src/main/java/com/yeejoin/amos/boot/module/ymt/api/dto/IdxBizJgProjectContraptionDto.java
0 → 100644
View file @
7514da46
package
com
.
yeejoin
.
amos
.
boot
.
module
.
ymt
.
api
.
dto
;
import
io.swagger.annotations.ApiModel
;
import
io.swagger.annotations.ApiModelProperty
;
import
com.yeejoin.amos.boot.biz.common.dto.BaseDto
;
import
lombok.Data
;
import
lombok.EqualsAndHashCode
;
/**
* 管道工程装置表
*
* @author system_generator
* @date 2024-12-11
*/
@Data
@EqualsAndHashCode
(
callSuper
=
true
)
@ApiModel
(
value
=
"IdxBizJgProjectContraptionDto"
,
description
=
"管道工程装置表"
)
public
class
IdxBizJgProjectContraptionDto
extends
BaseDto
{
private
static
final
long
serialVersionUID
=
1L
;
@ApiModelProperty
(
value
=
"工程装置名称"
)
private
String
projectContraption
;
@ApiModelProperty
(
value
=
"工程装置编号"
)
private
String
projectContraptionNo
;
@ApiModelProperty
(
value
=
"使用单位名称"
)
private
String
useUnitCreditCode
;
@ApiModelProperty
(
value
=
"使用单位统一信用代码"
)
private
String
useUnitName
;
@ApiModelProperty
(
value
=
"施工单位统一信用代码"
)
private
String
uscUnitCreditCode
;
@ApiModelProperty
(
value
=
"施工单位名称"
)
private
String
uscUnitName
;
@ApiModelProperty
(
value
=
"设备种类代码"
)
private
String
equListCode
;
@ApiModelProperty
(
value
=
"设备种类"
)
private
String
equList
;
@ApiModelProperty
(
value
=
"设备类别代码"
)
private
String
equCategoryCode
;
@ApiModelProperty
(
value
=
"设备代码"
)
private
String
equCategory
;
@ApiModelProperty
(
value
=
"设备品种代码"
)
private
String
equDefineCode
;
@ApiModelProperty
(
value
=
"设备品种"
)
private
String
equDefine
;
@ApiModelProperty
(
value
=
"设备汇总表信息"
)
private
String
content
;
@ApiModelProperty
(
value
=
"装置管道总长度(m)"
)
private
Double
pipelineLength
;
@ApiModelProperty
(
value
=
"产品照片附件"
)
private
String
productPhoto
;
@ApiModelProperty
(
value
=
"其他附件"
)
private
String
otherAccessories
;
@ApiModelProperty
(
value
=
"属地监管单位代码"
)
private
String
orgCode
;
@ApiModelProperty
(
value
=
"属地监管单位名称"
)
private
String
orgName
;
@ApiModelProperty
(
value
=
"产品质量合格证明"
)
private
String
productQualificationCertificate
;
@ApiModelProperty
(
value
=
"使用地点代码_省"
)
private
String
province
;
@ApiModelProperty
(
value
=
"使用地点代码_市"
)
private
String
city
;
@ApiModelProperty
(
value
=
"使用地点代码_区(县)"
)
private
String
county
;
@ApiModelProperty
(
value
=
"使用地点代码_街道(镇)"
)
private
String
street
;
@ApiModelProperty
(
value
=
"使用详细地址"
)
private
String
address
;
@ApiModelProperty
(
value
=
"使用地点_省"
)
private
String
provinceName
;
@ApiModelProperty
(
value
=
"使用地点_市"
)
private
String
cityName
;
@ApiModelProperty
(
value
=
"使用地点_区"
)
private
String
countyName
;
@ApiModelProperty
(
value
=
"使用地点_街道"
)
private
String
streetName
;
@ApiModelProperty
(
value
=
"装置起始位置"
)
private
String
startLatitudeLongitude
;
@ApiModelProperty
(
value
=
"装置结束位置"
)
private
String
endLatitudeLongitude
;
@ApiModelProperty
(
value
=
"监管码"
)
private
String
supervisoryCode
;
}
amos-boot-system-tzs/amos-boot-module-ymt/amos-boot-module-ymt-api/src/main/java/com/yeejoin/amos/boot/module/ymt/api/entity/IdxBizJgProjectContraption.java
0 → 100644
View file @
7514da46
package
com
.
yeejoin
.
amos
.
boot
.
module
.
ymt
.
api
.
entity
;
import
com.baomidou.mybatisplus.annotation.TableField
;
import
com.baomidou.mybatisplus.annotation.TableName
;
import
com.yeejoin.amos.boot.biz.common.entity.TzsBaseEntity
;
import
lombok.Data
;
import
lombok.EqualsAndHashCode
;
import
lombok.experimental.Accessors
;
/**
* 管道工程装置表
*
* @author system_generator
* @date 2024-12-11
*/
@Data
@EqualsAndHashCode
(
callSuper
=
true
)
@Accessors
(
chain
=
true
)
@TableName
(
"idx_biz_jg_project_contraption"
)
public
class
IdxBizJgProjectContraption
extends
TzsBaseEntity
{
private
static
final
long
serialVersionUID
=
1L
;
/**
* 工程装置名称
*/
@TableField
(
"project_contraption"
)
private
String
projectContraption
;
/**
* 工程装置编号
*/
@TableField
(
"project_contraption_no"
)
private
String
projectContraptionNo
;
/**
* 使用单位名称
*/
@TableField
(
"use_unit_credit_code"
)
private
String
useUnitCreditCode
;
/**
* 使用单位统一信用代码
*/
@TableField
(
"use_unit_name"
)
private
String
useUnitName
;
/**
* 施工单位统一信用代码
*/
@TableField
(
"usc_unit_credit_code"
)
private
String
uscUnitCreditCode
;
/**
* 施工单位名称
*/
@TableField
(
"usc_unit_name"
)
private
String
uscUnitName
;
/**
* 设备种类代码
*/
@TableField
(
"equ_list_code"
)
private
String
equListCode
;
/**
* 设备种类
*/
@TableField
(
"equ_list"
)
private
String
equList
;
/**
* 设备类别代码
*/
@TableField
(
"equ_category_code"
)
private
String
equCategoryCode
;
/**
* 设备代码
*/
@TableField
(
"equ_category"
)
private
String
equCategory
;
/**
* 设备品种代码
*/
@TableField
(
"equ_define_code"
)
private
String
equDefineCode
;
/**
* 设备品种
*/
@TableField
(
"equ_define"
)
private
String
equDefine
;
/**
* 设备汇总表信息
*/
@TableField
(
"content"
)
private
String
content
;
/**
* 装置管道总长度(m)
*/
@TableField
(
"pipeline_length"
)
private
Double
pipelineLength
;
/**
* 产品照片附件
*/
@TableField
(
"product_photo"
)
private
String
productPhoto
;
/**
* 其他附件
*/
@TableField
(
"other_accessories"
)
private
String
otherAccessories
;
/**
* 属地监管单位代码
*/
@TableField
(
"org_code"
)
private
String
orgCode
;
/**
* 属地监管单位名称
*/
@TableField
(
"org_name"
)
private
String
orgName
;
/**
* 产品质量合格证明
*/
@TableField
(
"product_qualification_certificate"
)
private
String
productQualificationCertificate
;
/**
* 使用地点代码_省
*/
@TableField
(
"province"
)
private
String
province
;
/**
* 使用地点代码_市
*/
@TableField
(
"city"
)
private
String
city
;
/**
* 使用地点代码_区(县)
*/
@TableField
(
"county"
)
private
String
county
;
/**
* 使用地点代码_街道(镇)
*/
@TableField
(
"street"
)
private
String
street
;
/**
* 使用详细地址
*/
@TableField
(
"address"
)
private
String
address
;
/**
* 使用地点_省
*/
@TableField
(
"province_name"
)
private
String
provinceName
;
/**
* 使用地点_市
*/
@TableField
(
"city_name"
)
private
String
cityName
;
/**
* 使用地点_区
*/
@TableField
(
"county_name"
)
private
String
countyName
;
/**
* 使用地点_街道
*/
@TableField
(
"street_name"
)
private
String
streetName
;
/**
* 装置起始位置
*/
@TableField
(
"start_latitude_longitude"
)
private
String
startLatitudeLongitude
;
/**
* 装置结束位置
*/
@TableField
(
"end_latitude_longitude"
)
private
String
endLatitudeLongitude
;
/**
* 监管码
*/
@TableField
(
"supervisory_code"
)
private
String
supervisoryCode
;
}
amos-boot-system-tzs/amos-boot-module-ymt/amos-boot-module-ymt-api/src/main/java/com/yeejoin/amos/boot/module/ymt/api/mapper/IdxBizJgProjectContraptionMapper.java
0 → 100644
View file @
7514da46
package
com
.
yeejoin
.
amos
.
boot
.
module
.
ymt
.
api
.
mapper
;
import
com.yeejoin.amos.boot.module.ymt.api.entity.IdxBizJgProjectContraption
;
import
com.baomidou.mybatisplus.core.mapper.BaseMapper
;
/**
* 管道工程装置表 Mapper 接口
*
* @author system_generator
* @date 2024-12-11
*/
public
interface
IdxBizJgProjectContraptionMapper
extends
BaseMapper
<
IdxBizJgProjectContraption
>
{
}
amos-boot-system-tzs/amos-boot-module-ymt/amos-boot-module-ymt-api/src/main/java/com/yeejoin/amos/boot/module/ymt/api/service/IIdxBizJgProjectContraptionService.java
0 → 100644
View file @
7514da46
package
com
.
yeejoin
.
amos
.
boot
.
module
.
ymt
.
api
.
service
;
/**
* 管道工程装置表接口类
*
* @author system_generator
* @date 2024-12-11
*/
public
interface
IIdxBizJgProjectContraptionService
{
}
amos-boot-system-tzs/amos-boot-module-ymt/amos-boot-module-ymt-api/src/main/resources/mapper/IdxBizJgProjectContraptionMapper.xml
0 → 100644
View file @
7514da46
<?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.ymt.api.mapper.IdxBizJgProjectContraptionMapper"
>
</mapper>
amos-boot-system-tzs/amos-boot-module-ymt/amos-boot-module-ymt-biz/src/main/java/com/yeejoin/amos/boot/module/ymt/biz/controller/IdxBizJgProjectContraptionController.java
0 → 100644
View file @
7514da46
package
com
.
yeejoin
.
amos
.
boot
.
module
.
ymt
.
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.yeejoin.amos.boot.biz.common.controller.BaseController
;
import
java.util.List
;
import
com.yeejoin.amos.boot.module.ymt.biz.service.impl.IdxBizJgProjectContraptionServiceImpl
;
import
org.typroject.tyboot.core.restful.utils.ResponseHelper
;
import
org.typroject.tyboot.core.restful.utils.ResponseModel
;
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.ymt.api.dto.IdxBizJgProjectContraptionDto
;
import
org.typroject.tyboot.core.restful.doc.TycloudOperation
;
import
org.typroject.tyboot.core.foundation.enumeration.UserType
;
/**
* 管道工程装置表
*
* @author system_generator
* @date 2024-12-11
*/
@RestController
@Api
(
tags
=
"管道工程装置表Api"
)
@RequestMapping
(
value
=
"/idx-biz-jg-project-contraption"
)
public
class
IdxBizJgProjectContraptionController
extends
BaseController
{
@Autowired
IdxBizJgProjectContraptionServiceImpl
idxBizJgProjectContraptionServiceImpl
;
/**
* 新增管道工程装置表
*
* @return
*/
@TycloudOperation
(
ApiLevel
=
UserType
.
AGENCY
)
@PostMapping
(
value
=
"/save"
)
@ApiOperation
(
httpMethod
=
"POST"
,
value
=
"新增管道工程装置表"
,
notes
=
"新增管道工程装置表"
)
public
ResponseModel
<
IdxBizJgProjectContraptionDto
>
save
(
@RequestBody
IdxBizJgProjectContraptionDto
model
)
{
model
=
idxBizJgProjectContraptionServiceImpl
.
createWithModel
(
model
);
return
ResponseHelper
.
buildResponse
(
model
);
}
/**
* 根据sequenceNbr更新
*
* @param sequenceNbr 主键
* @return
*/
@TycloudOperation
(
ApiLevel
=
UserType
.
AGENCY
)
@PutMapping
(
value
=
"/{sequenceNbr}"
)
@ApiOperation
(
httpMethod
=
"PUT"
,
value
=
"根据sequenceNbr更新管道工程装置表"
,
notes
=
"根据sequenceNbr更新管道工程装置表"
)
public
ResponseModel
<
IdxBizJgProjectContraptionDto
>
updateBySequenceNbrIdxBizJgProjectContraption
(
@RequestBody
IdxBizJgProjectContraptionDto
model
,
@PathVariable
(
value
=
"sequenceNbr"
)
Long
sequenceNbr
)
{
model
.
setSequenceNbr
(
sequenceNbr
);
return
ResponseHelper
.
buildResponse
(
idxBizJgProjectContraptionServiceImpl
.
updateWithModel
(
model
));
}
/**
* 根据sequenceNbr删除
*
* @param sequenceNbr 主键
* @return
*/
@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
){
return
ResponseHelper
.
buildResponse
(
idxBizJgProjectContraptionServiceImpl
.
removeById
(
sequenceNbr
));
}
/**
* 根据sequenceNbr查询
*
* @param sequenceNbr 主键
* @return
*/
@TycloudOperation
(
ApiLevel
=
UserType
.
AGENCY
)
@GetMapping
(
value
=
"/{sequenceNbr}"
)
@ApiOperation
(
httpMethod
=
"GET"
,
value
=
"根据sequenceNbr查询单个管道工程装置表"
,
notes
=
"根据sequenceNbr查询单个管道工程装置表"
)
public
ResponseModel
<
IdxBizJgProjectContraptionDto
>
selectOne
(
@PathVariable
Long
sequenceNbr
)
{
return
ResponseHelper
.
buildResponse
(
idxBizJgProjectContraptionServiceImpl
.
queryBySeq
(
sequenceNbr
));
}
/**
* 列表分页查询
*
* @param current 当前页
* @param current 每页大小
* @return
*/
@TycloudOperation
(
ApiLevel
=
UserType
.
AGENCY
)
@GetMapping
(
value
=
"/page"
)
@ApiOperation
(
httpMethod
=
"GET"
,
value
=
"管道工程装置表分页查询"
,
notes
=
"管道工程装置表分页查询"
)
public
ResponseModel
<
Page
<
IdxBizJgProjectContraptionDto
>>
queryForPage
(
@RequestParam
(
value
=
"current"
)
int
current
,
@RequestParam
(
value
=
"size"
)
int
size
)
{
Page
<
IdxBizJgProjectContraptionDto
>
page
=
new
Page
<
IdxBizJgProjectContraptionDto
>();
page
.
setCurrent
(
current
);
page
.
setSize
(
size
);
return
ResponseHelper
.
buildResponse
(
idxBizJgProjectContraptionServiceImpl
.
queryForIdxBizJgProjectContraptionPage
(
page
));
}
/**
* 列表全部数据查询
*
* @return
*/
@TycloudOperation
(
ApiLevel
=
UserType
.
AGENCY
)
@ApiOperation
(
httpMethod
=
"GET"
,
value
=
"管道工程装置表列表全部数据查询"
,
notes
=
"管道工程装置表列表全部数据查询"
)
@GetMapping
(
value
=
"/list"
)
public
ResponseModel
<
List
<
IdxBizJgProjectContraptionDto
>>
selectForList
()
{
return
ResponseHelper
.
buildResponse
(
idxBizJgProjectContraptionServiceImpl
.
queryForIdxBizJgProjectContraptionList
());
}
}
amos-boot-system-tzs/amos-boot-module-ymt/amos-boot-module-ymt-biz/src/main/java/com/yeejoin/amos/boot/module/ymt/biz/service/impl/IdxBizJgProjectContraptionServiceImpl.java
0 → 100644
View file @
7514da46
package
com
.
yeejoin
.
amos
.
boot
.
module
.
ymt
.
biz
.
service
.
impl
;
import
com.yeejoin.amos.boot.module.ymt.api.entity.IdxBizJgProjectContraption
;
import
com.yeejoin.amos.boot.module.ymt.api.mapper.IdxBizJgProjectContraptionMapper
;
import
com.yeejoin.amos.boot.module.ymt.api.service.IIdxBizJgProjectContraptionService
;
import
com.yeejoin.amos.boot.module.ymt.api.dto.IdxBizJgProjectContraptionDto
;
import
org.typroject.tyboot.core.rdbms.service.BaseService
;
import
org.springframework.stereotype.Service
;
import
com.baomidou.mybatisplus.extension.plugins.pagination.Page
;
import
java.util.List
;
/**
* 管道工程装置表服务实现类
*
* @author system_generator
* @date 2024-12-11
*/
@Service
public
class
IdxBizJgProjectContraptionServiceImpl
extends
BaseService
<
IdxBizJgProjectContraptionDto
,
IdxBizJgProjectContraption
,
IdxBizJgProjectContraptionMapper
>
implements
IIdxBizJgProjectContraptionService
{
/**
* 分页查询
*/
public
Page
<
IdxBizJgProjectContraptionDto
>
queryForIdxBizJgProjectContraptionPage
(
Page
<
IdxBizJgProjectContraptionDto
>
page
)
{
return
this
.
queryForPage
(
page
,
null
,
false
);
}
/**
* 列表查询 示例
*/
public
List
<
IdxBizJgProjectContraptionDto
>
queryForIdxBizJgProjectContraptionList
()
{
return
this
.
queryForList
(
""
,
false
);
}
}
\ No newline at end of file
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