master:档口认证的 用户身份证 信息,营业执照信息调优;

pull/1121/head
liujiang 2025-08-27 21:56:24 +08:00
parent f6b1c6e138
commit 3536002b04
4 changed files with 9 additions and 5 deletions

View File

@ -39,6 +39,8 @@ public class StoreSaleSnResVO {
private BigDecimal overPrice;
@ApiModelProperty(value = "标准尺码")
private Integer standard;
@ApiModelProperty(value = "[退货扫码时才有]销售时间")
private String soldTime;
@ApiModelProperty(value = "[退货扫码时才有]优惠后销售单价")
private BigDecimal discountedPrice;
@ApiModelProperty(value = "[退货扫码时才有]销售金额")

View File

@ -1,12 +1,10 @@
package com.ruoyi.xkt.dto.storeProdColorSize;
import com.fasterxml.jackson.annotation.JsonInclude;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;
import java.math.BigDecimal;
import java.util.List;
/**
* @author liujiang
@ -39,6 +37,8 @@ public class StoreSaleSnResDTO {
private BigDecimal overPrice;
@ApiModelProperty(value = "标准尺码")
private Integer standard;
@ApiModelProperty(value = "[退货扫码时才有]销售时间")
private String soldTime;
@ApiModelProperty(value = "[退货扫码时才有]优惠后销售单价")
private BigDecimal discountedPrice;
@ApiModelProperty(value = "[退货扫码时才有]销售金额")

View File

@ -106,8 +106,9 @@ public class StoreCertificateServiceImpl implements IStoreCertificateService {
.in(SysFile::getId, Arrays.asList(storeCert.getIdCardFaceFileId(), storeCert.getIdCardEmblemFileId(), storeCert.getLicenseFileId()))
.eq(SysFile::getDelFlag, Constants.UNDELETED))).orElseThrow(() -> new ServiceException("文件不存在!", HttpStatus.ERROR));
List<StoreCertResDTO.StoreCertFileDTO> fileDTOList = fileList.stream().map(x -> BeanUtil.toBean(x, StoreCertResDTO.StoreCertFileDTO.class)
.setFileType(Objects.equals(x.getId(), storeCert.getIdCardFaceFileId()) ? 4 :
(Objects.equals(x.getId(), storeCert.getIdCardEmblemFileId()) ? 5 : 6))).collect(Collectors.toList());
.setFileType(Objects.equals(x.getId(), storeCert.getIdCardFaceFileId()) ? FileType.ID_CARD_FACE.getValue() :
(Objects.equals(x.getId(), storeCert.getIdCardEmblemFileId()) ? FileType.ID_CARD_EMBLEM.getValue() : FileType.BUSINESS_LICENSE.getValue())))
.collect(Collectors.toList());
return BeanUtil.toBean(storeCert, StoreCertResDTO.class).setStoreCertId(storeCert.getId()).setFileList(fileDTOList);
}

View File

@ -15,7 +15,8 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
ssd.discounted_price,
ssd.quantity,
ssd.amount,
ssd.other_discount
ssd.other_discount,
DATE_FORMAT(ssd.create_time, '(%m.%e出)') AS soldTime,
FROM
store_sale_detail ssd
WHERE