Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
Y
yn-health-science
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
徐俊
yn-health-science
Commits
4ae79e82
Commit
4ae79e82
authored
Dec 16, 2024
by
徐俊
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
xujun
parent
0c2bb490
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
218 additions
and
0 deletions
+218
-0
ComProjectManufactureDAO.java
...ava/com/yiboshi/science/dao/ComProjectManufactureDAO.java
+20
-0
ComProjectManufacture.java
...ava/com/yiboshi/science/entity/ComProjectManufacture.java
+61
-0
ComProjectManufactureDTO.java
...m/yiboshi/science/param/dto/ComProjectManufactureDTO.java
+60
-0
ComProjectManufactureQueryVO.java
...shi/science/param/query/ComProjectManufactureQueryVO.java
+60
-0
ComProjectManufactureDAO.xml
...in/src/main/resources/mapper/ComProjectManufactureDAO.xml
+17
-0
No files found.
science-admin/src/main/java/com/yiboshi/science/dao/ComProjectManufactureDAO.java
0 → 100644
View file @
4ae79e82
package
com
.
yiboshi
.
science
.
dao
;
import
com.baomidou.mybatisplus.core.mapper.BaseMapper
;
import
com.yiboshi.science.base.BaseDAO
;
import
com.yiboshi.science.entity.ComProjectEquipment
;
import
com.yiboshi.science.param.dto.ComProjectEquipmentDTO
;
import
com.yiboshi.science.param.query.ComProjectEquipmentQueryVO
;
import
java.util.List
;
/**
* 试制设备预算明细表 DAO
*
* @author lkl
* @version 2021-08-26
*/
public
interface
ComProjectManufactureDAO
extends
BaseMapper
<
ComProjectEquipment
>,
BaseDAO
<
ComProjectEquipmentQueryVO
,
ComProjectEquipmentDTO
,
ComProjectEquipment
>
{
List
<
ComProjectEquipmentDTO
>
getListByObjectId
(
String
objectId
);
}
\ No newline at end of file
science-admin/src/main/java/com/yiboshi/science/entity/ComProjectManufacture.java
0 → 100644
View file @
4ae79e82
package
com
.
yiboshi
.
science
.
entity
;
import
com.yiboshi.science.base.BaseEntity
;
import
io.swagger.annotations.ApiModel
;
import
io.swagger.annotations.ApiModelProperty
;
import
lombok.Data
;
import
lombok.EqualsAndHashCode
;
import
org.hibernate.validator.constraints.Length
;
import
java.math.BigDecimal
;
/**
* 试制设备预算明细表
*
* @author xujun
* @version 2024-12-16
*/
@Data
@EqualsAndHashCode
(
callSuper
=
true
)
@ApiModel
(
description
=
"试制设备预算明细表"
)
public
class
ComProjectManufacture
extends
BaseEntity
{
@ApiModelProperty
(
value
=
"对象id(项目Id/任务书Id)"
,
position
=
2
)
@Length
(
max
=
36
,
message
=
"对象id(项目Id/任务书Id)不能大于36"
)
private
String
objectId
;
/** 设备仪器名称 */
@ApiModelProperty
(
value
=
"设备仪器名称"
,
position
=
1
)
@Length
(
max
=
100
,
message
=
"设备仪器名称不能大于100"
)
private
String
name
;
/** 功能和技术指标 */
@ApiModelProperty
(
value
=
"功能和技术指标"
,
position
=
1
)
@Length
(
max
=
200
,
message
=
"功能和技术指标不能大于200"
)
private
String
functionTarget
;
/** 单价(万元/台套) */
@ApiModelProperty
(
value
=
"单价(万元/台套)"
,
position
=
3
)
private
BigDecimal
unitPrice
;
/** 数量 */
@ApiModelProperty
(
value
=
"数量"
,
position
=
1
)
private
Integer
quantity
;
/** 金额 */
@ApiModelProperty
(
value
=
"金额"
,
position
=
3
)
private
BigDecimal
totalBudget
;
/** 财政资金 */
@ApiModelProperty
(
value
=
"财政资金"
,
position
=
3
)
private
BigDecimal
fundAmount
;
/** 自筹资金 */
@ApiModelProperty
(
value
=
"自筹资金"
,
position
=
3
)
private
BigDecimal
selfAmount
;
/** 试制单位 */
@ApiModelProperty
(
value
=
"试制单位"
,
position
=
1
)
@Length
(
max
=
100
,
message
=
"试制单位不能大于100"
)
private
String
manufactureUnit
;
/** 安置单位 */
@ApiModelProperty
(
value
=
"安置单位"
,
position
=
1
)
@Length
(
max
=
100
,
message
=
"安置单位不能大于100"
)
private
String
storageUnit
;
}
\ No newline at end of file
science-admin/src/main/java/com/yiboshi/science/param/dto/ComProjectManufactureDTO.java
0 → 100644
View file @
4ae79e82
package
com
.
yiboshi
.
science
.
param
.
dto
;
import
com.yiboshi.science.base.BaseDTO
;
import
io.swagger.annotations.ApiModel
;
import
io.swagger.annotations.ApiModelProperty
;
import
lombok.Data
;
import
lombok.EqualsAndHashCode
;
import
org.hibernate.validator.constraints.Length
;
import
java.math.BigDecimal
;
/**
* 试制设备预算明细表DTO
*
* @author xujun
* @version 2024-12-16
*/
@Data
@EqualsAndHashCode
(
callSuper
=
true
)
@ApiModel
(
description
=
"试制设备预算明细表DTO"
)
public
class
ComProjectManufactureDTO
extends
BaseDTO
{
@ApiModelProperty
(
value
=
"对象id(项目Id/任务书Id)"
,
position
=
2
)
@Length
(
max
=
36
,
message
=
"对象id(项目Id/任务书Id)不能大于36"
)
private
String
objectId
;
/** 设备仪器名称 */
@ApiModelProperty
(
value
=
"设备仪器名称"
,
position
=
1
)
@Length
(
max
=
100
,
message
=
"设备仪器名称不能大于100"
)
private
String
name
;
/** 功能和技术指标 */
@ApiModelProperty
(
value
=
"功能和技术指标"
,
position
=
1
)
@Length
(
max
=
200
,
message
=
"功能和技术指标不能大于200"
)
private
String
functionTarget
;
/** 单价(万元/台套) */
@ApiModelProperty
(
value
=
"单价(万元/台套)"
,
position
=
3
)
private
BigDecimal
unitPrice
;
/** 数量 */
@ApiModelProperty
(
value
=
"数量"
,
position
=
1
)
private
Integer
quantity
;
/** 金额 */
@ApiModelProperty
(
value
=
"金额"
,
position
=
3
)
private
BigDecimal
totalBudget
;
/** 财政资金 */
@ApiModelProperty
(
value
=
"财政资金"
,
position
=
3
)
private
BigDecimal
fundAmount
;
/** 自筹资金 */
@ApiModelProperty
(
value
=
"自筹资金"
,
position
=
3
)
private
BigDecimal
selfAmount
;
/** 试制单位 */
@ApiModelProperty
(
value
=
"试制单位"
,
position
=
1
)
@Length
(
max
=
100
,
message
=
"试制单位不能大于100"
)
private
String
manufactureUnit
;
/** 安置单位 */
@ApiModelProperty
(
value
=
"安置单位"
,
position
=
1
)
@Length
(
max
=
100
,
message
=
"安置单位不能大于100"
)
private
String
storageUnit
;
}
\ No newline at end of file
science-admin/src/main/java/com/yiboshi/science/param/query/ComProjectManufactureQueryVO.java
0 → 100644
View file @
4ae79e82
package
com
.
yiboshi
.
science
.
param
.
query
;
import
com.yiboshi.science.base.PaginationVO
;
import
io.swagger.annotations.ApiModel
;
import
io.swagger.annotations.ApiModelProperty
;
import
lombok.Data
;
import
lombok.EqualsAndHashCode
;
import
org.hibernate.validator.constraints.Length
;
import
java.math.BigDecimal
;
/**
* 试制设备预算明细表VO
*
* @author xujun
* @version 2024-12-16
*/
@Data
@EqualsAndHashCode
(
callSuper
=
true
)
@ApiModel
(
description
=
"试制设备预算明细表VO"
)
public
class
ComProjectManufactureQueryVO
extends
PaginationVO
{
@ApiModelProperty
(
value
=
"对象id(项目Id/任务书Id)"
,
position
=
2
)
@Length
(
max
=
36
,
message
=
"对象id(项目Id/任务书Id)不能大于36"
)
private
String
objectId
;
/** 设备仪器名称 */
@ApiModelProperty
(
value
=
"设备仪器名称"
,
position
=
1
)
@Length
(
max
=
100
,
message
=
"设备仪器名称不能大于100"
)
private
String
name
;
/** 功能和技术指标 */
@ApiModelProperty
(
value
=
"功能和技术指标"
,
position
=
1
)
@Length
(
max
=
200
,
message
=
"功能和技术指标不能大于200"
)
private
String
functionTarget
;
/** 单价(万元/台套) */
@ApiModelProperty
(
value
=
"单价(万元/台套)"
,
position
=
3
)
private
BigDecimal
unitPrice
;
/** 数量 */
@ApiModelProperty
(
value
=
"数量"
,
position
=
1
)
private
Integer
quantity
;
/** 金额 */
@ApiModelProperty
(
value
=
"金额"
,
position
=
3
)
private
BigDecimal
totalBudget
;
/** 财政资金 */
@ApiModelProperty
(
value
=
"财政资金"
,
position
=
3
)
private
BigDecimal
fundAmount
;
/** 自筹资金 */
@ApiModelProperty
(
value
=
"自筹资金"
,
position
=
3
)
private
BigDecimal
selfAmount
;
/** 试制单位 */
@ApiModelProperty
(
value
=
"试制单位"
,
position
=
1
)
@Length
(
max
=
100
,
message
=
"试制单位不能大于100"
)
private
String
manufactureUnit
;
/** 安置单位 */
@ApiModelProperty
(
value
=
"安置单位"
,
position
=
1
)
@Length
(
max
=
100
,
message
=
"安置单位不能大于100"
)
private
String
storageUnit
;
}
\ No newline at end of file
science-admin/src/main/resources/mapper/ComProjectManufactureDAO.xml
0 → 100644
View file @
4ae79e82
<?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.yiboshi.science.dao.ComProjectManufactureDAO"
>
<sql
id=
"allColumns"
>
t.id as id, t.object_id as objectId, t.total_budget as totalBudget, t.gov_budget as govBudget, t.unit_budget as unitBudget, t.remark as remark, t.created as created,
t.updated as updated
</sql>
<select
id=
"getListByObjectId"
parameterType=
"java.lang.String"
resultType=
"com.yiboshi.science.param.dto.ComProjectManufactureDTO"
>
SELECT
a.*
FROM com_project_manufacture a
where object_id=#{objectId} order by created asc
</select>
</mapper>
\ 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