Skip to content

Commit 7be3796

Browse files
SR20290919SR20290919
authored andcommitted
removed commented code
1 parent eef6bb3 commit 7be3796

2 files changed

Lines changed: 2 additions & 5 deletions

File tree

src/main/java/com/iemr/common/data/kmfilemanager/KMFileManager.java

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -110,11 +110,8 @@ public class KMFileManager {
110110
@Transient
111111
@Expose
112112
private Integer categoryID;
113-
// @Transient
114-
// @Expose
115-
// private Integer subCategoryID;
116113

117-
@Column(name = "SubCategoryID") // 🔴 DB-mapped field to associate files with a subcategory
114+
@Column(name = "SubCategoryID")
118115
@Expose
119116
private Integer subCategoryID;
120117
@Transient

src/main/java/com/iemr/common/repository/kmfilemanager/KMFileManagerRepository.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ ArrayList<KMFileManager> getKMFileLists(@Param("providerServiceMapID") Integer p
7575
+ "where kmFileManager.fileUID = :fileUID")
7676
List<Object[]> getFileNameByUID(@Param("fileUID") String fileUID);
7777

78-
//newChange
78+
7979
@Query("SELECT km FROM KMFileManager km WHERE km.subCategoryID = :subCategoryID AND km.deleted = false")
8080
List<KMFileManager> getFilesBySubCategoryID(@Param("subCategoryID") Integer subCategoryID);
8181

0 commit comments

Comments
 (0)