探亲bug修复

This commit is contained in:
zhangzhiguo 2025-02-27 17:01:03 +08:00
parent 74d0352ba4
commit 5b6938e397
1 changed files with 6 additions and 2 deletions

View File

@ -110,10 +110,14 @@ public class DailyreimbursVisitCheckOp extends AbstractOperationServicePlugIn {
//总年探亲天数
int visitDays =dynamicObject.getInt("visitDays");
//探望配偶天数
int marriedSpouseDays =dynamicObject.getInt("marriedSpouseDays");
//婚姻状况1已婚2未婚
int marriedStatus =dynamicObject.getInt("marriedStatus");
//探望配偶天数
int marriedSpouseDays = 0;
if(marriedStatus == 1){
marriedSpouseDays = dynamicObject.getInt("marriedSpouseDays");
}
//已婚探望父母年限
int marriedParentsYear =dynamicObject.getInt("marriedParentsYear");
//已婚探望父母次数