fix:收费字段

dev_ksck_axxyy
chenhc 5 months ago
parent efee466729
commit 1dd0498ece

@ -233,6 +233,7 @@ public class ThrProductsAddDiController {
udiProductEntity.setCatalogname3(thrProductsAddDiEntity.getCatalogname3());
udiProductEntity.setMatrial(thrProductsAddDiEntity.getMatrial());
udiProductEntity.setDiType(1);
udiProductEntity.setRequireCost(thrProductsAddDiEntity.getRequireCost());
BeanUtil.copyProperties(udiProductEntity, udiRelevanceEntity);
udiRelevanceEntity.setGroupBuy(thrProductsAddDiEntity.getGroupBuy());
@ -330,6 +331,7 @@ public class ThrProductsAddDiController {
udiRelevanceEntity.setPurType(thrProductsAddDiResponse.getPurType());
udiRelevanceEntity.setAttributeType(thrProductsAddDiResponse.getAttributeType());
udiRelevanceEntity.setHcType(thrProductsAddDiResponse.getHcType());
udiProductEntity.setRequireCost(thrProductsAddDiEntity.getRequireCost());
String flbm = thrProductsAddDiResponse.getFlbm();
//是否需要扫码 初始化

@ -409,4 +409,11 @@ public class ThrProductsAddDiEntity {
@TableField(value = "internalMaterialCode")
@ApiModelProperty(value = "'内部物资编码'")
private String internalMaterialCode;
/**
* 10
*/
@TableField(exist = false)
private Integer requireCost;
}

@ -61,4 +61,6 @@ public class ThrProductsAddDiResponse extends ThrProductsAddDiEntity {
@TableField(value = "internalMaterialCode")
@ApiModelProperty(value = "'内部物资编码'")
private String internalMaterialCode;
private Integer requireCost = 0;
}

@ -111,6 +111,8 @@ public class UdiInfoResponse {
private String matrial;
private Boolean isStack;
private Integer requireCost;
public Integer getId() {
return id;
}

@ -199,6 +199,7 @@ public class ThrProductsAddDiService extends ServiceImpl<ThrProductsAddDiDao, Th
udiInfoResponse.setCatalogname2(thrProductsAddDiEntity.getCatalogname2());
udiInfoResponse.setCatalogname3(thrProductsAddDiEntity.getCatalogname3());
udiInfoResponse.setMatrial(thrProductsAddDiEntity.getMatrial());
udiInfoResponse.setRequireCost(0);
if (StrUtil.isNotEmpty(thrProductsAddDiEntity.getBasicPrductRemak8())) {
ThrHslbEntity thrHslbEntity = thrHslbMapper.selectOne(new QueryWrapper<ThrHslbEntity>().eq("hsbm", thrProductsAddDiEntity.getBasicPrductRemak8()).last("limit 1"));

Loading…
Cancel
Save