@@ -405,8 +405,7 @@ public class WxCpXmlMessage implements Serializable {
405405
406406
407407 @ XStreamAlias ("ApprovalInfo" )
408- private ApprovalInfo approvalInfo =new ApprovalInfo ();
409-
408+ private ApprovalInfo approvalInfo = new ApprovalInfo ();
410409
411410
412411 protected static WxCpXmlMessage fromXml (String xml ) {
@@ -466,7 +465,8 @@ public static class ScanCodeInfo {
466465 }
467466
468467 @ Data
469- public static class ExtAttr {
468+ public static class ExtAttr implements Serializable {
469+ private static final long serialVersionUID = -3418685294606228837L ;
470470
471471 @ XStreamImplicit (itemFieldName = "Item" )
472472 protected final List <Item > items = new ArrayList <>();
@@ -486,7 +486,9 @@ public static class Item {
486486
487487 @ Data
488488 @ XStreamAlias ("SendPicsInfo" )
489- public static class SendPicsInfo {
489+ public static class SendPicsInfo implements Serializable {
490+ private static final long serialVersionUID = -6549728838848064881L ;
491+
490492 @ XStreamAlias ("PicList" )
491493 protected final List <Item > picList = new ArrayList <>();
492494
@@ -504,7 +506,8 @@ public static class Item {
504506
505507 @ Data
506508 @ XStreamAlias ("SendLocationInfo" )
507- public static class SendLocationInfo {
509+ public static class SendLocationInfo implements Serializable {
510+ private static final long serialVersionUID = 6319921071637597406L ;
508511
509512 @ XStreamAlias ("Location_X" )
510513 @ XStreamConverter (value = XStreamCDataConverter .class )
@@ -530,7 +533,8 @@ public static class SendLocationInfo {
530533
531534 @ XStreamAlias ("ApprovalInfo" )
532535 @ Data
533- public static class ApprovalInfo {
536+ public static class ApprovalInfo implements Serializable {
537+ private static final long serialVersionUID = 8136329462880646091L ;
534538
535539 /**
536540 * 审批编号
@@ -551,7 +555,7 @@ public static class ApprovalInfo {
551555 /**
552556 * 审批模板id。
553557 */
554- @ XStreamAlias ("templateId " )
558+ @ XStreamAlias ("TemplateId " )
555559 private String templateId ;
556560 /**
557561 * 审批申请提交时间,Unix时间戳
@@ -563,18 +567,20 @@ public static class ApprovalInfo {
563567 * 申请人信息
564568 */
565569 @ XStreamAlias ("Applyer" )
566- private Applyer applyer ;
570+ private Applier applier ;
567571 /**
568572 * 审批申请单变化类型
569573 */
570574 @ XStreamAlias ("StatuChangeEvent" )
571- private Integer statuChangeEvent ;
575+ private Integer statusChangeEvent ;
572576
573577 @ XStreamAlias ("Applyer" )
574578 @ Data
575- public static class Applyer {
579+ public static class Applier implements Serializable {
580+ private static final long serialVersionUID = -979255011922209018L ;
581+
576582 @ XStreamAlias ("Applyer" )
577- private String UserId ;
583+ private String userId ;
578584 @ XStreamAlias ("Party" )
579585 private String party ;
580586 }
0 commit comments