fix:修复导出阳光采购平台追溯码上传数据

dev_unify
chenhc 6 months ago
parent 01d71d4497
commit b552020caa

@ -381,14 +381,14 @@ public class UdiRlSupController extends BaseController {
byUuid.setYbbm(udiProductEntity.getYbbm()); byUuid.setYbbm(udiProductEntity.getYbbm());
byUuid.setManufactory(udiProductEntity.getManufactory()); byUuid.setManufactory(udiProductEntity.getManufactory());
byUuid.setUpdateTime(new Date()); byUuid.setUpdateTime(new Date());
byUuid.setPrice(udiInfoExportRequest.getPrice());
udiProductService.updateUdiInfo(byUuid); udiProductService.updateUdiInfo(byUuid);
} else { } else {
udiProductEntity.setId(IdUtil.getSnowflakeNextId());
byUuid.setPrice(udiInfoExportRequest.getPrice()); udiProductEntity.setId(IdUtil.getSnowflakeNextId());
udiProductService.insertUdiInfo(udiProductEntity); udiProductService.insertUdiInfo(udiProductEntity);
} }
udiProductService.updateLevelCount(udiRelevanceEntity); udiProductService.updateLevelCount(udiRelevanceEntity1);
return ResultVOUtils.success("选入成功!"); return ResultVOUtils.success("选入成功!");
} }

Loading…
Cancel
Save