feat: bug修复

dev_test1.0
chenhc 1 year ago
parent e5ddbd2fd2
commit a48492a3da

@ -1,6 +1,8 @@
package com.glxp.api.res.thrsys;
import cn.hutool.core.util.StrUtil;
import com.baomidou.mybatisplus.annotation.TableField;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
@Data
@ -100,6 +102,15 @@ public class UdiInfoResponse {
private String remark;
private String hslbName;
private String catalogname1;
private String catalogname2;
private String catalogname3;
private String matrial;
public Integer getId() {
return id;
}

@ -170,6 +170,11 @@ public class ThrProductsAddDiService extends ServiceImpl<ThrProductsAddDiDao, Th
udiInfoResponse.setBasicPrductRemak6(thrProductsAddDiEntity.getBasicPrductRemak6());
udiInfoResponse.setBasicPrductRemak7(thrProductsAddDiEntity.getBasicPrductRemak7());
udiInfoResponse.setBasicPrductRemak8(thrProductsAddDiEntity.getBasicPrductRemak8());
udiInfoResponse.setCatalogname1(thrProductsAddDiEntity.getCatalogname1());
udiInfoResponse.setCatalogname2(thrProductsAddDiEntity.getCatalogname2());
udiInfoResponse.setCatalogname3(thrProductsAddDiEntity.getCatalogname3());
udiInfoResponse.setMatrial(thrProductsAddDiEntity.getMatrial());
if (StrUtil.isNotEmpty(thrProductsAddDiEntity.getBasicPrductRemak8())) {
ThrHslbEntity thrHslbEntity = thrHslbMapper.selectOne(new QueryWrapper<ThrHslbEntity>().eq("hsbm", thrProductsAddDiEntity.getBasicPrductRemak8()).last("limit 1"));
udiInfoResponse.setHslbName(thrHslbEntity.getHsmc());

Loading…
Cancel
Save