第三方产品信息对应字段修改

scpwxyy
yewj 7 months ago
parent 30a8436acd
commit db01797f66

@ -250,12 +250,11 @@ public class CtqyyClient extends CommonHttpClient {
ThrProductsEntity products = new ThrProductsEntity();
products.setCode(dict.getPHYSIC_CODE());
products.setName(dict.getPHYSIC_NAME());
products.setMeasname(dict.getPHYSIC_UNIT());
products.setSpec(dict.getPHYSIC_SPEC());
products.setMeasname(dict.getPACK_UNIT());
products.setSpec(dict.getPACK_SPEC());
products.setYbbm(dict.getCOUNTRY_CODE());
// todo 少了制剂规格,制剂单位 dict.getPHYSIC_SPEC()
// dict.getPHYSIC_UNIT()
// products.setRegisterNo(dict.getPHYSIC_NO());
products.setPrepnSpec(dict.getPHYSIC_SPEC());
products.setPrepnUnit(dict.getPHYSIC_UNIT());
products.setProductType(2);
return products;
}).collect(Collectors.toList());

@ -198,5 +198,16 @@ public class ThrProductsEntity extends Model<ThrProductsEntity> {
@TableField("productType")
private Integer productType;
/**
*
*/
@TableField(value = "prepnSpec")
private String prepnSpec;
/**
*
*/
@TableField(value = "prepnUnit")
private String prepnUnit;
}

Loading…
Cancel
Save