Commit dd85f1bb by 李小惠

新增type数据结构照片字段

parent 66c605ee
This source diff could not be displayed because it is too large. You can view the blob instead.
...@@ -75,6 +75,7 @@ public class EquipmentSizeDto { ...@@ -75,6 +75,7 @@ public class EquipmentSizeDto {
private Integer state; private Integer state;
private String photo; private String photo;
private String typePhoto;
private String instructions; private String instructions;
......
...@@ -127,6 +127,8 @@ public class EquipmentType implements Serializable { ...@@ -127,6 +127,8 @@ public class EquipmentType implements Serializable {
@ApiModelProperty(value = "单价") @ApiModelProperty(value = "单价")
private BigDecimal price; private BigDecimal price;
private String photo;
......
...@@ -218,7 +218,7 @@ public class InventorySummary implements Serializable { ...@@ -218,7 +218,7 @@ public class InventorySummary implements Serializable {
private Integer property; private Integer property;
@TableField(exist = false) @TableField(exist = false)
private String picture; private String sizePhoto;
private static final long serialVersionUID = 1L; private static final long serialVersionUID = 1L;
......
...@@ -121,7 +121,7 @@ public class InventorySummaryServiceImpl extends ServiceImpl<InventorySummaryMa ...@@ -121,7 +121,7 @@ public class InventorySummaryServiceImpl extends ServiceImpl<InventorySummaryMa
for (InventorySummary is:records) { for (InventorySummary is:records) {
for (EquipmentSize size:equipmentSizeList) { for (EquipmentSize size:equipmentSizeList) {
if (is.getSizeId().equals(size.getId())&& is.getTypeId().equals(size.getTypeId())){ if (is.getSizeId().equals(size.getId())&& is.getTypeId().equals(size.getTypeId())){
is.setPicture(size.getPhoto()); is.setSizePhoto(size.getPhoto());
break; break;
} }
} }
......
...@@ -12,6 +12,8 @@ ...@@ -12,6 +12,8 @@
t2.name AS eqName, t2.name AS eqName,
t1.name AS name, t1.name AS name,
t1.type_id AS typeId, t1.type_id AS typeId,
t1.photo as photo,
t2.photo as typePhoto,
t2.price AS price, t2.price AS price,
t1.code AS code, t1.code AS code,
t3.name AS type3Name, t3.name AS type3Name,
...@@ -48,6 +50,8 @@ ...@@ -48,6 +50,8 @@
eqName, eqName,
name, name,
typeId, typeId,
photo,
typePhoto,
price, price,
code, code,
type3Name, type3Name,
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论