|
|
|
@ -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);
|
|
|
|
|