diff --git a/src/main/java/com/glxp/api/controller/basic/UdiContrastController.java b/src/main/java/com/glxp/api/controller/basic/UdiContrastController.java index 5e3f12b9..6f02c806 100644 --- a/src/main/java/com/glxp/api/controller/basic/UdiContrastController.java +++ b/src/main/java/com/glxp/api/controller/basic/UdiContrastController.java @@ -475,6 +475,7 @@ public class UdiContrastController { udiRelevanceEntity.setModifyTime(new Date()); udiRelevanceService.updateUdiRelevance(udiRelevanceEntity); insertUdiInfos(udiInfoEntities); + udiProductService.updateLevelCount(udiRelevanceEntity); } diff --git a/src/main/java/com/glxp/api/service/basic/UdiContrastService.java b/src/main/java/com/glxp/api/service/basic/UdiContrastService.java index 33466bda..0c348fbd 100644 --- a/src/main/java/com/glxp/api/service/basic/UdiContrastService.java +++ b/src/main/java/com/glxp/api/service/basic/UdiContrastService.java @@ -218,6 +218,7 @@ public class UdiContrastService { udiRelevanceEntity = udiRelevanceService.insertDefaultLevel(udiRelevanceEntity, udiProductEntity); udiRelevanceService.insertUdiRelevance(udiRelevanceEntity); insertUdiInfos(udiInfoEntities); + udiProductService.updateLevelCount(udiRelevanceEntity); } public UdiProductEntity getDiProduct(List udiInfoEntities) { @@ -534,6 +535,7 @@ public class UdiContrastService { udiProductService.insertUdiInfo(udiProductEntity); udiRelevanceEntity = udiRelevanceService.insertDefaultLevel(udiRelevanceEntity, udiProductEntity); udiRelevanceService.insertUdiRelevance(udiRelevanceEntity); + udiProductService.updateLevelCount(udiRelevanceEntity); } } else { //没有医保编码 @@ -633,6 +635,7 @@ public class UdiContrastService { udiRelevanceEntity = udiRelevanceService.insertDefaultLevel(udiRelevanceEntity, udiProductEntity); insertUdiInfos(udiInfoEntities); udiRelevanceService.insertUdiRelevance(udiRelevanceEntity); + udiProductService.updateLevelCount(udiRelevanceEntity); return relId; }