代码备份

panjc_field_management
yewj 8 months ago
parent e03511d6b8
commit e5fd1d64f9

@ -421,14 +421,14 @@ public class UdiRelevanceController extends BaseController {
try { try {
CodeRel codeRel = new CodeRel(); CodeRel codeRel = new CodeRel();
codeRel.setDinamecode(udiProductEntity.getNameCode()); codeRel.setDiNameCode(udiProductEntity.getNameCode());
codeRel.setYbbm(udiProductEntity.getYbbm()); codeRel.setYbbm(udiProductEntity.getYbbm());
codeRel.setSptm(udiProductEntity.getSptm()); codeRel.setSptm(udiProductEntity.getSptm());
codeRel.setTyshxyh(udiProductEntity.getTyshxydm()); codeRel.setTyshxyh(udiProductEntity.getTyshxydm());
codeRel.setUpdatetime(new Date()); codeRel.setUpdateTime(new Date());
spsDirectClient.updateCodeRelDetail(codeRel); spsDirectClient.updateCodeRelDetail(codeRel);
}catch (Exception e){ } catch (Exception e) {
System.out.println("上传多码融合:"+e); System.out.println("上传多码融合:" + e);
} }
return ResultVOUtils.success("更新成功"); return ResultVOUtils.success("更新成功");
} }

@ -319,14 +319,14 @@ public class UdiProductService extends ServiceImpl<UdiProductDao, UdiProductEnti
try { try {
CodeRel codeRel = new CodeRel(); CodeRel codeRel = new CodeRel();
codeRel.setDrugcode(udiProductEntity.getNameCode()); codeRel.setDrugCode(udiProductEntity.getNameCode());
codeRel.setYbbm(udiProductEntity.getYbbm()); codeRel.setYbbm(udiProductEntity.getYbbm());
codeRel.setSptm(udiProductEntity.getSptm()); codeRel.setSptm(udiProductEntity.getSptm());
codeRel.setTyshxyh(udiProductEntity.getTyshxydm()); codeRel.setTyshxyh(udiProductEntity.getTyshxydm());
codeRel.setUpdatetime(new Date()); codeRel.setUpdateTime(new Date());
spsDirectClient.updateCodeRelDetail(codeRel); spsDirectClient.updateCodeRelDetail(codeRel);
}catch (Exception e){ } catch (Exception e) {
System.out.println("上传多码融合:"+e); System.out.println("上传多码融合:" + e);
} }
} }

@ -225,10 +225,10 @@ public class IoAddInoutService {
genOrderDetailCode(orderEntity, codeTempEntity); genOrderDetailCode(orderEntity, codeTempEntity);
} }
} }
if (orderEntity.getFromType().equals(ConstantStatus.FROM_UDISP)){ if (orderEntity.getFromType().equals(ConstantStatus.FROM_UDISP)) {
orderEntity.setStatus(ConstantStatus.ORDER_STATUS_CHECK_REW); orderEntity.setStatus(ConstantStatus.ORDER_STATUS_CHECK_REW);
orderEntity.setDealStatus(ConstantStatus.ORDER_STATUS_CHECK); orderEntity.setDealStatus(ConstantStatus.ORDER_STATUS_CHECK);
}else { } else {
orderEntity.setStatus(ConstantStatus.ORDER_STATUS_CHECK); orderEntity.setStatus(ConstantStatus.ORDER_STATUS_CHECK);
} }
orderEntity.setUpdateTime(new Date()); orderEntity.setUpdateTime(new Date());

Loading…
Cancel
Save