编号:ZSSAC-163 描述:删除无用代码
This commit is contained in:
parent
efb8e44a14
commit
778fe88d7c
@ -23,7 +23,8 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|||||||
|
|
||||||
<select id="selectApplyListInfoList" parameterType="ApplyListInfo" resultMap="ApplyListInfoResult">
|
<select id="selectApplyListInfoList" parameterType="ApplyListInfo" resultMap="ApplyListInfoResult">
|
||||||
<include refid="selectApplyListInfoVo"/>
|
<include refid="selectApplyListInfoVo"/>
|
||||||
<where>
|
<where>
|
||||||
|
<if test="appName != null and appName != ''"> and app_name like concat('%', #{appName}, '%')</if>
|
||||||
</where>
|
</where>
|
||||||
</select>
|
</select>
|
||||||
|
|
||||||
|
@ -1,77 +0,0 @@
|
|||||||
package com.sf.common.exception;
|
|
||||||
|
|
||||||
|
|
||||||
import com.sf.common.enums.ErrorCodeTypeEnum;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @author : yswjme@163.com
|
|
||||||
* @Title : BusinessException.java
|
|
||||||
* @Package : com.zsmarter.ai.word.exception
|
|
||||||
* @Descript : 业务运行时异常
|
|
||||||
* @date : 2020-06-29 04:59:44
|
|
||||||
* @vsersion : V1.0
|
|
||||||
*/
|
|
||||||
public class BusinessException extends RuntimeException {
|
|
||||||
|
|
||||||
private static final long serialVersionUID = 4693786499059513760L;
|
|
||||||
|
|
||||||
private ErrorCodeTypeEnum errorCodeTypeEnum;
|
|
||||||
|
|
||||||
private final String errorDescription;
|
|
||||||
|
|
||||||
private String errorCode;
|
|
||||||
|
|
||||||
public BusinessException(String errorDescription) {
|
|
||||||
super(errorDescription);
|
|
||||||
this.errorDescription = errorDescription;
|
|
||||||
}
|
|
||||||
|
|
||||||
public BusinessException(String errorDescription, Throwable t) {
|
|
||||||
super(errorDescription, t);
|
|
||||||
this.errorDescription = errorDescription;
|
|
||||||
}
|
|
||||||
|
|
||||||
public BusinessException(String code, String errorDescription) {
|
|
||||||
super(errorDescription);
|
|
||||||
this.errorDescription = errorDescription;
|
|
||||||
this.errorCode = code;
|
|
||||||
}
|
|
||||||
|
|
||||||
public BusinessException(String code, String errorDescription, Throwable t) {
|
|
||||||
super(errorDescription, t);
|
|
||||||
this.errorDescription = errorDescription;
|
|
||||||
this.errorCode = code;
|
|
||||||
}
|
|
||||||
|
|
||||||
public BusinessException(ErrorCodeTypeEnum errorCodeTypeEnum, String code, String errorDescription) {
|
|
||||||
super(errorDescription);
|
|
||||||
this.errorDescription = errorDescription;
|
|
||||||
this.errorCode = code;
|
|
||||||
this.errorCodeTypeEnum = errorCodeTypeEnum;
|
|
||||||
}
|
|
||||||
|
|
||||||
public BusinessException(ErrorCodeTypeEnum errorCodeTypeEnum, String code, String errorDescription, Throwable t) {
|
|
||||||
super(errorDescription, t);
|
|
||||||
this.errorDescription = errorDescription;
|
|
||||||
this.errorCode = code;
|
|
||||||
this.errorCodeTypeEnum = errorCodeTypeEnum;
|
|
||||||
}
|
|
||||||
|
|
||||||
public String getErrorDescription() {
|
|
||||||
return this.errorDescription;
|
|
||||||
}
|
|
||||||
|
|
||||||
public String getErrorCode() {
|
|
||||||
return errorCode;
|
|
||||||
}
|
|
||||||
|
|
||||||
public String getErrorTitle() {
|
|
||||||
return "业务校验失败!";
|
|
||||||
}
|
|
||||||
|
|
||||||
public ErrorCodeTypeEnum getErrorCodeTypeEnum() {
|
|
||||||
return errorCodeTypeEnum;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
}
|
|
@ -1,34 +0,0 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
|
||||||
<project xmlns="http://maven.apache.org/POM/4.0.0"
|
|
||||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
|
||||||
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
|
|
||||||
<parent>
|
|
||||||
<artifactId>smarterFramework</artifactId>
|
|
||||||
<groupId>com.smarterFramework</groupId>
|
|
||||||
<version>1.0.0</version>
|
|
||||||
</parent>
|
|
||||||
<modelVersion>4.0.0</modelVersion>
|
|
||||||
|
|
||||||
<artifactId>sf-order</artifactId>
|
|
||||||
|
|
||||||
<description>
|
|
||||||
order订单模块
|
|
||||||
</description>
|
|
||||||
|
|
||||||
<dependencies>
|
|
||||||
|
|
||||||
<!-- 通用工具-->
|
|
||||||
<dependency>
|
|
||||||
<groupId>com.smarterFramework</groupId>
|
|
||||||
<artifactId>sf-common</artifactId>
|
|
||||||
</dependency>
|
|
||||||
<dependency>
|
|
||||||
<groupId>io.swagger.core.v3</groupId>
|
|
||||||
<artifactId>swagger-annotations</artifactId>
|
|
||||||
<version>2.1.2</version>
|
|
||||||
<scope>compile</scope>
|
|
||||||
</dependency>
|
|
||||||
|
|
||||||
</dependencies>
|
|
||||||
|
|
||||||
</project>
|
|
@ -1,367 +0,0 @@
|
|||||||
package com.sf.order.domain;
|
|
||||||
|
|
||||||
import com.fasterxml.jackson.annotation.JsonFormat;
|
|
||||||
import com.sf.common.annotation.Excel;
|
|
||||||
import com.sf.common.core.domain.BaseEntity;
|
|
||||||
import org.apache.commons.lang3.builder.ToStringBuilder;
|
|
||||||
import org.apache.commons.lang3.builder.ToStringStyle;
|
|
||||||
|
|
||||||
import java.util.Date;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* 订单基础信息对象 ORDER_INFO
|
|
||||||
*
|
|
||||||
* @author ztzh
|
|
||||||
* @date 2024-04-09
|
|
||||||
*/
|
|
||||||
public class OrderInfo extends BaseEntity {
|
|
||||||
private static final long serialVersionUID = 1L;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* 主键
|
|
||||||
*/
|
|
||||||
private Long id;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* 订单编号
|
|
||||||
*/
|
|
||||||
@Excel(name = "订单编号")
|
|
||||||
private Long orderNo;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* 订单状态:
|
|
||||||
* 0:待支付
|
|
||||||
* 1:已付款
|
|
||||||
* 2:支付超时系统结束
|
|
||||||
* 3:已完成
|
|
||||||
*/
|
|
||||||
@Excel(name = "订单状态: 0:待支付 1:已付款 2:支付超时系统结束 3:已完成 ")
|
|
||||||
private Long orderStatus;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* 支付方式:0-点券 1-现金
|
|
||||||
*/
|
|
||||||
@Excel(name = "支付方式:0-点券 1-现金")
|
|
||||||
private Long payType;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* 支付渠道(支付方式为现金时)
|
|
||||||
* 0:微信
|
|
||||||
* 1:支付宝
|
|
||||||
*/
|
|
||||||
@Excel(name = "支付渠道(支付方式为现金时) 0:微信 1:支付宝")
|
|
||||||
private Long payChannel;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* 订单金额
|
|
||||||
*/
|
|
||||||
@Excel(name = "订单金额")
|
|
||||||
private Long orderAmt;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* 运费
|
|
||||||
*/
|
|
||||||
@Excel(name = "运费")
|
|
||||||
private Long freightAmt;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* 总金额
|
|
||||||
*/
|
|
||||||
@Excel(name = "总金额")
|
|
||||||
private Long payAmt;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* 实际支付金额
|
|
||||||
*/
|
|
||||||
@Excel(name = "实际支付金额")
|
|
||||||
private Long reallyAmt;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* 收件方式
|
|
||||||
* :0-自提
|
|
||||||
* 1-快递 2-配送
|
|
||||||
*/
|
|
||||||
@Excel(name = "收件方式:0-自提 1-快递 2-配送")
|
|
||||||
private Long receiveType;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* 商品Id
|
|
||||||
*/
|
|
||||||
@Excel(name = "商品Id")
|
|
||||||
private Long goodsId;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* 商户Id
|
|
||||||
*/
|
|
||||||
@Excel(name = "商户Id")
|
|
||||||
private Long businessId;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* 收货地址配置Id
|
|
||||||
*/
|
|
||||||
@Excel(name = "收货地址配置Id")
|
|
||||||
private Long receiveAddrId;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* 支付时间
|
|
||||||
*/
|
|
||||||
@JsonFormat(pattern = "yyyy-MM-dd")
|
|
||||||
@Excel(name = "支付时间", width = 30, dateFormat = "yyyy-MM-dd")
|
|
||||||
private Date payTime;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* 订单创建人
|
|
||||||
*/
|
|
||||||
@Excel(name = "订单创建人")
|
|
||||||
private Long createUserId;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* 最后一次更新操作人
|
|
||||||
*/
|
|
||||||
@Excel(name = "最后一次更新操作人")
|
|
||||||
private Long updateUserId;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* 逻辑删除标识
|
|
||||||
* 0:未删除
|
|
||||||
* 1:已删除
|
|
||||||
*/
|
|
||||||
@Excel(name = "逻辑删除标识 0:未删除 1:已删除")
|
|
||||||
private Long isDelete;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* 快递单号
|
|
||||||
*/
|
|
||||||
@Excel(name = "快递单号")
|
|
||||||
private String trackNo;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* 订单类型0:自动1:手动
|
|
||||||
*/
|
|
||||||
@Excel(name = "订单类型0:自动1:手动")
|
|
||||||
private Long orderType;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* 平台外部订单号
|
|
||||||
*/
|
|
||||||
@Excel(name = "平台外部订单号")
|
|
||||||
private Long outOrderNo;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* 平台支付返回值
|
|
||||||
*/
|
|
||||||
@Excel(name = "平台支付返回值")
|
|
||||||
private String payData;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* 减免金额(优惠券抵扣)
|
|
||||||
*/
|
|
||||||
@Excel(name = "减免金额(优惠券抵扣)")
|
|
||||||
private Long reductionAmout;
|
|
||||||
|
|
||||||
public void setId(Long id) {
|
|
||||||
this.id = id;
|
|
||||||
}
|
|
||||||
|
|
||||||
public Long getId() {
|
|
||||||
return id;
|
|
||||||
}
|
|
||||||
|
|
||||||
public void setOrderNo(Long orderNo) {
|
|
||||||
this.orderNo = orderNo;
|
|
||||||
}
|
|
||||||
|
|
||||||
public Long getOrderNo() {
|
|
||||||
return orderNo;
|
|
||||||
}
|
|
||||||
|
|
||||||
public void setOrderStatus(Long orderStatus) {
|
|
||||||
this.orderStatus = orderStatus;
|
|
||||||
}
|
|
||||||
|
|
||||||
public Long getOrderStatus() {
|
|
||||||
return orderStatus;
|
|
||||||
}
|
|
||||||
|
|
||||||
public void setPayType(Long payType) {
|
|
||||||
this.payType = payType;
|
|
||||||
}
|
|
||||||
|
|
||||||
public Long getPayType() {
|
|
||||||
return payType;
|
|
||||||
}
|
|
||||||
|
|
||||||
public void setPayChannel(Long payChannel) {
|
|
||||||
this.payChannel = payChannel;
|
|
||||||
}
|
|
||||||
|
|
||||||
public Long getPayChannel() {
|
|
||||||
return payChannel;
|
|
||||||
}
|
|
||||||
|
|
||||||
public void setOrderAmt(Long orderAmt) {
|
|
||||||
this.orderAmt = orderAmt;
|
|
||||||
}
|
|
||||||
|
|
||||||
public Long getOrderAmt() {
|
|
||||||
return orderAmt;
|
|
||||||
}
|
|
||||||
|
|
||||||
public void setFreightAmt(Long freightAmt) {
|
|
||||||
this.freightAmt = freightAmt;
|
|
||||||
}
|
|
||||||
|
|
||||||
public Long getFreightAmt() {
|
|
||||||
return freightAmt;
|
|
||||||
}
|
|
||||||
|
|
||||||
public void setPayAmt(Long payAmt) {
|
|
||||||
this.payAmt = payAmt;
|
|
||||||
}
|
|
||||||
|
|
||||||
public Long getPayAmt() {
|
|
||||||
return payAmt;
|
|
||||||
}
|
|
||||||
|
|
||||||
public void setReallyAmt(Long reallyAmt) {
|
|
||||||
this.reallyAmt = reallyAmt;
|
|
||||||
}
|
|
||||||
|
|
||||||
public Long getReallyAmt() {
|
|
||||||
return reallyAmt;
|
|
||||||
}
|
|
||||||
|
|
||||||
public void setReceiveType(Long receiveType) {
|
|
||||||
this.receiveType = receiveType;
|
|
||||||
}
|
|
||||||
|
|
||||||
public Long getReceiveType() {
|
|
||||||
return receiveType;
|
|
||||||
}
|
|
||||||
|
|
||||||
public void setGoodsId(Long goodsId) {
|
|
||||||
this.goodsId = goodsId;
|
|
||||||
}
|
|
||||||
|
|
||||||
public Long getGoodsId() {
|
|
||||||
return goodsId;
|
|
||||||
}
|
|
||||||
|
|
||||||
public void setBusinessId(Long businessId) {
|
|
||||||
this.businessId = businessId;
|
|
||||||
}
|
|
||||||
|
|
||||||
public Long getBusinessId() {
|
|
||||||
return businessId;
|
|
||||||
}
|
|
||||||
|
|
||||||
public void setReceiveAddrId(Long receiveAddrId) {
|
|
||||||
this.receiveAddrId = receiveAddrId;
|
|
||||||
}
|
|
||||||
|
|
||||||
public Long getReceiveAddrId() {
|
|
||||||
return receiveAddrId;
|
|
||||||
}
|
|
||||||
|
|
||||||
public void setPayTime(Date payTime) {
|
|
||||||
this.payTime = payTime;
|
|
||||||
}
|
|
||||||
|
|
||||||
public Date getPayTime() {
|
|
||||||
return payTime;
|
|
||||||
}
|
|
||||||
|
|
||||||
public void setCreateUserId(Long createUserId) {
|
|
||||||
this.createUserId = createUserId;
|
|
||||||
}
|
|
||||||
|
|
||||||
public Long getCreateUserId() {
|
|
||||||
return createUserId;
|
|
||||||
}
|
|
||||||
|
|
||||||
public void setUpdateUserId(Long updateUserId) {
|
|
||||||
this.updateUserId = updateUserId;
|
|
||||||
}
|
|
||||||
|
|
||||||
public Long getUpdateUserId() {
|
|
||||||
return updateUserId;
|
|
||||||
}
|
|
||||||
|
|
||||||
public void setIsDelete(Long isDelete) {
|
|
||||||
this.isDelete = isDelete;
|
|
||||||
}
|
|
||||||
|
|
||||||
public Long getIsDelete() {
|
|
||||||
return isDelete;
|
|
||||||
}
|
|
||||||
|
|
||||||
public void setTrackNo(String trackNo) {
|
|
||||||
this.trackNo = trackNo;
|
|
||||||
}
|
|
||||||
|
|
||||||
public String getTrackNo() {
|
|
||||||
return trackNo;
|
|
||||||
}
|
|
||||||
|
|
||||||
public void setOrderType(Long orderType) {
|
|
||||||
this.orderType = orderType;
|
|
||||||
}
|
|
||||||
|
|
||||||
public Long getOrderType() {
|
|
||||||
return orderType;
|
|
||||||
}
|
|
||||||
|
|
||||||
public void setOutOrderNo(Long outOrderNo) {
|
|
||||||
this.outOrderNo = outOrderNo;
|
|
||||||
}
|
|
||||||
|
|
||||||
public Long getOutOrderNo() {
|
|
||||||
return outOrderNo;
|
|
||||||
}
|
|
||||||
|
|
||||||
public void setPayData(String payData) {
|
|
||||||
this.payData = payData;
|
|
||||||
}
|
|
||||||
|
|
||||||
public String getPayData() {
|
|
||||||
return payData;
|
|
||||||
}
|
|
||||||
|
|
||||||
public void setReductionAmout(Long reductionAmout) {
|
|
||||||
this.reductionAmout = reductionAmout;
|
|
||||||
}
|
|
||||||
|
|
||||||
public Long getReductionAmout() {
|
|
||||||
return reductionAmout;
|
|
||||||
}
|
|
||||||
|
|
||||||
@Override
|
|
||||||
public String toString() {
|
|
||||||
return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
|
|
||||||
.append("id", getId())
|
|
||||||
.append("orderNo", getOrderNo())
|
|
||||||
.append("orderStatus", getOrderStatus())
|
|
||||||
.append("payType", getPayType())
|
|
||||||
.append("payChannel", getPayChannel())
|
|
||||||
.append("orderAmt", getOrderAmt())
|
|
||||||
.append("freightAmt", getFreightAmt())
|
|
||||||
.append("payAmt", getPayAmt())
|
|
||||||
.append("reallyAmt", getReallyAmt())
|
|
||||||
.append("receiveType", getReceiveType())
|
|
||||||
.append("goodsId", getGoodsId())
|
|
||||||
.append("businessId", getBusinessId())
|
|
||||||
.append("receiveAddrId", getReceiveAddrId())
|
|
||||||
.append("createTime", getCreateTime())
|
|
||||||
.append("payTime", getPayTime())
|
|
||||||
.append("createUserId", getCreateUserId())
|
|
||||||
.append("updateUserId", getUpdateUserId())
|
|
||||||
.append("isDelete", getIsDelete())
|
|
||||||
.append("updateTime", getUpdateTime())
|
|
||||||
.append("trackNo", getTrackNo())
|
|
||||||
.append("orderType", getOrderType())
|
|
||||||
.append("outOrderNo", getOutOrderNo())
|
|
||||||
.append("payData", getPayData())
|
|
||||||
.append("reductionAmout", getReductionAmout())
|
|
||||||
.toString();
|
|
||||||
}
|
|
||||||
}
|
|
@ -1,59 +0,0 @@
|
|||||||
package com.sf.order.domain.dto;
|
|
||||||
|
|
||||||
import io.swagger.v3.oas.annotations.media.Schema;
|
|
||||||
|
|
||||||
import javax.validation.constraints.NotNull;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @author : ztzh
|
|
||||||
* @since : 2023/7/27
|
|
||||||
*/
|
|
||||||
@Schema(description = "下单")
|
|
||||||
public class OrderCreateDto {
|
|
||||||
|
|
||||||
@Schema(description = "商品id")
|
|
||||||
@NotNull(message = "商品id不能为空")
|
|
||||||
private Long goodsId;
|
|
||||||
|
|
||||||
@Schema(description = "数量")
|
|
||||||
@NotNull(message = "数量不能唯恐")
|
|
||||||
private Long count;
|
|
||||||
|
|
||||||
@Schema(description = "金额")
|
|
||||||
@NotNull(message = "金额不能为空")
|
|
||||||
private Long amount;
|
|
||||||
|
|
||||||
@Schema(description = "用户id")
|
|
||||||
@NotNull(message = "用户id不能空")
|
|
||||||
private Long userId;
|
|
||||||
|
|
||||||
public Long getGoodsId() {
|
|
||||||
return goodsId;
|
|
||||||
}
|
|
||||||
|
|
||||||
public void setGoodsId(Long goodsId) {
|
|
||||||
this.goodsId = goodsId;
|
|
||||||
}
|
|
||||||
public Long getCount() {
|
|
||||||
return count;
|
|
||||||
}
|
|
||||||
|
|
||||||
public void setCount(Long count) {
|
|
||||||
this.count = count;
|
|
||||||
}
|
|
||||||
|
|
||||||
public Long getAmount() {
|
|
||||||
return amount;
|
|
||||||
}
|
|
||||||
|
|
||||||
public void setAmount(Long amount) {
|
|
||||||
this.amount = amount;
|
|
||||||
}
|
|
||||||
public Long getUserId() {
|
|
||||||
return userId;
|
|
||||||
}
|
|
||||||
|
|
||||||
public void setUserId(Long userId) {
|
|
||||||
this.userId = userId;
|
|
||||||
}
|
|
||||||
}
|
|
@ -1,22 +0,0 @@
|
|||||||
package com.sf.order.domain.req;
|
|
||||||
|
|
||||||
import io.swagger.v3.oas.annotations.media.Schema;
|
|
||||||
import lombok.Data;
|
|
||||||
|
|
||||||
@Data
|
|
||||||
public class OrderListreqVo {
|
|
||||||
/**
|
|
||||||
* 主键id
|
|
||||||
*/
|
|
||||||
private Long userId;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* 订单类型
|
|
||||||
*/
|
|
||||||
private Long orderStatus;
|
|
||||||
|
|
||||||
private Integer pageSize;
|
|
||||||
|
|
||||||
private Integer pageNo;
|
|
||||||
|
|
||||||
}
|
|
@ -1,53 +0,0 @@
|
|||||||
package com.sf.order.domain.res;
|
|
||||||
|
|
||||||
import io.swagger.v3.oas.annotations.media.Schema;
|
|
||||||
import lombok.Data;
|
|
||||||
|
|
||||||
import java.time.LocalDateTime;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* 活动信息详情
|
|
||||||
*
|
|
||||||
*/
|
|
||||||
@Data
|
|
||||||
@Schema(name = "OrderListResVo", description = "订单列表")
|
|
||||||
public class OrderListResVo {
|
|
||||||
/**
|
|
||||||
* 主键id
|
|
||||||
*/
|
|
||||||
private Long id;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* 订单编号
|
|
||||||
*/
|
|
||||||
private String orderNo;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* 订单状态:
|
|
||||||
* 0:待支付
|
|
||||||
* 1:已付款
|
|
||||||
* 2:支付超时系统结束
|
|
||||||
* 3:已完成
|
|
||||||
*/
|
|
||||||
private Long orderStatus;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* 订单金额
|
|
||||||
*/
|
|
||||||
private Long orderAmt;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* 商品标题
|
|
||||||
*/
|
|
||||||
private String productTitle;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* 商品规格
|
|
||||||
*/
|
|
||||||
private Integer goodsSpec;
|
|
||||||
/**
|
|
||||||
* 商品数量
|
|
||||||
*/
|
|
||||||
private Integer goodsCount = 1;
|
|
||||||
|
|
||||||
}
|
|
@ -1,67 +0,0 @@
|
|||||||
package com.sf.order.mapper;
|
|
||||||
|
|
||||||
import com.sf.order.domain.OrderInfo;
|
|
||||||
import com.sf.order.domain.req.OrderListreqVo;
|
|
||||||
import com.sf.order.domain.res.OrderListResVo;
|
|
||||||
|
|
||||||
import java.util.List;
|
|
||||||
|
|
||||||
|
|
||||||
/**
|
|
||||||
* 订单基础信息Mapper接口
|
|
||||||
*
|
|
||||||
* @author ztzh
|
|
||||||
* @date 2024-04-09
|
|
||||||
*/
|
|
||||||
public interface OrderInfoMapper {
|
|
||||||
/**
|
|
||||||
* 查询订单基础信息
|
|
||||||
*
|
|
||||||
* @param id 订单基础信息主键
|
|
||||||
* @return 订单基础信息
|
|
||||||
*/
|
|
||||||
public OrderInfo selectOrderInfoById(Long id);
|
|
||||||
|
|
||||||
/**
|
|
||||||
* 查询订单基础信息列表
|
|
||||||
*
|
|
||||||
* @param orderInfo 订单基础信息
|
|
||||||
* @return 订单基础信息集合
|
|
||||||
*/
|
|
||||||
public List<OrderInfo> selectOrderInfoList(OrderInfo orderInfo);
|
|
||||||
|
|
||||||
|
|
||||||
List<OrderListResVo> queryList(OrderListreqVo vo);
|
|
||||||
|
|
||||||
/**
|
|
||||||
* 新增订单基础信息
|
|
||||||
*
|
|
||||||
* @param orderInfo 订单基础信息
|
|
||||||
* @return 结果
|
|
||||||
*/
|
|
||||||
public int insertOrderInfo(OrderInfo orderInfo);
|
|
||||||
|
|
||||||
/**
|
|
||||||
* 修改订单基础信息
|
|
||||||
*
|
|
||||||
* @param orderInfo 订单基础信息
|
|
||||||
* @return 结果
|
|
||||||
*/
|
|
||||||
public int updateOrderInfo(OrderInfo orderInfo);
|
|
||||||
|
|
||||||
/**
|
|
||||||
* 删除订单基础信息
|
|
||||||
*
|
|
||||||
* @param id 订单基础信息主键
|
|
||||||
* @return 结果
|
|
||||||
*/
|
|
||||||
public int deleteOrderInfoById(Long id);
|
|
||||||
|
|
||||||
/**
|
|
||||||
* 批量删除订单基础信息
|
|
||||||
*
|
|
||||||
* @param ids 需要删除的数据主键集合
|
|
||||||
* @return 结果
|
|
||||||
*/
|
|
||||||
public int deleteOrderInfoByIds(Long[] ids);
|
|
||||||
}
|
|
@ -1,73 +0,0 @@
|
|||||||
package com.sf.order.service;
|
|
||||||
|
|
||||||
|
|
||||||
import com.sf.order.domain.OrderInfo;
|
|
||||||
import com.sf.order.domain.dto.OrderCreateDto;
|
|
||||||
import com.sf.order.domain.req.OrderListreqVo;
|
|
||||||
import com.sf.order.domain.res.OrderListResVo;
|
|
||||||
|
|
||||||
import java.util.List;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* 订单基础信息Service接口
|
|
||||||
*
|
|
||||||
* @author ztzh
|
|
||||||
* @date 2024-04-09
|
|
||||||
*/
|
|
||||||
public interface IOrderInfoService
|
|
||||||
{
|
|
||||||
/**
|
|
||||||
* 查询订单基础信息
|
|
||||||
*
|
|
||||||
* @param id 订单基础信息主键
|
|
||||||
* @return 订单基础信息
|
|
||||||
*/
|
|
||||||
public OrderInfo selectOrderInfoById(Long id);
|
|
||||||
|
|
||||||
/**
|
|
||||||
* 查询订单基础信息列表
|
|
||||||
*
|
|
||||||
* @param orderInfo 订单基础信息
|
|
||||||
* @return 订单基础信息集合
|
|
||||||
*/
|
|
||||||
public List<OrderInfo> selectOrderInfoList(OrderInfo orderInfo);
|
|
||||||
|
|
||||||
/**
|
|
||||||
* 查询订单基础信息列表
|
|
||||||
*/
|
|
||||||
List<OrderListResVo> queryList(OrderListreqVo vo);
|
|
||||||
|
|
||||||
/**
|
|
||||||
* 新增订单基础信息
|
|
||||||
*
|
|
||||||
* @param orderInfo 订单基础信息
|
|
||||||
* @return 结果
|
|
||||||
*/
|
|
||||||
public int createOrder(OrderCreateDto orderInfo);
|
|
||||||
|
|
||||||
/**
|
|
||||||
* 修改订单基础信息
|
|
||||||
*
|
|
||||||
* @param orderInfo 订单基础信息
|
|
||||||
* @return 结果
|
|
||||||
*/
|
|
||||||
public int updateOrderInfo(OrderInfo orderInfo);
|
|
||||||
|
|
||||||
/**
|
|
||||||
* 批量删除订单基础信息
|
|
||||||
*
|
|
||||||
* @param ids 需要删除的订单基础信息主键集合
|
|
||||||
* @return 结果
|
|
||||||
*/
|
|
||||||
public int deleteOrderInfoByIds(Long[] ids);
|
|
||||||
|
|
||||||
/**
|
|
||||||
* 删除订单基础信息信息
|
|
||||||
*
|
|
||||||
* @param id 订单基础信息主键
|
|
||||||
* @return 结果
|
|
||||||
*/
|
|
||||||
public int deleteOrderInfoById(Long id);
|
|
||||||
|
|
||||||
void orderPay(Long orderId);
|
|
||||||
}
|
|
@ -1,137 +0,0 @@
|
|||||||
package com.sf.order.service.impl;
|
|
||||||
|
|
||||||
import java.util.List;
|
|
||||||
|
|
||||||
import com.sf.common.exception.BusinessException;
|
|
||||||
import com.sf.common.utils.DateUtils;
|
|
||||||
import com.sf.common.utils.SnowflakeIdWorker;
|
|
||||||
import com.sf.order.domain.OrderInfo;
|
|
||||||
import com.sf.order.domain.dto.OrderCreateDto;
|
|
||||||
import com.sf.order.domain.req.OrderListreqVo;
|
|
||||||
import com.sf.order.domain.res.OrderListResVo;
|
|
||||||
import com.sf.order.mapper.OrderInfoMapper;
|
|
||||||
import com.sf.order.service.IOrderInfoService;
|
|
||||||
import org.springframework.stereotype.Service;
|
|
||||||
|
|
||||||
import javax.annotation.Resource;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* 订单基础信息Service业务层处理
|
|
||||||
*
|
|
||||||
* @author ztzh
|
|
||||||
* @date 2024-04-09
|
|
||||||
*/
|
|
||||||
@Service
|
|
||||||
public class OrderInfoServiceImpl implements IOrderInfoService
|
|
||||||
{
|
|
||||||
@Resource
|
|
||||||
private OrderInfoMapper orderInfoMapper;
|
|
||||||
@Resource
|
|
||||||
private SnowflakeIdWorker snowflakeIdWorker;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* 查询订单基础信息
|
|
||||||
*
|
|
||||||
* @param id 订单基础信息主键
|
|
||||||
* @return 订单基础信息
|
|
||||||
*/
|
|
||||||
@Override
|
|
||||||
public OrderInfo selectOrderInfoById(Long id)
|
|
||||||
{
|
|
||||||
return orderInfoMapper.selectOrderInfoById(id);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* 查询订单基础信息列表
|
|
||||||
*
|
|
||||||
* @param orderInfo 订单基础信息
|
|
||||||
* @return 订单基础信息
|
|
||||||
*/
|
|
||||||
@Override
|
|
||||||
public List<OrderInfo> selectOrderInfoList(OrderInfo orderInfo)
|
|
||||||
{
|
|
||||||
return orderInfoMapper.selectOrderInfoList(orderInfo);
|
|
||||||
}
|
|
||||||
public List<OrderListResVo> queryList(OrderListreqVo vo)
|
|
||||||
{
|
|
||||||
return orderInfoMapper.queryList(vo);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* 新增订单基础信息
|
|
||||||
*
|
|
||||||
* @param orderCreateDto 订单基础信息
|
|
||||||
* @return 结果
|
|
||||||
*/
|
|
||||||
@Override
|
|
||||||
public int createOrder(OrderCreateDto orderCreateDto)
|
|
||||||
{
|
|
||||||
OrderInfo orderInfo = new OrderInfo();
|
|
||||||
orderInfo.setOrderNo(snowflakeIdWorker.nextId());
|
|
||||||
orderInfo.setPayType(0L);
|
|
||||||
orderInfo.setReceiveType(0L);
|
|
||||||
orderInfo.setOrderStatus(0l);
|
|
||||||
orderInfo.setCreateUserId(orderCreateDto.getUserId());
|
|
||||||
orderInfo.setUpdateUserId(orderCreateDto.getUserId());
|
|
||||||
orderInfo.setGoodsId(orderCreateDto.getGoodsId());
|
|
||||||
orderInfo.setOrderAmt(orderCreateDto.getAmount());
|
|
||||||
orderInfo.setPayAmt(orderCreateDto.getAmount());
|
|
||||||
orderInfo.setCreateTime(DateUtils.getNowDate());
|
|
||||||
orderInfo.setUpdateTime(DateUtils.getNowDate());
|
|
||||||
return orderInfoMapper.insertOrderInfo(orderInfo);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* 修改订单基础信息
|
|
||||||
*
|
|
||||||
* @param orderInfo 订单基础信息
|
|
||||||
* @return 结果
|
|
||||||
*/
|
|
||||||
@Override
|
|
||||||
public int updateOrderInfo(OrderInfo orderInfo)
|
|
||||||
{
|
|
||||||
orderInfo.setUpdateTime(DateUtils.getNowDate());
|
|
||||||
return orderInfoMapper.updateOrderInfo(orderInfo);
|
|
||||||
}
|
|
||||||
@Override
|
|
||||||
public void orderPay(Long orderId) {
|
|
||||||
OrderInfo updateOrder = this.selectOrderInfoById(orderId);
|
|
||||||
if (updateOrder == null) {
|
|
||||||
throw new BusinessException("订单缺失!");
|
|
||||||
}
|
|
||||||
// if (!OrderInfoConstant.ORDER_WAITING_FOR_PAYMENT.equals(orderInfo.getOrderStatus())) {
|
|
||||||
// throw new BusinessException("订单状态异常!");
|
|
||||||
// }
|
|
||||||
updateOrder.setOrderStatus(1L);
|
|
||||||
updateOrder.setPayTime(DateUtils.getNowDate());
|
|
||||||
// 修改订单状态
|
|
||||||
if (1>this.updateOrderInfo(updateOrder)) {
|
|
||||||
throw new BusinessException("支付异常,请联系管理员!");
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* 批量删除订单基础信息
|
|
||||||
*
|
|
||||||
* @param ids 需要删除的订单基础信息主键
|
|
||||||
* @return 结果
|
|
||||||
*/
|
|
||||||
@Override
|
|
||||||
public int deleteOrderInfoByIds(Long[] ids)
|
|
||||||
{
|
|
||||||
return orderInfoMapper.deleteOrderInfoByIds(ids);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* 删除订单基础信息信息
|
|
||||||
*
|
|
||||||
* @param id 订单基础信息主键
|
|
||||||
* @return 结果
|
|
||||||
*/
|
|
||||||
@Override
|
|
||||||
public int deleteOrderInfoById(Long id)
|
|
||||||
{
|
|
||||||
return orderInfoMapper.deleteOrderInfoById(id);
|
|
||||||
}
|
|
||||||
|
|
||||||
}
|
|
@ -1,172 +0,0 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8" ?>
|
|
||||||
<!DOCTYPE mapper
|
|
||||||
PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
||||||
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
|
|
||||||
<mapper namespace="com.sf.order.mapper.OrderInfoMapper">
|
|
||||||
|
|
||||||
<resultMap type="OrderInfo" id="OrderInfoResult">
|
|
||||||
<result property="id" column="id" />
|
|
||||||
<result property="orderNo" column="order_no" />
|
|
||||||
<result property="orderStatus" column="order_status" />
|
|
||||||
<result property="payType" column="pay_type" />
|
|
||||||
<result property="payChannel" column="pay_channel" />
|
|
||||||
<result property="orderAmt" column="order_amt" />
|
|
||||||
<result property="freightAmt" column="freight_amt" />
|
|
||||||
<result property="payAmt" column="pay_amt" />
|
|
||||||
<result property="reallyAmt" column="really_amt" />
|
|
||||||
<result property="receiveType" column="receive_type" />
|
|
||||||
<result property="goodsId" column="goods_id" />
|
|
||||||
<result property="businessId" column="business_id" />
|
|
||||||
<result property="receiveAddrId" column="receive_addr_id" />
|
|
||||||
<result property="createTime" column="create_time" />
|
|
||||||
<result property="payTime" column="pay_time" />
|
|
||||||
<result property="createUserId" column="create_user_id" />
|
|
||||||
<result property="updateUserId" column="update_user_id" />
|
|
||||||
<result property="isDelete" column="is_delete" />
|
|
||||||
<result property="updateTime" column="update_time" />
|
|
||||||
<result property="trackNo" column="track_no" />
|
|
||||||
<result property="orderType" column="order_type" />
|
|
||||||
<result property="outOrderNo" column="out_order_no" />
|
|
||||||
<result property="payData" column="pay_data" />
|
|
||||||
<result property="reductionAmout" column="reduction_amout" />
|
|
||||||
</resultMap>
|
|
||||||
|
|
||||||
<sql id="selectOrderInfoVo">
|
|
||||||
select id, order_no, order_status, pay_type, pay_channel, order_amt, freight_amt, pay_amt, really_amt, receive_type, goods_id, business_id, receive_addr_id, create_time, pay_time, create_user_id, update_user_id, is_delete, update_time, track_no, order_type, out_order_no, pay_data, reduction_amout from ORDER_INFO
|
|
||||||
</sql>
|
|
||||||
<sql id="OrderListResVo">
|
|
||||||
select id, order_no, order_status, pay_type, productTitle, order_amt, freight_amt, pay_amt, really_amt, receive_type, goods_id, business_id, receive_addr_id, create_time, pay_time, create_user_id, update_user_id, is_delete, update_time, track_no, order_type, out_order_no, pay_data, reduction_amout from ORDER_INFO
|
|
||||||
</sql>
|
|
||||||
|
|
||||||
<select id="selectOrderInfoList" parameterType="OrderInfo" resultMap="OrderInfoResult">
|
|
||||||
<include refid="selectOrderInfoVo"/>
|
|
||||||
<where>
|
|
||||||
<if test="orderNo != null "> and order_no = #{orderNo}</if>
|
|
||||||
<if test="orderStatus != null "> and order_status = #{orderStatus}</if>
|
|
||||||
<if test="payType != null "> and pay_type = #{payType}</if>
|
|
||||||
<if test="payChannel != null "> and pay_channel = #{payChannel}</if>
|
|
||||||
<if test="orderAmt != null "> and order_amt = #{orderAmt}</if>
|
|
||||||
<if test="freightAmt != null "> and freight_amt = #{freightAmt}</if>
|
|
||||||
<if test="payAmt != null "> and pay_amt = #{payAmt}</if>
|
|
||||||
<if test="reallyAmt != null "> and really_amt = #{reallyAmt}</if>
|
|
||||||
<if test="receiveType != null "> and receive_type = #{receiveType}</if>
|
|
||||||
<if test="goodsId != null "> and goods_id = #{goodsId}</if>
|
|
||||||
<if test="businessId != null "> and business_id = #{businessId}</if>
|
|
||||||
<if test="receiveAddrId != null "> and receive_addr_id = #{receiveAddrId}</if>
|
|
||||||
<if test="payTime != null "> and pay_time = #{payTime}</if>
|
|
||||||
<if test="createUserId != null "> and create_user_id = #{createUserId}</if>
|
|
||||||
<if test="updateUserId != null "> and update_user_id = #{updateUserId}</if>
|
|
||||||
<if test="isDelete != null "> and is_delete = #{isDelete}</if>
|
|
||||||
<if test="trackNo != null and trackNo != ''"> and track_no = #{trackNo}</if>
|
|
||||||
<if test="orderType != null "> and order_type = #{orderType}</if>
|
|
||||||
<if test="outOrderNo != null "> and out_order_no = #{outOrderNo}</if>
|
|
||||||
<if test="payData != null and payData != ''"> and pay_data = #{payData}</if>
|
|
||||||
<if test="reductionAmout != null "> and reduction_amout = #{reductionAmout}</if>
|
|
||||||
</where>
|
|
||||||
</select>
|
|
||||||
|
|
||||||
<select id="selectOrderInfoById" parameterType="Long" resultMap="OrderInfoResult">
|
|
||||||
<include refid="selectOrderInfoVo"/>
|
|
||||||
where id = #{id}
|
|
||||||
</select>
|
|
||||||
<select id="queryList" resultType="com.sf.order.domain.res.OrderListResVo">
|
|
||||||
|
|
||||||
</select>
|
|
||||||
|
|
||||||
<insert id="insertOrderInfo" parameterType="OrderInfo">
|
|
||||||
insert into ORDER_INFO
|
|
||||||
<trim prefix="(" suffix=")" suffixOverrides=",">
|
|
||||||
<if test="id != null">id,</if>
|
|
||||||
<if test="orderNo != null">order_no,</if>
|
|
||||||
<if test="orderStatus != null">order_status,</if>
|
|
||||||
<if test="payType != null">pay_type,</if>
|
|
||||||
<if test="payChannel != null">pay_channel,</if>
|
|
||||||
<if test="orderAmt != null">order_amt,</if>
|
|
||||||
<if test="freightAmt != null">freight_amt,</if>
|
|
||||||
<if test="payAmt != null">pay_amt,</if>
|
|
||||||
<if test="reallyAmt != null">really_amt,</if>
|
|
||||||
<if test="receiveType != null">receive_type,</if>
|
|
||||||
<if test="goodsId != null">goods_id,</if>
|
|
||||||
<if test="businessId != null">business_id,</if>
|
|
||||||
<if test="receiveAddrId != null">receive_addr_id,</if>
|
|
||||||
<if test="createTime != null">create_time,</if>
|
|
||||||
<if test="payTime != null">pay_time,</if>
|
|
||||||
<if test="createUserId != null">create_user_id,</if>
|
|
||||||
<if test="updateUserId != null">update_user_id,</if>
|
|
||||||
<if test="isDelete != null">is_delete,</if>
|
|
||||||
<if test="updateTime != null">update_time,</if>
|
|
||||||
<if test="trackNo != null">track_no,</if>
|
|
||||||
<if test="orderType != null">order_type,</if>
|
|
||||||
<if test="outOrderNo != null">out_order_no,</if>
|
|
||||||
<if test="payData != null">pay_data,</if>
|
|
||||||
<if test="reductionAmout != null">reduction_amout,</if>
|
|
||||||
</trim>
|
|
||||||
<trim prefix="values (" suffix=")" suffixOverrides=",">
|
|
||||||
<if test="id != null">#{id},</if>
|
|
||||||
<if test="orderNo != null">#{orderNo},</if>
|
|
||||||
<if test="orderStatus != null">#{orderStatus},</if>
|
|
||||||
<if test="payType != null">#{payType},</if>
|
|
||||||
<if test="payChannel != null">#{payChannel},</if>
|
|
||||||
<if test="orderAmt != null">#{orderAmt},</if>
|
|
||||||
<if test="freightAmt != null">#{freightAmt},</if>
|
|
||||||
<if test="payAmt != null">#{payAmt},</if>
|
|
||||||
<if test="reallyAmt != null">#{reallyAmt},</if>
|
|
||||||
<if test="receiveType != null">#{receiveType},</if>
|
|
||||||
<if test="goodsId != null">#{goodsId},</if>
|
|
||||||
<if test="businessId != null">#{businessId},</if>
|
|
||||||
<if test="receiveAddrId != null">#{receiveAddrId},</if>
|
|
||||||
<if test="createTime != null">#{createTime},</if>
|
|
||||||
<if test="payTime != null">#{payTime},</if>
|
|
||||||
<if test="createUserId != null">#{createUserId},</if>
|
|
||||||
<if test="updateUserId != null">#{updateUserId},</if>
|
|
||||||
<if test="isDelete != null">#{isDelete},</if>
|
|
||||||
<if test="updateTime != null">#{updateTime},</if>
|
|
||||||
<if test="trackNo != null">#{trackNo},</if>
|
|
||||||
<if test="orderType != null">#{orderType},</if>
|
|
||||||
<if test="outOrderNo != null">#{outOrderNo},</if>
|
|
||||||
<if test="payData != null">#{payData},</if>
|
|
||||||
<if test="reductionAmout != null">#{reductionAmout},</if>
|
|
||||||
</trim>
|
|
||||||
</insert>
|
|
||||||
|
|
||||||
<update id="updateOrderInfo" parameterType="OrderInfo">
|
|
||||||
update ORDER_INFO
|
|
||||||
<trim prefix="SET" suffixOverrides=",">
|
|
||||||
<if test="orderNo != null">order_no = #{orderNo},</if>
|
|
||||||
<if test="orderStatus != null">order_status = #{orderStatus},</if>
|
|
||||||
<if test="payType != null">pay_type = #{payType},</if>
|
|
||||||
<if test="payChannel != null">pay_channel = #{payChannel},</if>
|
|
||||||
<if test="orderAmt != null">order_amt = #{orderAmt},</if>
|
|
||||||
<if test="freightAmt != null">freight_amt = #{freightAmt},</if>
|
|
||||||
<if test="payAmt != null">pay_amt = #{payAmt},</if>
|
|
||||||
<if test="reallyAmt != null">really_amt = #{reallyAmt},</if>
|
|
||||||
<if test="receiveType != null">receive_type = #{receiveType},</if>
|
|
||||||
<if test="goodsId != null">goods_id = #{goodsId},</if>
|
|
||||||
<if test="businessId != null">business_id = #{businessId},</if>
|
|
||||||
<if test="receiveAddrId != null">receive_addr_id = #{receiveAddrId},</if>
|
|
||||||
<if test="createTime != null">create_time = #{createTime},</if>
|
|
||||||
<if test="payTime != null">pay_time = #{payTime},</if>
|
|
||||||
<if test="createUserId != null">create_user_id = #{createUserId},</if>
|
|
||||||
<if test="updateUserId != null">update_user_id = #{updateUserId},</if>
|
|
||||||
<if test="isDelete != null">is_delete = #{isDelete},</if>
|
|
||||||
<if test="updateTime != null">update_time = #{updateTime},</if>
|
|
||||||
<if test="trackNo != null">track_no = #{trackNo},</if>
|
|
||||||
<if test="orderType != null">order_type = #{orderType},</if>
|
|
||||||
<if test="outOrderNo != null">out_order_no = #{outOrderNo},</if>
|
|
||||||
<if test="payData != null">pay_data = #{payData},</if>
|
|
||||||
<if test="reductionAmout != null">reduction_amout = #{reductionAmout},</if>
|
|
||||||
</trim>
|
|
||||||
where id = #{id}
|
|
||||||
</update>
|
|
||||||
|
|
||||||
<delete id="deleteOrderInfoById" parameterType="Long">
|
|
||||||
delete from ORDER_INFO where id = #{id}
|
|
||||||
</delete>
|
|
||||||
|
|
||||||
<delete id="deleteOrderInfoByIds" parameterType="String">
|
|
||||||
delete from ORDER_INFO where id in
|
|
||||||
<foreach item="id" collection="array" open="(" separator="," close=")">
|
|
||||||
#{id}
|
|
||||||
</foreach>
|
|
||||||
</delete>
|
|
||||||
</mapper>
|
|
Loading…
x
Reference in New Issue
Block a user