Repository navigation
Commit cdc246e
fix: sync beneficiary economicStatus/residentialArea on edit (STOP-444)
Same class of bug as the earlier occupation/community fix, found while
investigating two more fields reported not updating: "type of residential
area" and "socioeconomic status".
Both economicStatus/economicStatusId and residentialArea/residentialAreaId
are real columns on i_beneficiarydetails -- confirmed 100% NULL across
every row in the table, including freshly created ones, meaning no code
path (create or edit) had ever written to them. The app already sends both
values every sync, nested inside i_bendemographics.
residentialArea/residentialAreaId were initially (incorrectly) placed on
RMNCHMBeneficiaryaddress in an earlier pass of this fix -- caught and
corrected by cross-checking against FLW-API's own RMNCHMBeneficiarydetail,
which already declares both fields on i_beneficiarydetails. That mistake
never shipped; caught before this branch was ever restarted with it.
Every field touched across both fix commits (community, occupation,
religion, economicStatus, residentialArea, pinCode, block, district,
village, phone) has now been cross-verified against FLW-API's
independently-built entity model for the same tables, not just assumed.
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>1 parent 5c8b670 commit cdc246e
3 files changed
Lines changed: 59 additions & 3 deletions
File tree
- src/main/java/com/iemr/common/identity
- data/rmnch
- service/rmnch
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
422 | 422 | | |
423 | 423 | | |
424 | 424 | | |
| 425 | + | |
| 426 | + | |
| 427 | + | |
| 428 | + | |
| 429 | + | |
| 430 | + | |
| 431 | + | |
| 432 | + | |
| 433 | + | |
| 434 | + | |
| 435 | + | |
| 436 | + | |
425 | 437 | | |
426 | 438 | | |
427 | 439 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
111 | 111 | | |
112 | 112 | | |
113 | 113 | | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
114 | 132 | | |
115 | 133 | | |
116 | 134 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
223 | 223 | | |
224 | 224 | | |
225 | 225 | | |
226 | | - | |
227 | | - | |
228 | | - | |
| 226 | + | |
229 | 227 | | |
230 | 228 | | |
231 | 229 | | |
| |||
236 | 234 | | |
237 | 235 | | |
238 | 236 | | |
| 237 | + | |
| 238 | + | |
| 239 | + | |
| 240 | + | |
| 241 | + | |
| 242 | + | |
| 243 | + | |
| 244 | + | |
| 245 | + | |
| 246 | + | |
| 247 | + | |
| 248 | + | |
239 | 249 | | |
240 | 250 | | |
241 | 251 | | |
| |||
342 | 352 | | |
343 | 353 | | |
344 | 354 | | |
| 355 | + | |
| 356 | + | |
| 357 | + | |
| 358 | + | |
| 359 | + | |
| 360 | + | |
| 361 | + | |
| 362 | + | |
| 363 | + | |
| 364 | + | |
| 365 | + | |
| 366 | + | |
| 367 | + | |
| 368 | + | |
| 369 | + | |
| 370 | + | |
345 | 371 | | |
346 | 372 | | |
347 | 373 | | |
| |||
0 commit comments