Skip to content

Commit

Permalink
Added mincode for ease of use.
Browse files Browse the repository at this point in the history
  • Loading branch information
arcshiftsolutions committed Mar 4, 2024
1 parent 3cc6386 commit 8a0623c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ public interface SchoolFundingGroupMapper {
@Mapping(target = "schlNo", source = "schoolFundingGroupEntity.schoolFundingGroupID.schlNo")
@Mapping(target = "fundingGroupCode", source = "schoolFundingGroupEntity.schoolFundingGroupID.fundingGroupCode")
@Mapping(target = "fundingGroupSubCode", source = "schoolFundingGroupEntity.schoolFundingGroupID.fundingGroupSubCode")
@Mapping(target = "mincode", expression = "java(org.apache.commons.lang3.StringUtils.trimToEmpty(schoolFundingGroupEntity.getSchoolFundingGroupID().getDistNo()).concat(org.apache.commons.lang3.StringUtils.trimToEmpty(schoolFundingGroupEntity.getSchoolFundingGroupID().getSchlNo())))")
SchoolFundingGroup toStructure(SchoolFundingGroupEntity schoolFundingGroupEntity);

}
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,8 @@ public class SchoolFundingGroup {
@NotNull(message = "schlNo can not be null.")
private String schlNo;

private String mincode;

private String fundingGroupCode;

private String fundingGroupSubCode;
Expand Down

0 comments on commit 8a0623c

Please sign in to comment.