From b51f6f0d5564b843aeb11f088873faa5aa2116ce Mon Sep 17 00:00:00 2001 From: Administrator <15274802129@163.com> Date: Tue, 23 Jun 2026 22:22:54 +0800 Subject: [PATCH] feat(mall): 为订单支付流程添加订单号生成和更新功能 --- src/main/resources/mapper/modules/MallCountryDeliveryMapper.xml | 28 ++++++++++++++++++++++++++++ 1 files changed, 28 insertions(+), 0 deletions(-) diff --git a/src/main/resources/mapper/modules/MallCountryDeliveryMapper.xml b/src/main/resources/mapper/modules/MallCountryDeliveryMapper.xml new file mode 100644 index 0000000..50ed41b --- /dev/null +++ b/src/main/resources/mapper/modules/MallCountryDeliveryMapper.xml @@ -0,0 +1,28 @@ +<?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="cc.mrbird.febs.mall.mapper.MallCountryDeliveryMapper"> + + <resultMap id="BaseResultMap" type="cc.mrbird.febs.mall.entity.MallCountryDelivery"> + <id column="ID" jdbcType="BIGINT" property="id"/> + <result column="REVISION" jdbcType="INTEGER" property="revision"/> + <result column="CREATED_BY" jdbcType="VARCHAR" property="createdBy"/> + <result column="CREATED_TIME" jdbcType="TIMESTAMP" property="createdTime"/> + <result column="UPDATED_BY" jdbcType="VARCHAR" property="updatedBy"/> + <result column="UPDATED_TIME" jdbcType="TIMESTAMP" property="updatedTime"/> + <result column="COUNTRY_CODE" jdbcType="VARCHAR" property="countryCode"/> + <result column="COUNTRY_NAME" jdbcType="VARCHAR" property="countryName"/> + <result column="SHIPPING_FEE" jdbcType="DECIMAL" property="shippingFee"/> + <result column="STATUS" jdbcType="INTEGER" property="status"/> + <result column="REMARK" jdbcType="VARCHAR" property="remark"/> + </resultMap> + + + + <select id="getCountryDeliveryListInPage" resultType="cc.mrbird.febs.mall.entity.MallCountryDelivery"> + SELECT + a.* + FROM mall_country_delivery a + order by a.CREATED_TIME desc + </select> + +</mapper> -- Gitblit v1.9.1