|
@ -150,34 +150,32 @@ public class VtbVerificationApplication { |
|
|
BigDecimal lastAmount = currVs.getUsedAmount(); |
|
|
BigDecimal lastAmount = currVs.getUsedAmount(); |
|
|
yardItem.setLastAmount(lastAmount); |
|
|
yardItem.setLastAmount(lastAmount); |
|
|
|
|
|
|
|
|
yardItem.setLastSession(currVs.getCountSession()); |
|
|
|
|
|
yardItem.setCurrSession(currVs.getCountSession()); |
|
|
|
|
|
if(countSession != null){ |
|
|
|
|
|
Integer lastSession = currVs.getCountSession(); |
|
|
Integer lastSession = currVs.getCountSession(); |
|
|
if(!countSession.equals(lastSession)){ |
|
|
|
|
|
yardItem.setLastSession(lastSession); |
|
|
yardItem.setLastSession(lastSession); |
|
|
|
|
|
yardItem.setCurrSession(lastSession); |
|
|
|
|
|
if(countSession != null){ |
|
|
yardItem.setCurrSession(countSession); |
|
|
yardItem.setCurrSession(countSession); |
|
|
|
|
|
if(!countSession.equals(lastSession)){ |
|
|
VtbVerificationSubject verSub4Upd = new VtbVerificationSubject(); |
|
|
VtbVerificationSubject verSub4Upd = new VtbVerificationSubject(); |
|
|
verSub4Upd.setId(currVs.getId()); |
|
|
verSub4Upd.setId(currVs.getId()); |
|
|
verSub4Upd.setCountPerson(countSession); |
|
|
verSub4Upd.setCountSession(countSession); |
|
|
verSubject4Update.add(verSub4Upd); |
|
|
verSubject4Update.add(verSub4Upd); |
|
|
if(lastSession!=null){ |
|
|
if(lastSession!=null){ |
|
|
if(lastSession > countSession){ |
|
|
if(lastSession > countSession){ |
|
|
yardItem.setRemark2("减少场次:"+ (currVs.getCountSession() - countSession)); |
|
|
yardItem.setRemark2("减少场次:"+ (lastSession - countSession)); |
|
|
}else { |
|
|
}else { |
|
|
yardItem.setRemark2("增加场次:"+ (countSession - currVs.getCountSession())); |
|
|
yardItem.setRemark2("增加场次:"+ (countSession - lastSession)); |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
yardItem.setLastSession(currVs.getCountSession()); |
|
|
|
|
|
yardItem.setCurrSession(currVs.getCountSession()); |
|
|
|
|
|
if( countPerson != null ){ |
|
|
|
|
|
Integer lastPerson = currVs.getCountPerson(); |
|
|
Integer lastPerson = currVs.getCountPerson(); |
|
|
if(!countPerson.equals(lastPerson)){ |
|
|
|
|
|
yardItem.setLastPerson(lastPerson); |
|
|
yardItem.setLastPerson(lastPerson); |
|
|
|
|
|
yardItem.setCurrPerson(lastPerson); |
|
|
|
|
|
if( countPerson != null ){ |
|
|
yardItem.setCurrPerson(countPerson); |
|
|
yardItem.setCurrPerson(countPerson); |
|
|
|
|
|
if(!countPerson.equals(lastPerson)){ |
|
|
VtbVerificationSubject verSub4Upd = new VtbVerificationSubject(); |
|
|
VtbVerificationSubject verSub4Upd = new VtbVerificationSubject(); |
|
|
verSub4Upd.setId(currVs.getId()); |
|
|
verSub4Upd.setId(currVs.getId()); |
|
|
verSub4Upd.setCountPerson(countPerson); |
|
|
verSub4Upd.setCountPerson(countPerson); |
|
|