-
Notifications
You must be signed in to change notification settings - Fork 43
Move code from Release 3.4.0 to Main #155
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. Weβll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Changes from 20 commits
25f0908
01b10ca
3051876
4a07458
26a4efd
be97639
bc3076d
5fdfe73
1d33564
5b0c5b4
965c0b7
721c0a5
26f64c7
6b9990f
cdc68f9
9a61653
b5a4fd0
ffd1896
6224913
32b47a0
727dc59
dfcd0cf
7caf8cb
f96cb30
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change | ||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
@@ -25,6 +25,11 @@ | |||||||||||||||||||||||||||||
import java.util.ArrayList; | ||||||||||||||||||||||||||||||
import java.util.List; | ||||||||||||||||||||||||||||||
|
||||||||||||||||||||||||||||||
import com.google.gson.annotations.Expose; | ||||||||||||||||||||||||||||||
import com.iemr.hwc.annotation.sqlInjectionSafe.SQLInjectionSafe; | ||||||||||||||||||||||||||||||
import com.iemr.hwc.data.login.MasterVan; | ||||||||||||||||||||||||||||||
import com.iemr.hwc.data.masterdata.registrar.GenderMaster; | ||||||||||||||||||||||||||||||
|
||||||||||||||||||||||||||||||
import jakarta.persistence.CascadeType; | ||||||||||||||||||||||||||||||
import jakarta.persistence.Column; | ||||||||||||||||||||||||||||||
import jakarta.persistence.Entity; | ||||||||||||||||||||||||||||||
|
@@ -36,11 +41,6 @@ | |||||||||||||||||||||||||||||
import jakarta.persistence.Table; | ||||||||||||||||||||||||||||||
import jakarta.persistence.Transient; | ||||||||||||||||||||||||||||||
|
||||||||||||||||||||||||||||||
import com.google.gson.annotations.Expose; | ||||||||||||||||||||||||||||||
import com.iemr.hwc.annotation.sqlInjectionSafe.SQLInjectionSafe; | ||||||||||||||||||||||||||||||
import com.iemr.hwc.data.login.MasterVan; | ||||||||||||||||||||||||||||||
import com.iemr.hwc.data.masterdata.registrar.GenderMaster; | ||||||||||||||||||||||||||||||
|
||||||||||||||||||||||||||||||
/*** | ||||||||||||||||||||||||||||||
* | ||||||||||||||||||||||||||||||
* @author NE298657 | ||||||||||||||||||||||||||||||
|
@@ -296,6 +296,19 @@ public class BeneficiaryFlowStatus { | |||||||||||||||||||||||||||||
@Column(name = "referred_visit_id") | ||||||||||||||||||||||||||||||
private Long referred_visit_id; | ||||||||||||||||||||||||||||||
|
||||||||||||||||||||||||||||||
|
||||||||||||||||||||||||||||||
@Transient | ||||||||||||||||||||||||||||||
Boolean is_high_risk; | ||||||||||||||||||||||||||||||
|
||||||||||||||||||||||||||||||
|
||||||||||||||||||||||||||||||
public Boolean isIs_high_risk() { | ||||||||||||||||||||||||||||||
return is_high_risk; | ||||||||||||||||||||||||||||||
} | ||||||||||||||||||||||||||||||
|
||||||||||||||||||||||||||||||
public void setIs_high_risk(boolean is_high_risk) { | ||||||||||||||||||||||||||||||
this.is_high_risk = is_high_risk; | ||||||||||||||||||||||||||||||
} | ||||||||||||||||||||||||||||||
Comment on lines
+304
to
+310
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Fix naming convention and method signature issues. The getter method name Apply this diff to fix the naming and type consistency: -public Boolean isIs_high_risk() {
+public Boolean getIs_high_risk() {
return is_high_risk;
}
-public void setIs_high_risk(boolean is_high_risk) {
+public void setIs_high_risk(Boolean is_high_risk) {
this.is_high_risk = is_high_risk;
} π Committable suggestion
Suggested change
π€ Prompt for AI Agents
|
||||||||||||||||||||||||||||||
|
||||||||||||||||||||||||||||||
@Transient | ||||||||||||||||||||||||||||||
private I_bendemographics i_bendemographics; | ||||||||||||||||||||||||||||||
@Transient | ||||||||||||||||||||||||||||||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Improve validation and error handling logic.
The current implementation has several issues:
createdBy
was already validated aboveApply this diff to fix the validation logic:
π Committable suggestion
π€ Prompt for AI Agents