Browse Source

已签订单BUG修复

master
汤建军 10 months ago
parent
commit
8ed2635bfd
  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 = "审核人") @ApiModelProperty(value = "审核人")
private String examineUserNames; private String examineUserName;
/** /**
* 最早入库时间 * 最早入库时间
@ -230,6 +230,24 @@ public class DistributionSignforStockArticleVO implements Serializable {
@ApiModelProperty(value = "创建人") @ApiModelProperty(value = "创建人")
private String reservationIds; 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("备货数") @ExcelProperty("备货数")
private Integer stockUpNumber; private Integer stockUpNumber;
/** // /**
* 预约数 // * 预约数
*/ // */
@ColumnWidth(20) // @ColumnWidth(20)
@ExcelProperty("预约数") // @ExcelProperty("预约数")
private Integer reservationNumber; // private Integer reservationNumber;
/** /**
* 订单状态 * 订单状态
@ -183,40 +183,40 @@ public class DistributionSignForStockArticleExcel implements Serializable {
@ExcelProperty("服务类型") @ExcelProperty("服务类型")
private String typeServiceName; private String typeServiceName;
/** // /**
* 预约信息 // * 预约信息
*/ // */
@ColumnWidth(20) // @ColumnWidth(20)
@ExcelProperty("预约信息") // @ExcelProperty("预约信息")
private String reservationInfo; // private String reservationInfo;
/** // /**
* 车次信息 // * 车次信息
*/ // */
@ColumnWidth(20) // @ColumnWidth(20)
@ExcelProperty("车次信息") // @ExcelProperty("车次信息")
private String deliveryListInfo; // private String deliveryListInfo;
/** // /**
* 司机信息 // * 司机信息
*/ // */
@ColumnWidth(20) // @ColumnWidth(20)
@ExcelProperty("司机信息") // @ExcelProperty("司机信息")
private String driverName; // private String driverName;
/** // /**
* 车辆信息 // * 车辆信息
*/ // */
@ColumnWidth(20) // @ColumnWidth(20)
@ExcelProperty("车辆信息") // @ExcelProperty("车辆信息")
private String vehicleName; // private String vehicleName;
/** // /**
* 审核人 // * 审核人
*/ // */
@ColumnWidth(20) // @ColumnWidth(20)
@ExcelProperty("审核人") // @ExcelProperty("审核人")
private String examineUserNames; // private String examineUserNames;
/** /**
* 最早入库时间 * 最早入库时间
@ -253,12 +253,12 @@ public class DistributionSignForStockArticleExcel implements Serializable {
@ExcelProperty("创建人") @ExcelProperty("创建人")
private String createUserName; private String createUserName;
//
/** // /**
* 复核时间 // * 复核时间
*/ // */
@ColumnWidth(20) // @ColumnWidth(20)
@ExcelProperty("复核时间") // @ExcelProperty("复核时间")
private Date signinTime; // 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 id="signforListDetail" resultType="com.logpm.distribution.vo.DistributionSignforStockArticleVO">
SELECT SELECT
ldr.id, ldr.id,
ldr.reservation_code, ldr.reservation_code AS reservationCode,
ldrs.reservation_num, ldrs.reservation_num AS reservationNum,
lds.examine_user_name AS '审核人', lds.examine_user_name AS examineUserName,
lds.signing_time AS '审核时间', lds.signing_time AS signingTime,
lddl.train_number, lddl.train_number AS trainNumber,
lddl.vehicle_name, lddl.vehicle_name AS vehicleName,
lddl.driver_name lddl.driver_name AS driverName
FROM FROM
logpm_distribution_reservation_stockarticle AS ldrs logpm_distribution_reservation_stockarticle AS ldrs
LEFT JOIN logpm_distribution_reservation AS ldr ON ldrs.reservation_id = ldr.id 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()); R<User> userR = userClient.userInfoById(a.getCreateUser());
a.setCreateUserName(userR.getData().getName()); a.setCreateUserName(userR.getData().getName());
} }
DistributionSignForStockArticleExcel stockArticleExcel = BeanUtil.copy(a, DistributionSignForStockArticleExcel.class); DistributionSignForStockArticleExcel stockArticleExcel = BeanUtil.copy(a, DistributionSignForStockArticleExcel.class);
signForStockArticleExcels.add(stockArticleExcel); signForStockArticleExcels.add(stockArticleExcel);
}); });

Loading…
Cancel
Save