feat: 多码融合

dev_unify
chenhc 5 months ago
parent bfa841ffa7
commit e4350529f1

@ -400,14 +400,14 @@ public class UdiRelevanceController extends BaseController {
try {
CodeRel codeRel = new CodeRel();
if(udiProductEntity.getProductsType() == 1){
codeRel.setDinamecode(udiProductEntity.getNameCode());
codeRel.setDiNameCode(udiProductEntity.getNameCode());
}else {
codeRel.setDrugcode(udiProductEntity.getNameCode());
codeRel.setDrugCode(udiProductEntity.getNameCode());
}
codeRel.setYbbm(udiProductEntity.getYbbm());
codeRel.setSptm(udiProductEntity.getSptm());
codeRel.setTyshxyh(udiProductEntity.getTyshxydm());
codeRel.setUpdatetime(new Date());
codeRel.setUpdateTime(new Date());
erpBasicClient.updateCodeRelDetail(codeRel);
}catch (Exception e){
System.out.println("上传多码融合:"+e);

@ -310,14 +310,14 @@ public class UdiRlSupController extends BaseController {
try {
CodeRel codeRel = new CodeRel();
if(udiProductEntity.getProductsType() == 1){
codeRel.setDinamecode(udiProductEntity.getNameCode());
codeRel.setDiNameCode(udiProductEntity.getNameCode());
}else {
codeRel.setDrugcode(udiProductEntity.getNameCode());
codeRel.setDrugCode(udiProductEntity.getNameCode());
}
codeRel.setYbbm(udiProductEntity.getYbbm());
codeRel.setSptm(udiProductEntity.getSptm());
codeRel.setTyshxyh(udiProductEntity.getTyshxydm());
codeRel.setUpdatetime(new Date());
codeRel.setUpdateTime(new Date());
erpBasicClient.updateCodeRelDetail(codeRel);
}catch (Exception e){
System.out.println("上传多码融合:"+e);

@ -496,14 +496,14 @@ public class ThrProductsAddDiController {
try {
CodeRel codeRel = new CodeRel();
if(thrProductsAdddiEntity.getProductsType() == 1){
codeRel.setDinamecode(thrProductsAdddiEntity.getNameCode());
codeRel.setDiNameCode(thrProductsAdddiEntity.getNameCode());
}else {
codeRel.setDrugcode(thrProductsAdddiEntity.getNameCode());
codeRel.setDrugCode(thrProductsAdddiEntity.getNameCode());
}
codeRel.setYbbm(thrProductsAdddiEntity.getYbbm());
codeRel.setSptm(thrProductsAdddiEntity.getSptm());
codeRel.setTyshxyh(thrProductsAdddiEntity.getTyshxydm());
codeRel.setUpdatetime(new Date());
codeRel.setUpdateTime(new Date());
erpBasicClient.updateCodeRelDetail(codeRel);
}catch (Exception e){
System.out.println("上传多码融合:"+e);

Loading…
Cancel
Save