Merge remote-tracking branch 'origin/feature/REQ-3581' into feature/REQ-3581
This commit is contained in:
commit
246b1ef265
@ -41,7 +41,8 @@ public class UpdateVisaChangeReq {
|
||||
@AllArgsConstructor(access = AccessLevel.PRIVATE)
|
||||
public enum VisaStampAction {
|
||||
|
||||
COMPLETE("完成用印");
|
||||
COMPLETE("完成用印"),
|
||||
CANCEL("取消用印");
|
||||
|
||||
private String desc;
|
||||
}
|
||||
|
||||
@ -171,6 +171,7 @@ public class ChangeRecord extends BaseEntity<ChangeRecord> {
|
||||
|
||||
static {
|
||||
VISA_STAMP_STATUS_ACTION.put(VisaStampStatusEnum.WITH_PRINT, UpdateVisaChangeReq.VisaStampAction.COMPLETE, VisaStampStatusEnum.USED_PRINTS);
|
||||
VISA_STAMP_STATUS_ACTION.put(VisaStampStatusEnum.WITH_PRINT, UpdateVisaChangeReq.VisaStampAction.CANCEL, VisaStampStatusEnum.UNPRINTED);
|
||||
}
|
||||
|
||||
public VisaStampStatusEnum nextStampStatus(UpdateVisaChangeReq.VisaStampAction action) {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user