长泰添加异常UDI码,计量单位替换成第三方

dev
anthonywj 1 year ago
parent 973cb80260
commit 6d3e982ec8

@ -1069,7 +1069,7 @@ public class CtqyyClient extends CommonHttpClient {
item.setBillNo(detailBizEntity.getOrderIdFk()); //单据号
item.setRegisterNo(detailBizEntity.getCertCode()); //注册/备案证号
item.setManufactory(basicProducts.getManufactory()); //生产厂家
item.setMeasname(basicProducts.getMeasname()); //计量单位
item.setMeasname(thrProductsEntity.getMeasname()); //计量单位
item.setAllowNoBatch(IntUtil.value(basicProducts.getAllowNoBatch())); //是否允许无批次号
if (StrUtil.isNotEmpty(item.getManufactory())) {
ThrCorpEntity thrCorpEntity = thrCorpService.getThrCorpByName(item.getManufactory());
@ -1204,7 +1204,8 @@ public class CtqyyClient extends CommonHttpClient {
}
String code = codeDetaiEntity.getCode();
if (code.contains("\u001D")) {
code = code.replace("\u001D", "zysoft");
// code = code.replace("\u001D", "zysoft");
code = code.replace("\u001D", "");
}
itemDTO.setCode(code);
itemDTO.setCount(codeDetaiEntity.getCount());

@ -24,6 +24,9 @@ public class IoCodeEntity {
@TableField(value = "code")
private String code;
@TableField(value = "errUdiCode")
private String errUdiCode;
/**
*
*/

@ -24,6 +24,10 @@ public class IoCodeTempEntity {
@TableField(value = "code")
private String code;
@TableField(value = "errUdiCode")
private String errUdiCode;
/**
*
*/
@ -138,4 +142,4 @@ public class IoCodeTempEntity {
@TableField(value = "createTime")
private Date createTime;
}
}

Loading…
Cancel
Save