Browse Source

已签订单BUG修复

master
汤建军 7 months ago
parent
commit
b3b36b4aa6
  1. 20
      blade-service-api/logpm-distribution-api/src/main/java/com/logpm/distribution/vo/DistributionSignforStockArticleVO.java
  2. 86
      blade-service/logpm-distribution/src/main/java/com/logpm/distribution/excel/DistributionSignForStockArticleExcel.java
  3. 14
      blade-service/logpm-distribution/src/main/java/com/logpm/distribution/mapper/DistributionStockArticleMapper.xml
  4. 1
      blade-service/logpm-distribution/src/main/java/com/logpm/distribution/service/impl/DistributionStockArticleServiceImpl.java

20
blade-service-api/logpm-distribution-api/src/main/java/com/logpm/distribution/vo/DistributionSignforStockArticleVO.java

@ -192,7 +192,7 @@ public class DistributionSignforStockArticleVO implements Serializable {
* 审核人
*/
@ApiModelProperty(value = "审核人")
private String examineUserNames;
private String examineUserName;
/**
* 最早入库时间
@ -230,6 +230,24 @@ public class DistributionSignforStockArticleVO implements Serializable {
@ApiModelProperty(value = "创建人")
private String reservationIds;
/**
* 预约编码
*/
@ApiModelProperty(value = "预约编码")
private String reservationCode;
/**
* 车次号
*/
@ApiModelProperty(value = "车次号")
private String trainNumber;
/**
* 预约数量
*/
@ApiModelProperty(value = "预约数量")
private Integer reservationNum;
/**
* 创建时间

86
blade-service/logpm-distribution/src/main/java/com/logpm/distribution/excel/DistributionSignForStockArticleExcel.java

@ -141,12 +141,12 @@ public class DistributionSignForStockArticleExcel implements Serializable {
@ExcelProperty("备货数")
private Integer stockUpNumber;
/**
* 预约数
*/
@ColumnWidth(20)
@ExcelProperty("预约数")
private Integer reservationNumber;
// /**
// * 预约数
// */
// @ColumnWidth(20)
// @ExcelProperty("预约数")
// private Integer reservationNumber;
/**
* 订单状态
@ -183,40 +183,40 @@ public class DistributionSignForStockArticleExcel implements Serializable {
@ExcelProperty("服务类型")
private String typeServiceName;
/**
* 预约信息
*/
@ColumnWidth(20)
@ExcelProperty("预约信息")
private String reservationInfo;
// /**
// * 预约信息
// */
// @ColumnWidth(20)
// @ExcelProperty("预约信息")
// private String reservationInfo;
/**
* 车次信息
*/
@ColumnWidth(20)
@ExcelProperty("车次信息")
private String deliveryListInfo;
// /**
// * 车次信息
// */
// @ColumnWidth(20)
// @ExcelProperty("车次信息")
// private String deliveryListInfo;
/**
* 司机信息
*/
@ColumnWidth(20)
@ExcelProperty("司机信息")
private String driverName;
// /**
// * 司机信息
// */
// @ColumnWidth(20)
// @ExcelProperty("司机信息")
// private String driverName;
/**
* 车辆信息
*/
@ColumnWidth(20)
@ExcelProperty("车辆信息")
private String vehicleName;
// /**
// * 车辆信息
// */
// @ColumnWidth(20)
// @ExcelProperty("车辆信息")
// private String vehicleName;
/**
* 审核人
*/
@ColumnWidth(20)
@ExcelProperty("审核人")
private String examineUserNames;
// /**
// * 审核人
// */
// @ColumnWidth(20)
// @ExcelProperty("审核人")
// private String examineUserNames;
/**
* 最早入库时间
@ -253,12 +253,12 @@ public class DistributionSignForStockArticleExcel implements Serializable {
@ExcelProperty("创建人")
private String createUserName;
/**
* 复核时间
*/
@ColumnWidth(20)
@ExcelProperty("复核时间")
private Date signinTime;
//
// /**
// * 复核时间
// */
// @ColumnWidth(20)
// @ExcelProperty("复核时间")
// private Date signinTime;
}

14
blade-service/logpm-distribution/src/main/java/com/logpm/distribution/mapper/DistributionStockArticleMapper.xml

@ -1467,13 +1467,13 @@
<select id="signforListDetail" resultType="com.logpm.distribution.vo.DistributionSignforStockArticleVO">
SELECT
ldr.id,
ldr.reservation_code,
ldrs.reservation_num,
lds.examine_user_name AS '审核人',
lds.signing_time AS '审核时间',
lddl.train_number,
lddl.vehicle_name,
lddl.driver_name
ldr.reservation_code AS reservationCode,
ldrs.reservation_num AS reservationNum,
lds.examine_user_name AS examineUserName,
lds.signing_time AS signingTime,
lddl.train_number AS trainNumber,
lddl.vehicle_name AS vehicleName,
lddl.driver_name AS driverName
FROM
logpm_distribution_reservation_stockarticle AS ldrs
LEFT JOIN logpm_distribution_reservation AS ldr ON ldrs.reservation_id = ldr.id

1
blade-service/logpm-distribution/src/main/java/com/logpm/distribution/service/impl/DistributionStockArticleServiceImpl.java

@ -2636,6 +2636,7 @@ public class DistributionStockArticleServiceImpl extends BaseServiceImpl<Distrib
R<User> userR = userClient.userInfoById(a.getCreateUser());
a.setCreateUserName(userR.getData().getName());
}
DistributionSignForStockArticleExcel stockArticleExcel = BeanUtil.copy(a, DistributionSignForStockArticleExcel.class);
signForStockArticleExcels.add(stockArticleExcel);
});

Loading…
Cancel
Save