变更打车添加城市字段bug处理

This commit is contained in:
dengwc 2024-03-15 00:53:23 +08:00
parent 82e35245c0
commit b6374b78f2
5 changed files with 26 additions and 39 deletions

View File

@ -9,17 +9,17 @@ import java.time.LocalDateTime;
@Data
@Accessors(chain = true)
public class ANExceedStandardDto {
private String sourceSystemNum;
private String sourceSystem;
private String applicant;
private String applyNo;
private String orderNo;
private String orderType;
private String orderSource;
private String legNo;
private String startPlace;
private String endPlace;
private LocalDateTime startTime;
private LocalDateTime endTime;
private String orderMoney;
private String sourceSystemNum;//来源系统ID
private String sourceSystem;//系统标识
private String applicant;//申请人
private String applyNo;//差旅申请单号
private String orderNo;//商旅订单号
private String orderType;//超标原因
private String orderSource;//订单来源
private String legNo;//行程ID
private String startPlace;//出发地
private String endPlace;//目的地
private LocalDateTime startTime;//开始日期
private LocalDateTime endTime;//结束日期
private String orderMoney;//金额
}

View File

@ -11,10 +11,6 @@ import java.util.List;
@Data
public class BaseChangeDto {
@Autowired
@JsonIgnore
private LegTrip legTrip;
private List<LegNewTrip> JT_FI_CLBGSQ_ITEM_NewTrip;//新增行程信息 是否必填
private List<LegOldTrip> JT_FI_CLBGSQ_ITEM_OldTrip;//原行程信息 是否必填
private List<LegChangeTrip> JT_FI_CLBGSQ_ITEM_ChangeTrip;//变更行程信息 是否必填
@ -23,7 +19,7 @@ public class BaseChangeDto {
if (JT_FI_CLBGSQ_ITEM_NewTrip == null) {
JT_FI_CLBGSQ_ITEM_NewTrip = new ArrayList<>();
}
JT_FI_CLBGSQ_ITEM_NewTrip.add(legTrip.ofLegNewTrip(leg));
JT_FI_CLBGSQ_ITEM_NewTrip.add(new LegTrip().ofLegNewTrip(leg));
return this;
}
@ -31,7 +27,7 @@ public class BaseChangeDto {
if (JT_FI_CLBGSQ_ITEM_OldTrip == null) {
JT_FI_CLBGSQ_ITEM_OldTrip = new ArrayList<>();
}
JT_FI_CLBGSQ_ITEM_OldTrip.add(legTrip.ofLegOldTrip(leg));
JT_FI_CLBGSQ_ITEM_OldTrip.add(new LegTrip().ofLegOldTrip(leg));
return this;
}
@ -39,7 +35,7 @@ public class BaseChangeDto {
if (JT_FI_CLBGSQ_ITEM_ChangeTrip == null) {
JT_FI_CLBGSQ_ITEM_ChangeTrip = new ArrayList<>();
}
JT_FI_CLBGSQ_ITEM_ChangeTrip.add(legTrip.ofLegChangeTrip(leg));
JT_FI_CLBGSQ_ITEM_ChangeTrip.add(new LegTrip().ofLegChangeTrip(leg));
return this;
}
}

View File

@ -16,9 +16,6 @@ import java.util.List;
@Accessors(chain = true)
public class JTH3ChangeDto {
@Autowired
@JsonIgnore
private LegTrip legTrip;
private String StartTime;//出差开始时间 是否必填
private String EndTime;//出差结束时间 是否必填
@ -32,7 +29,7 @@ public class JTH3ChangeDto {
if (JT_FI_CLBGSQ_ITEM_NewTrip == null) {
JT_FI_CLBGSQ_ITEM_NewTrip = new ArrayList<>();
}
JT_FI_CLBGSQ_ITEM_NewTrip.add(legTrip.ofLegNewTrip(leg));
JT_FI_CLBGSQ_ITEM_NewTrip.add(new LegTrip().ofLegNewTrip(leg));
return this;
}
@ -40,7 +37,7 @@ public class JTH3ChangeDto {
if (JT_FI_CLBGSQ_ITEM_OldTrip == null) {
JT_FI_CLBGSQ_ITEM_OldTrip = new ArrayList<>();
}
JT_FI_CLBGSQ_ITEM_OldTrip.add(legTrip.ofLegOldTrip(leg));
JT_FI_CLBGSQ_ITEM_OldTrip.add(new LegTrip().ofLegOldTrip(leg));
return this;
}
@ -48,7 +45,7 @@ public class JTH3ChangeDto {
if (JT_FI_CLBGSQ_ITEM_ChangeTrip == null) {
JT_FI_CLBGSQ_ITEM_ChangeTrip = new ArrayList<>();
}
JT_FI_CLBGSQ_ITEM_ChangeTrip.add(legTrip.ofLegChangeTrip(leg));
JT_FI_CLBGSQ_ITEM_ChangeTrip.add(new LegTrip().ofLegChangeTrip(leg));
return this;
}
}

View File

@ -11,9 +11,6 @@ import java.util.List;
@Data
@Accessors(chain = true)
public class XNChangeDto {
@Autowired
@JsonIgnore
private LegTrip legTrip;
private String StartTime;//出差开始时间 是否必填
private String EndTime;//出差结束时间 是否必填
@ -27,7 +24,7 @@ public class XNChangeDto {
if (XN_AS_CLBGSQ_ITEM_NewTrip == null) {
XN_AS_CLBGSQ_ITEM_NewTrip = new ArrayList<>();
}
XN_AS_CLBGSQ_ITEM_NewTrip.add(legTrip.ofLegNewTrip(leg));
XN_AS_CLBGSQ_ITEM_NewTrip.add(new LegTrip().ofLegNewTrip(leg));
return this;
}
@ -35,7 +32,7 @@ public class XNChangeDto {
if (XN_AS_CLBGSQ_ITEM_OldTrip == null) {
XN_AS_CLBGSQ_ITEM_OldTrip = new ArrayList<>();
}
XN_AS_CLBGSQ_ITEM_OldTrip.add(legTrip.ofLegOldTrip(leg));
XN_AS_CLBGSQ_ITEM_OldTrip.add(new LegTrip().ofLegOldTrip(leg));
return this;
}
@ -43,7 +40,7 @@ public class XNChangeDto {
if (XN_AS_CLBGSQ_ITEM_ChangeTrip == null) {
XN_AS_CLBGSQ_ITEM_ChangeTrip = new ArrayList<>();
}
XN_AS_CLBGSQ_ITEM_ChangeTrip.add(legTrip.ofLegChangeTrip(leg));
XN_AS_CLBGSQ_ITEM_ChangeTrip.add(new LegTrip().ofLegChangeTrip(leg));
return this;
}
}

View File

@ -11,11 +11,8 @@ import java.util.List;
@Data
@Accessors(chain = true)
public class ZWChangeDto{
public class ZWChangeDto {
@Autowired
@JsonIgnore
private LegTrip legTrip;
private String StartTime;//出差开始时间 是否必填
private String EndTime;//出差结束时间 是否必填
@ -28,7 +25,7 @@ public class ZWChangeDto{
if (ZW_AS_CLBGSQ_ITEM_NewTrip == null) {
ZW_AS_CLBGSQ_ITEM_NewTrip = new ArrayList<>();
}
ZW_AS_CLBGSQ_ITEM_NewTrip.add(legTrip.ofLegNewTrip(leg));
ZW_AS_CLBGSQ_ITEM_NewTrip.add(new LegTrip().ofLegNewTrip(leg));
return this;
}
@ -36,7 +33,7 @@ public class ZWChangeDto{
if (ZW_AS_CLBGSQ_ITEM_OldTrip == null) {
ZW_AS_CLBGSQ_ITEM_OldTrip = new ArrayList<>();
}
ZW_AS_CLBGSQ_ITEM_OldTrip.add(legTrip.ofLegOldTrip(leg));
ZW_AS_CLBGSQ_ITEM_OldTrip.add(new LegTrip().ofLegOldTrip(leg));
return this;
}
@ -44,7 +41,7 @@ public class ZWChangeDto{
if (ZW_AS_CLBGSQ_ITEM_ChangeTrip == null) {
ZW_AS_CLBGSQ_ITEM_ChangeTrip = new ArrayList<>();
}
ZW_AS_CLBGSQ_ITEM_ChangeTrip.add(legTrip.ofLegChangeTrip(leg));
ZW_AS_CLBGSQ_ITEM_ChangeTrip.add(new LegTrip().ofLegChangeTrip(leg));
return this;
}
}