Browse Source

Merge branch 'dev' into pre-production

master
zhaoqiaobo 7 months ago
parent
commit
69cb075f29
  1. 6
      blade-service/logpm-report/src/main/java/com/logpm/report/mapper/ReportBillLoadingMapper.xml
  2. 54
      blade-service/logpm-report/src/main/java/com/logpm/report/mapper/ReportDeliverMapper.xml
  3. 4
      blade-service/logpm-report/src/main/java/com/logpm/report/vo/BillLoadingDetailsVO.java
  4. 12
      blade-service/logpm-report/src/main/java/com/logpm/report/vo/ReportDetailVO.java

6
blade-service/logpm-report/src/main/java/com/logpm/report/mapper/ReportBillLoadingMapper.xml

@ -12,6 +12,7 @@
packet_bar_code, packet_bar_code,
train_number, train_number,
sign_num, sign_num,
brand,
firsts, firsts,
second, second,
third_product, third_product,
@ -33,6 +34,7 @@
t.packet_bar_code, t.packet_bar_code,
dsa.train_number, dsa.train_number,
1 sign_num, 1 sign_num,
dpl.brand_name brand,
dpl.firsts, dpl.firsts,
dpl.second, dpl.second,
dpl.third_product, dpl.third_product,
@ -62,6 +64,7 @@
packet_bar_code, packet_bar_code,
train_number, train_number,
sign_num, sign_num,
brand,
firsts, firsts,
second, second,
third_product, third_product,
@ -83,6 +86,7 @@
'' packet_bar_code, '' packet_bar_code,
dsa.train_number, dsa.train_number,
1 sign_num, 1 sign_num,
dpl.brand_name brand,
'' firsts, '' firsts,
'' second, '' second,
'' third_product, '' third_product,
@ -113,6 +117,7 @@
packet_bar_code, packet_bar_code,
train_number, train_number,
sign_num, sign_num,
brand,
firsts, firsts,
second, second,
third_product, third_product,
@ -134,6 +139,7 @@
dpl.order_package_code packet_bar_code, dpl.order_package_code packet_bar_code,
dsa.train_number, dsa.train_number,
dbls.quantity sign_num, dbls.quantity sign_num,
dpl.brand_name brand,
dpl.firsts, dpl.firsts,
dpl.second, dpl.second,
dpl.third_product, dpl.third_product,

54
blade-service/logpm-report/src/main/java/com/logpm/report/mapper/ReportDeliverMapper.xml

@ -343,6 +343,9 @@
signing_status, signing_status,
signing_time, signing_time,
sign_num, sign_num,
sign_type,
loading_mode,
brand,
examine_user_name, examine_user_name,
abnormal_signing, abnormal_signing,
abnormal_loading, abnormal_loading,
@ -376,6 +379,7 @@
ldsa.customer_address delivery_address, ldsa.customer_address delivery_address,
wi.consignee consignee, wi.consignee consignee,
1 sign_num, 1 sign_num,
dpl.brand_name brand,
wi.consignee_name consignee_name, wi.consignee_name consignee_name,
wi.consignee_mobile consignee_mobile, wi.consignee_mobile consignee_mobile,
dpl.waybill_number waybill_no, dpl.waybill_number waybill_no,
@ -411,6 +415,26 @@
ldl.scan_user un_administrators_name, ldl.scan_user un_administrators_name,
ldl.signing_time sjsigning_time, ldl.signing_time sjsigning_time,
ldl.signing_user lds_signee_name, ldl.signing_user lds_signee_name,
case when ldl.signfor_type = 1 THEN
'扫描签收'
when ldl.signfor_type = 2 then
'文员签收'
when ldl.signfor_type = 3 then
'一键签收'
else
''
end sign_type,
case when ldl.scan_status = 2 THEN
'扫描装车'
when ldl.scan_status = 3 THEN
'订单装车'
when ldl.scan_status = 4 THEN
'一键装车'
when ldl.scan_status = 5 THEN
'补录装车'
else
''
END loading_mode,
CASE CASE
WHEN lds.signing_status = 1 THEN WHEN lds.signing_status = 1 THEN
@ -457,7 +481,9 @@
where drp.packet_bar_status != 2 where drp.packet_bar_status != 2
and obj.reservation_status != 4 and obj.reservation_status != 4
and obj.id is not null and obj.id is not null
and dpl.id is not null) t and dpl.id is not null
and ldl.scan_status > 1
) t
${ew.customSqlSegment} ${ew.customSqlSegment}
<if test="ew!=null and ew.customSqlSegment !=null and ew.customSqlSegment!=''"> <if test="ew!=null and ew.customSqlSegment !=null and ew.customSqlSegment!=''">
and and
@ -513,6 +539,9 @@
signing_status, signing_status,
signing_time, signing_time,
sign_num, sign_num,
sign_type,
loading_mode,
brand,
examine_user_name, examine_user_name,
abnormal_signing, abnormal_signing,
abnormal_loading, abnormal_loading,
@ -526,6 +555,7 @@
obj.reservation_date task_time, obj.reservation_date task_time,
dpl.warehouse warehouse_name, dpl.warehouse warehouse_name,
dpl.warehouse_id warehouse_id, dpl.warehouse_id warehouse_id,
dpl.brand_name brand,
CASE CASE
WHEN obj.delivery_type = 1 THEN WHEN obj.delivery_type = 1 THEN
'商配' '商配'
@ -580,7 +610,26 @@
ldl.received_quantity sign_num, ldl.received_quantity sign_num,
ldl.scan_time unload_time, ldl.scan_time unload_time,
ldl.scan_user un_administrators_name, ldl.scan_user un_administrators_name,
case when ldl.signfor_type = 1 THEN
'扫描签收'
when ldl.signfor_type = 2 then
'文员签收'
when ldl.signfor_type = 3 then
'一键签收'
else
''
end sign_type,
case when ldl.scan_status = 2 THEN
'扫描装车'
when ldl.scan_status = 3 THEN
'订单装车'
when ldl.scan_status = 4 THEN
'一键装车'
when ldl.scan_status = 5 THEN
'补录装车'
else
''
END loading_mode,
lds.sjsigning_time sjsigning_time, lds.sjsigning_time sjsigning_time,
lds.signee_name lds_signee_name, lds.signee_name lds_signee_name,
CASE CASE
@ -631,6 +680,7 @@
and obj.reservation_status != 4 and obj.reservation_status != 4
and obj.id is not null and obj.id is not null
and dpl.id is not null and dpl.id is not null
and ldl.scan_status > 1
) t ) t
${ew.customSqlSegment} ${ew.customSqlSegment}
<if test="ew!=null and ew.customSqlSegment !=null and ew.customSqlSegment!=''"> <if test="ew!=null and ew.customSqlSegment !=null and ew.customSqlSegment!=''">

4
blade-service/logpm-report/src/main/java/com/logpm/report/vo/BillLoadingDetailsVO.java

@ -25,6 +25,10 @@ public class BillLoadingDetailsVO implements Serializable {
private static final long serialVersionUID = 1L; private static final long serialVersionUID = 1L;
@ApiModelProperty(value = "品牌")
@ExcelProperty("品牌")
private String brand;
@ApiModelProperty(value = "自提批次号") @ApiModelProperty(value = "自提批次号")
@ExcelProperty("自提批次号") @ExcelProperty("自提批次号")
private String pickupBatch; private String pickupBatch;

12
blade-service/logpm-report/src/main/java/com/logpm/report/vo/ReportDetailVO.java

@ -29,6 +29,10 @@ public class ReportDetailVO implements Serializable {
@ExcelProperty("车次") @ExcelProperty("车次")
private String trainNumber; private String trainNumber;
@ApiModelProperty(value = "品牌")
@ExcelProperty("品牌")
private String brand;
@ApiModelProperty(value = "预约单号") @ApiModelProperty(value = "预约单号")
@ExcelProperty("预约单号") @ExcelProperty("预约单号")
private String reservationCode; private String reservationCode;
@ -197,4 +201,12 @@ public class ReportDetailVO implements Serializable {
@ExcelProperty("审核时间") @ExcelProperty("审核时间")
private String auditingTime; private String auditingTime;
@ApiModelProperty(value = "装车方式")
@ExcelProperty("装车方式")
private String loadingMode;
@ApiModelProperty(value = "签收方式")
@ExcelProperty("签收方式")
private String signType;
} }

Loading…
Cancel
Save