feat:
1. add stickersAttachment,textAttachment,photoAttachment
This commit is contained in:
@@ -139,14 +139,8 @@ CREATE TABLE `kiosk_order_detail_photo_attachment_r`
|
||||
(
|
||||
`id` bigint NOT NULL COMMENT '主键',
|
||||
`tenant_id` varchar(12) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT '000000' COMMENT '租户ID',
|
||||
`order_id` bigint NOT NULL COMMENT 'oid',
|
||||
`category_id` bigint NOT NULL COMMENT 'cid',
|
||||
`category_type` int NOT NULL DEFAULT 1 COMMENT '产品类型 1:单张 2:组合',
|
||||
`material` varchar(12) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT '' COMMENT '材质',
|
||||
`size` varchar(12) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT '' COMMENT '尺寸',
|
||||
`shape` varchar(12) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT '' COMMENT '形状',
|
||||
`snapshot_link` varchar(1000) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '快照地址',
|
||||
`total_amount` decimal(10, 2) NOT NULL DEFAULT 0 COMMENT '总金额',
|
||||
`detail_id` bigint NOT NULL COMMENT 'did',
|
||||
`photo_id` bigint NOT NULL COMMENT 'pid',
|
||||
`create_user` bigint NULL DEFAULT NULL COMMENT '创建人',
|
||||
`create_dept` bigint NULL DEFAULT NULL COMMENT '创建部门',
|
||||
`create_time` datetime NULL DEFAULT NULL COMMENT '创建时间',
|
||||
@@ -159,8 +153,8 @@ CREATE TABLE `kiosk_order_detail_photo_attachment_r`
|
||||
CHARACTER SET = utf8mb4
|
||||
COLLATE = utf8mb4_general_ci COMMENT = '自助终端订单详情照片关联表';
|
||||
|
||||
DROP TABLE IF EXISTS `kiosk_text_attachment`;
|
||||
CREATE TABLE `kiosk_text_attachment`
|
||||
DROP TABLE IF EXISTS `kiosk_text_attachment_r`;
|
||||
CREATE TABLE `kiosk_text_attachment_r`
|
||||
(
|
||||
`id` bigint NOT NULL COMMENT '主键',
|
||||
`tenant_id` varchar(12) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT '000000' COMMENT '租户ID',
|
||||
@@ -178,15 +172,15 @@ CREATE TABLE `kiosk_text_attachment`
|
||||
PRIMARY KEY (`id`) USING BTREE
|
||||
) ENGINE = InnoDB
|
||||
CHARACTER SET = utf8mb4
|
||||
COLLATE = utf8mb4_general_ci COMMENT = '自助终端文字附件表';
|
||||
COLLATE = utf8mb4_general_ci COMMENT = '自助终端文字附件关联表';
|
||||
|
||||
DROP TABLE IF EXISTS `kiosk_stickers_attachment`;
|
||||
CREATE TABLE `kiosk_stickers_attachment`
|
||||
DROP TABLE IF EXISTS `kiosk_stickers_attachment_r`;
|
||||
CREATE TABLE `kiosk_stickers_attachment_r`
|
||||
(
|
||||
`id` bigint NOT NULL COMMENT '主键',
|
||||
`tenant_id` varchar(12) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT '000000' COMMENT '租户ID',
|
||||
`detail_id` bigint NOT NULL COMMENT 'did',
|
||||
`stickers_id` bigint NOT NULL COMMENT 'sid',
|
||||
`stickers_url` varchar(1000) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '贴纸地址',
|
||||
`create_user` bigint NULL DEFAULT NULL COMMENT '创建人',
|
||||
`create_dept` bigint NULL DEFAULT NULL COMMENT '创建部门',
|
||||
`create_time` datetime NULL DEFAULT NULL COMMENT '创建时间',
|
||||
@@ -197,15 +191,15 @@ CREATE TABLE `kiosk_stickers_attachment`
|
||||
PRIMARY KEY (`id`) USING BTREE
|
||||
) ENGINE = InnoDB
|
||||
CHARACTER SET = utf8mb4
|
||||
COLLATE = utf8mb4_general_ci COMMENT = '自助终端贴纸附件表';
|
||||
COLLATE = utf8mb4_general_ci COMMENT = '自助终端贴纸附件关联表';
|
||||
|
||||
DROP TABLE IF EXISTS `kiosk_accessories_attachment`;
|
||||
CREATE TABLE `kiosk_accessories_attachment`
|
||||
DROP TABLE IF EXISTS `kiosk_accessories_attachment_r`;
|
||||
CREATE TABLE `kiosk_accessories_attachment_r`
|
||||
(
|
||||
`id` bigint NOT NULL COMMENT '主键',
|
||||
`tenant_id` varchar(12) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT '000000' COMMENT '租户ID',
|
||||
`detail_id` bigint NOT NULL COMMENT 'did',
|
||||
`accessories_id` bigint NOT NULL COMMENT 'aid',
|
||||
`accessories_url` varchar(1000) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '配件图片地址',
|
||||
`quantity` int NOT NULL DEFAULT 1 COMMENT '数量',
|
||||
`price` decimal(10, 2) NOT NULL DEFAULT 0 COMMENT '单价',
|
||||
`total_amount` decimal(10, 2) NOT NULL DEFAULT 0 COMMENT '总金额',
|
||||
@@ -219,4 +213,4 @@ CREATE TABLE `kiosk_accessories_attachment`
|
||||
PRIMARY KEY (`id`) USING BTREE
|
||||
) ENGINE = InnoDB
|
||||
CHARACTER SET = utf8mb4
|
||||
COLLATE = utf8mb4_general_ci COMMENT = '自助终端配件附件表';
|
||||
COLLATE = utf8mb4_general_ci COMMENT = '自助终端配件附件关联表';
|
||||
|
||||
@@ -0,0 +1,51 @@
|
||||
/**
|
||||
* BladeX Commercial License Agreement
|
||||
* Copyright (c) 2018-2099, https://bladex.cn. All rights reserved.
|
||||
* <p>
|
||||
* Use of this software is governed by the Commercial License Agreement
|
||||
* obtained after purchasing a license from BladeX.
|
||||
* <p>
|
||||
* 1. This software is for development use only under a valid license
|
||||
* from BladeX.
|
||||
* <p>
|
||||
* 2. Redistribution of this software's source code to any third party
|
||||
* without a commercial license is strictly prohibited.
|
||||
* <p>
|
||||
* 3. Licensees may copyright their own code but cannot use segments
|
||||
* from this software for such purposes. Copyright of this software
|
||||
* remains with BladeX.
|
||||
* <p>
|
||||
* Using this software signifies agreement to this License, and the software
|
||||
* must not be used for illegal purposes.
|
||||
* <p>
|
||||
* THIS SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY. The author is
|
||||
* not liable for any claims arising from secondary or illegal development.
|
||||
* <p>
|
||||
* Author: Chill Zhuang (bladejava@qq.com)
|
||||
*/
|
||||
package org.springblade.modules.kiosk.mapper;
|
||||
|
||||
import org.springblade.modules.kiosk.pojo.entity.OrderDetailPhotoAttachmentREntity;
|
||||
import org.springblade.modules.kiosk.pojo.vo.OrderDetailPhotoAttachmentRVO;
|
||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||
import com.baomidou.mybatisplus.core.metadata.IPage;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* 自助终端订单详情照片关联表 Mapper 接口
|
||||
*
|
||||
* @author Ray
|
||||
* @since 2025-10-08
|
||||
*/
|
||||
public interface OrderDetailPhotoAttachmentRMapper extends BaseMapper<OrderDetailPhotoAttachmentREntity> {
|
||||
|
||||
/**
|
||||
* 自定义分页
|
||||
*
|
||||
* @param page 分页参数
|
||||
* @param orderDetailPhotoAttachmentR 查询参数
|
||||
* @return List<OrderDetailPhotoAttachmentRVO>
|
||||
*/
|
||||
List<OrderDetailPhotoAttachmentRVO> selectOrderDetailPhotoAttachmentRPage(IPage page, OrderDetailPhotoAttachmentRVO orderDetailPhotoAttachmentR);
|
||||
|
||||
}
|
||||
@@ -0,0 +1,25 @@
|
||||
<?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="org.springblade.modules.kiosk.mapper.OrderDetailPhotoAttachmentRMapper">
|
||||
|
||||
<!-- 通用查询映射结果 -->
|
||||
<resultMap id="orderDetailPhotoAttachmentRResultMap" type="org.springblade.modules.kiosk.pojo.entity.OrderDetailPhotoAttachmentREntity">
|
||||
<result column="id" property="id"/>
|
||||
<result column="tenant_id" property="tenantId"/>
|
||||
<result column="detail_id" property="detailId"/>
|
||||
<result column="photo_id" property="photoId"/>
|
||||
<result column="create_user" property="createUser"/>
|
||||
<result column="create_dept" property="createDept"/>
|
||||
<result column="create_time" property="createTime"/>
|
||||
<result column="update_user" property="updateUser"/>
|
||||
<result column="update_time" property="updateTime"/>
|
||||
<result column="status" property="status"/>
|
||||
<result column="is_deleted" property="isDeleted"/>
|
||||
</resultMap>
|
||||
|
||||
|
||||
<select id="selectOrderDetailPhotoAttachmentRPage" resultMap="orderDetailPhotoAttachmentRResultMap">
|
||||
select * from kiosk_order_detail_photo_attachment_r where is_deleted = 0
|
||||
</select>
|
||||
|
||||
</mapper>
|
||||
@@ -0,0 +1,51 @@
|
||||
/**
|
||||
* BladeX Commercial License Agreement
|
||||
* Copyright (c) 2018-2099, https://bladex.cn. All rights reserved.
|
||||
* <p>
|
||||
* Use of this software is governed by the Commercial License Agreement
|
||||
* obtained after purchasing a license from BladeX.
|
||||
* <p>
|
||||
* 1. This software is for development use only under a valid license
|
||||
* from BladeX.
|
||||
* <p>
|
||||
* 2. Redistribution of this software's source code to any third party
|
||||
* without a commercial license is strictly prohibited.
|
||||
* <p>
|
||||
* 3. Licensees may copyright their own code but cannot use segments
|
||||
* from this software for such purposes. Copyright of this software
|
||||
* remains with BladeX.
|
||||
* <p>
|
||||
* Using this software signifies agreement to this License, and the software
|
||||
* must not be used for illegal purposes.
|
||||
* <p>
|
||||
* THIS SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY. The author is
|
||||
* not liable for any claims arising from secondary or illegal development.
|
||||
* <p>
|
||||
* Author: Chill Zhuang (bladejava@qq.com)
|
||||
*/
|
||||
package org.springblade.modules.kiosk.mapper;
|
||||
|
||||
import org.springblade.modules.kiosk.pojo.entity.StickersAttachmentREntity;
|
||||
import org.springblade.modules.kiosk.pojo.vo.StickersAttachmentRVO;
|
||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||
import com.baomidou.mybatisplus.core.metadata.IPage;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* 自助终端贴纸附件关联表 Mapper 接口
|
||||
*
|
||||
* @author Ray
|
||||
* @since 2025-10-08
|
||||
*/
|
||||
public interface StickersAttachmentRMapper extends BaseMapper<StickersAttachmentREntity> {
|
||||
|
||||
/**
|
||||
* 自定义分页
|
||||
*
|
||||
* @param page 分页参数
|
||||
* @param stickersAttachmentR 查询参数
|
||||
* @return List<StickersAttachmentRVO>
|
||||
*/
|
||||
List<StickersAttachmentRVO> selectStickersAttachmentRPage(IPage page, StickersAttachmentRVO stickersAttachmentR);
|
||||
|
||||
}
|
||||
@@ -0,0 +1,25 @@
|
||||
<?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="org.springblade.modules.kiosk.mapper.StickersAttachmentRMapper">
|
||||
|
||||
<!-- 通用查询映射结果 -->
|
||||
<resultMap id="stickersAttachmentRResultMap" type="org.springblade.modules.kiosk.pojo.entity.StickersAttachmentREntity">
|
||||
<result column="id" property="id"/>
|
||||
<result column="tenant_id" property="tenantId"/>
|
||||
<result column="detail_id" property="detailId"/>
|
||||
<result column="stickers_id" property="stickersId"/>
|
||||
<result column="create_user" property="createUser"/>
|
||||
<result column="create_dept" property="createDept"/>
|
||||
<result column="create_time" property="createTime"/>
|
||||
<result column="update_user" property="updateUser"/>
|
||||
<result column="update_time" property="updateTime"/>
|
||||
<result column="status" property="status"/>
|
||||
<result column="is_deleted" property="isDeleted"/>
|
||||
</resultMap>
|
||||
|
||||
|
||||
<select id="selectStickersAttachmentRPage" resultMap="stickersAttachmentRResultMap">
|
||||
select * from kiosk_stickers_attachment_r where is_deleted = 0
|
||||
</select>
|
||||
|
||||
</mapper>
|
||||
@@ -0,0 +1,51 @@
|
||||
/**
|
||||
* BladeX Commercial License Agreement
|
||||
* Copyright (c) 2018-2099, https://bladex.cn. All rights reserved.
|
||||
* <p>
|
||||
* Use of this software is governed by the Commercial License Agreement
|
||||
* obtained after purchasing a license from BladeX.
|
||||
* <p>
|
||||
* 1. This software is for development use only under a valid license
|
||||
* from BladeX.
|
||||
* <p>
|
||||
* 2. Redistribution of this software's source code to any third party
|
||||
* without a commercial license is strictly prohibited.
|
||||
* <p>
|
||||
* 3. Licensees may copyright their own code but cannot use segments
|
||||
* from this software for such purposes. Copyright of this software
|
||||
* remains with BladeX.
|
||||
* <p>
|
||||
* Using this software signifies agreement to this License, and the software
|
||||
* must not be used for illegal purposes.
|
||||
* <p>
|
||||
* THIS SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY. The author is
|
||||
* not liable for any claims arising from secondary or illegal development.
|
||||
* <p>
|
||||
* Author: Chill Zhuang (bladejava@qq.com)
|
||||
*/
|
||||
package org.springblade.modules.kiosk.mapper;
|
||||
|
||||
import org.springblade.modules.kiosk.pojo.entity.TextAttachmentREntity;
|
||||
import org.springblade.modules.kiosk.pojo.vo.TextAttachmentRVO;
|
||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||
import com.baomidou.mybatisplus.core.metadata.IPage;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* 自助终端文字附件关联表 Mapper 接口
|
||||
*
|
||||
* @author Ray
|
||||
* @since 2025-10-08
|
||||
*/
|
||||
public interface TextAttachmentRMapper extends BaseMapper<TextAttachmentREntity> {
|
||||
|
||||
/**
|
||||
* 自定义分页
|
||||
*
|
||||
* @param page 分页参数
|
||||
* @param textAttachmentR 查询参数
|
||||
* @return List<TextAttachmentRVO>
|
||||
*/
|
||||
List<TextAttachmentRVO> selectTextAttachmentRPage(IPage page, TextAttachmentRVO textAttachmentR);
|
||||
|
||||
}
|
||||
@@ -0,0 +1,27 @@
|
||||
<?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="org.springblade.modules.kiosk.mapper.TextAttachmentRMapper">
|
||||
|
||||
<!-- 通用查询映射结果 -->
|
||||
<resultMap id="textAttachmentRResultMap" type="org.springblade.modules.kiosk.pojo.entity.TextAttachmentREntity">
|
||||
<result column="id" property="id"/>
|
||||
<result column="tenant_id" property="tenantId"/>
|
||||
<result column="detail_id" property="detailId"/>
|
||||
<result column="font_name" property="fontName"/>
|
||||
<result column="font_size" property="fontSize"/>
|
||||
<result column="text_content" property="textContent"/>
|
||||
<result column="create_user" property="createUser"/>
|
||||
<result column="create_dept" property="createDept"/>
|
||||
<result column="create_time" property="createTime"/>
|
||||
<result column="update_user" property="updateUser"/>
|
||||
<result column="update_time" property="updateTime"/>
|
||||
<result column="status" property="status"/>
|
||||
<result column="is_deleted" property="isDeleted"/>
|
||||
</resultMap>
|
||||
|
||||
|
||||
<select id="selectTextAttachmentRPage" resultMap="textAttachmentRResultMap">
|
||||
select * from kiosk_text_attachment_r where is_deleted = 0
|
||||
</select>
|
||||
|
||||
</mapper>
|
||||
@@ -0,0 +1,45 @@
|
||||
/**
|
||||
* BladeX Commercial License Agreement
|
||||
* Copyright (c) 2018-2099, https://bladex.cn. All rights reserved.
|
||||
* <p>
|
||||
* Use of this software is governed by the Commercial License Agreement
|
||||
* obtained after purchasing a license from BladeX.
|
||||
* <p>
|
||||
* 1. This software is for development use only under a valid license
|
||||
* from BladeX.
|
||||
* <p>
|
||||
* 2. Redistribution of this software's source code to any third party
|
||||
* without a commercial license is strictly prohibited.
|
||||
* <p>
|
||||
* 3. Licensees may copyright their own code but cannot use segments
|
||||
* from this software for such purposes. Copyright of this software
|
||||
* remains with BladeX.
|
||||
* <p>
|
||||
* Using this software signifies agreement to this License, and the software
|
||||
* must not be used for illegal purposes.
|
||||
* <p>
|
||||
* THIS SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY. The author is
|
||||
* not liable for any claims arising from secondary or illegal development.
|
||||
* <p>
|
||||
* Author: Chill Zhuang (bladejava@qq.com)
|
||||
*/
|
||||
package org.springblade.modules.kiosk.pojo.dto;
|
||||
|
||||
import org.springblade.modules.kiosk.pojo.entity.OrderDetailPhotoAttachmentREntity;
|
||||
import lombok.Data;
|
||||
import lombok.EqualsAndHashCode;
|
||||
import java.io.Serial;
|
||||
|
||||
/**
|
||||
* 自助终端订单详情照片关联表 数据传输对象实体类
|
||||
*
|
||||
* @author Ray
|
||||
* @since 2025-10-08
|
||||
*/
|
||||
@Data
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
public class OrderDetailPhotoAttachmentRDTO extends OrderDetailPhotoAttachmentREntity {
|
||||
@Serial
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
}
|
||||
@@ -0,0 +1,45 @@
|
||||
/**
|
||||
* BladeX Commercial License Agreement
|
||||
* Copyright (c) 2018-2099, https://bladex.cn. All rights reserved.
|
||||
* <p>
|
||||
* Use of this software is governed by the Commercial License Agreement
|
||||
* obtained after purchasing a license from BladeX.
|
||||
* <p>
|
||||
* 1. This software is for development use only under a valid license
|
||||
* from BladeX.
|
||||
* <p>
|
||||
* 2. Redistribution of this software's source code to any third party
|
||||
* without a commercial license is strictly prohibited.
|
||||
* <p>
|
||||
* 3. Licensees may copyright their own code but cannot use segments
|
||||
* from this software for such purposes. Copyright of this software
|
||||
* remains with BladeX.
|
||||
* <p>
|
||||
* Using this software signifies agreement to this License, and the software
|
||||
* must not be used for illegal purposes.
|
||||
* <p>
|
||||
* THIS SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY. The author is
|
||||
* not liable for any claims arising from secondary or illegal development.
|
||||
* <p>
|
||||
* Author: Chill Zhuang (bladejava@qq.com)
|
||||
*/
|
||||
package org.springblade.modules.kiosk.pojo.dto;
|
||||
|
||||
import org.springblade.modules.kiosk.pojo.entity.StickersAttachmentREntity;
|
||||
import lombok.Data;
|
||||
import lombok.EqualsAndHashCode;
|
||||
import java.io.Serial;
|
||||
|
||||
/**
|
||||
* 自助终端贴纸附件关联表 数据传输对象实体类
|
||||
*
|
||||
* @author Ray
|
||||
* @since 2025-10-08
|
||||
*/
|
||||
@Data
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
public class StickersAttachmentRDTO extends StickersAttachmentREntity {
|
||||
@Serial
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
}
|
||||
@@ -0,0 +1,45 @@
|
||||
/**
|
||||
* BladeX Commercial License Agreement
|
||||
* Copyright (c) 2018-2099, https://bladex.cn. All rights reserved.
|
||||
* <p>
|
||||
* Use of this software is governed by the Commercial License Agreement
|
||||
* obtained after purchasing a license from BladeX.
|
||||
* <p>
|
||||
* 1. This software is for development use only under a valid license
|
||||
* from BladeX.
|
||||
* <p>
|
||||
* 2. Redistribution of this software's source code to any third party
|
||||
* without a commercial license is strictly prohibited.
|
||||
* <p>
|
||||
* 3. Licensees may copyright their own code but cannot use segments
|
||||
* from this software for such purposes. Copyright of this software
|
||||
* remains with BladeX.
|
||||
* <p>
|
||||
* Using this software signifies agreement to this License, and the software
|
||||
* must not be used for illegal purposes.
|
||||
* <p>
|
||||
* THIS SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY. The author is
|
||||
* not liable for any claims arising from secondary or illegal development.
|
||||
* <p>
|
||||
* Author: Chill Zhuang (bladejava@qq.com)
|
||||
*/
|
||||
package org.springblade.modules.kiosk.pojo.dto;
|
||||
|
||||
import org.springblade.modules.kiosk.pojo.entity.TextAttachmentREntity;
|
||||
import lombok.Data;
|
||||
import lombok.EqualsAndHashCode;
|
||||
import java.io.Serial;
|
||||
|
||||
/**
|
||||
* 自助终端文字附件关联表 数据传输对象实体类
|
||||
*
|
||||
* @author Ray
|
||||
* @since 2025-10-08
|
||||
*/
|
||||
@Data
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
public class TextAttachmentRDTO extends TextAttachmentREntity {
|
||||
@Serial
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
}
|
||||
@@ -0,0 +1,70 @@
|
||||
/**
|
||||
* BladeX Commercial License Agreement
|
||||
* Copyright (c) 2018-2099, https://bladex.cn. All rights reserved.
|
||||
* <p>
|
||||
* Use of this software is governed by the Commercial License Agreement
|
||||
* obtained after purchasing a license from BladeX.
|
||||
* <p>
|
||||
* 1. This software is for development use only under a valid license
|
||||
* from BladeX.
|
||||
* <p>
|
||||
* 2. Redistribution of this software's source code to any third party
|
||||
* without a commercial license is strictly prohibited.
|
||||
* <p>
|
||||
* 3. Licensees may copyright their own code but cannot use segments
|
||||
* from this software for such purposes. Copyright of this software
|
||||
* remains with BladeX.
|
||||
* <p>
|
||||
* Using this software signifies agreement to this License, and the software
|
||||
* must not be used for illegal purposes.
|
||||
* <p>
|
||||
* THIS SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY. The author is
|
||||
* not liable for any claims arising from secondary or illegal development.
|
||||
* <p>
|
||||
* Author: Chill Zhuang (bladejava@qq.com)
|
||||
*/
|
||||
package org.springblade.modules.kiosk.pojo.entity;
|
||||
|
||||
import lombok.Data;
|
||||
import io.swagger.v3.oas.annotations.media.Schema;
|
||||
import com.baomidou.mybatisplus.annotation.TableName;
|
||||
|
||||
import java.util.Date;
|
||||
|
||||
import com.baomidou.mybatisplus.annotation.IdType;
|
||||
import com.baomidou.mybatisplus.annotation.TableId;
|
||||
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
|
||||
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
|
||||
import lombok.EqualsAndHashCode;
|
||||
import org.springblade.core.tenant.mp.TenantEntity;
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.io.Serial;
|
||||
|
||||
/**
|
||||
* 自助终端订单详情照片关联表 实体类
|
||||
*
|
||||
* @author Ray
|
||||
* @since 2025-10-08
|
||||
*/
|
||||
@Data
|
||||
@TableName("kiosk_order_detail_photo_attachment_r")
|
||||
@Schema(description = "OrderDetailPhotoAttachmentR对象")
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
public class OrderDetailPhotoAttachmentREntity extends TenantEntity {
|
||||
|
||||
@Serial
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/**
|
||||
* did
|
||||
*/
|
||||
@Schema(description = "did")
|
||||
private Long detailId;
|
||||
/**
|
||||
* pid
|
||||
*/
|
||||
@Schema(description = "pid")
|
||||
private Long photoId;
|
||||
|
||||
}
|
||||
@@ -33,6 +33,9 @@ import com.baomidou.mybatisplus.annotation.IdType;
|
||||
import com.baomidou.mybatisplus.annotation.TableId;
|
||||
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
|
||||
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
|
||||
import lombok.EqualsAndHashCode;
|
||||
import org.springblade.core.tenant.mp.TenantEntity;
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.io.Serial;
|
||||
|
||||
@@ -45,24 +48,12 @@ import java.io.Serial;
|
||||
@Data
|
||||
@TableName("kiosk_photo_attachment")
|
||||
@Schema(description = "PhotoAttachment对象")
|
||||
public class PhotoAttachmentEntity implements Serializable {
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
public class PhotoAttachmentEntity extends TenantEntity {
|
||||
|
||||
@Serial
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/**
|
||||
* 主键
|
||||
*/
|
||||
@JsonSerialize(using = ToStringSerializer.class)
|
||||
@Schema(description = "主键")
|
||||
@TableId(value = "id", type = IdType.ASSIGN_ID)
|
||||
private Long id;
|
||||
|
||||
/**
|
||||
* 租户ID
|
||||
*/
|
||||
@Schema(description = "租户ID")
|
||||
private String tenantId;
|
||||
/**
|
||||
* 照片地址
|
||||
*/
|
||||
@@ -83,40 +74,10 @@ public class PhotoAttachmentEntity implements Serializable {
|
||||
*/
|
||||
@Schema(description = "照片原名")
|
||||
private String originalName;
|
||||
/**
|
||||
* 创建人
|
||||
*/
|
||||
@Schema(description = "创建人")
|
||||
private Long createUser;
|
||||
/**
|
||||
* 创建部门
|
||||
*/
|
||||
@Schema(description = "创建部门")
|
||||
private Long createDept;
|
||||
/**
|
||||
* 创建时间
|
||||
*/
|
||||
@Schema(description = "创建时间")
|
||||
private Date createTime;
|
||||
/**
|
||||
* 修改人
|
||||
*/
|
||||
@Schema(description = "修改人")
|
||||
private Long updateUser;
|
||||
/**
|
||||
* 修改时间
|
||||
*/
|
||||
@Schema(description = "修改时间")
|
||||
private Date updateTime;
|
||||
/**
|
||||
* 状态 1:用户可见,2:后台可见
|
||||
*/
|
||||
@Schema(description = "状态 1:用户可见,2:后台可见")
|
||||
private Integer status;
|
||||
/**
|
||||
* 是否已删除
|
||||
*/
|
||||
@Schema(description = "是否已删除")
|
||||
private Integer isDeleted;
|
||||
|
||||
}
|
||||
|
||||
@@ -0,0 +1,68 @@
|
||||
/**
|
||||
* BladeX Commercial License Agreement
|
||||
* Copyright (c) 2018-2099, https://bladex.cn. All rights reserved.
|
||||
* <p>
|
||||
* Use of this software is governed by the Commercial License Agreement
|
||||
* obtained after purchasing a license from BladeX.
|
||||
* <p>
|
||||
* 1. This software is for development use only under a valid license
|
||||
* from BladeX.
|
||||
* <p>
|
||||
* 2. Redistribution of this software's source code to any third party
|
||||
* without a commercial license is strictly prohibited.
|
||||
* <p>
|
||||
* 3. Licensees may copyright their own code but cannot use segments
|
||||
* from this software for such purposes. Copyright of this software
|
||||
* remains with BladeX.
|
||||
* <p>
|
||||
* Using this software signifies agreement to this License, and the software
|
||||
* must not be used for illegal purposes.
|
||||
* <p>
|
||||
* THIS SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY. The author is
|
||||
* not liable for any claims arising from secondary or illegal development.
|
||||
* <p>
|
||||
* Author: Chill Zhuang (bladejava@qq.com)
|
||||
*/
|
||||
package org.springblade.modules.kiosk.pojo.entity;
|
||||
|
||||
import lombok.Data;
|
||||
import io.swagger.v3.oas.annotations.media.Schema;
|
||||
import com.baomidou.mybatisplus.annotation.TableName;
|
||||
import java.util.Date;
|
||||
import com.baomidou.mybatisplus.annotation.IdType;
|
||||
import com.baomidou.mybatisplus.annotation.TableId;
|
||||
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
|
||||
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
|
||||
import lombok.EqualsAndHashCode;
|
||||
import org.springblade.core.tenant.mp.TenantEntity;
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.io.Serial;
|
||||
|
||||
/**
|
||||
* 自助终端贴纸附件关联表 实体类
|
||||
*
|
||||
* @author Ray
|
||||
* @since 2025-10-08
|
||||
*/
|
||||
@Data
|
||||
@TableName("kiosk_stickers_attachment_r")
|
||||
@Schema(description = "StickersAttachmentR对象")
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
public class StickersAttachmentREntity extends TenantEntity {
|
||||
|
||||
@Serial
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/**
|
||||
* did
|
||||
*/
|
||||
@Schema(description = "did")
|
||||
private Long detailId;
|
||||
/**
|
||||
* sid
|
||||
*/
|
||||
@Schema(description = "sid")
|
||||
private Long stickersId;
|
||||
|
||||
}
|
||||
@@ -33,6 +33,9 @@ import com.baomidou.mybatisplus.annotation.IdType;
|
||||
import com.baomidou.mybatisplus.annotation.TableId;
|
||||
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
|
||||
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
|
||||
import lombok.EqualsAndHashCode;
|
||||
import org.springblade.core.tenant.mp.TenantEntity;
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.io.Serial;
|
||||
|
||||
@@ -45,24 +48,12 @@ import java.io.Serial;
|
||||
@Data
|
||||
@TableName("kiosk_stickers")
|
||||
@Schema(description = "Stickers对象")
|
||||
public class StickersEntity implements Serializable {
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
public class StickersEntity extends TenantEntity {
|
||||
|
||||
@Serial
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/**
|
||||
* 主键
|
||||
*/
|
||||
@JsonSerialize(using = ToStringSerializer.class)
|
||||
@Schema(description = "主键")
|
||||
@TableId(value = "id", type = IdType.ASSIGN_ID)
|
||||
private Long id;
|
||||
|
||||
/**
|
||||
* 租户ID
|
||||
*/
|
||||
@Schema(description = "租户ID")
|
||||
private String tenantId;
|
||||
/**
|
||||
* 贴纸地址
|
||||
*/
|
||||
@@ -83,40 +74,5 @@ public class StickersEntity implements Serializable {
|
||||
*/
|
||||
@Schema(description = "贴纸原名")
|
||||
private String originalName;
|
||||
/**
|
||||
* 创建人
|
||||
*/
|
||||
@Schema(description = "创建人")
|
||||
private Long createUser;
|
||||
/**
|
||||
* 创建部门
|
||||
*/
|
||||
@Schema(description = "创建部门")
|
||||
private Long createDept;
|
||||
/**
|
||||
* 创建时间
|
||||
*/
|
||||
@Schema(description = "创建时间")
|
||||
private Date createTime;
|
||||
/**
|
||||
* 修改人
|
||||
*/
|
||||
@Schema(description = "修改人")
|
||||
private Long updateUser;
|
||||
/**
|
||||
* 修改时间
|
||||
*/
|
||||
@Schema(description = "修改时间")
|
||||
private Date updateTime;
|
||||
/**
|
||||
* 状态
|
||||
*/
|
||||
@Schema(description = "状态")
|
||||
private Integer status;
|
||||
/**
|
||||
* 是否已删除
|
||||
*/
|
||||
@Schema(description = "是否已删除")
|
||||
private Integer isDeleted;
|
||||
|
||||
}
|
||||
|
||||
@@ -0,0 +1,80 @@
|
||||
/**
|
||||
* BladeX Commercial License Agreement
|
||||
* Copyright (c) 2018-2099, https://bladex.cn. All rights reserved.
|
||||
* <p>
|
||||
* Use of this software is governed by the Commercial License Agreement
|
||||
* obtained after purchasing a license from BladeX.
|
||||
* <p>
|
||||
* 1. This software is for development use only under a valid license
|
||||
* from BladeX.
|
||||
* <p>
|
||||
* 2. Redistribution of this software's source code to any third party
|
||||
* without a commercial license is strictly prohibited.
|
||||
* <p>
|
||||
* 3. Licensees may copyright their own code but cannot use segments
|
||||
* from this software for such purposes. Copyright of this software
|
||||
* remains with BladeX.
|
||||
* <p>
|
||||
* Using this software signifies agreement to this License, and the software
|
||||
* must not be used for illegal purposes.
|
||||
* <p>
|
||||
* THIS SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY. The author is
|
||||
* not liable for any claims arising from secondary or illegal development.
|
||||
* <p>
|
||||
* Author: Chill Zhuang (bladejava@qq.com)
|
||||
*/
|
||||
package org.springblade.modules.kiosk.pojo.entity;
|
||||
|
||||
import lombok.Data;
|
||||
import io.swagger.v3.oas.annotations.media.Schema;
|
||||
import com.baomidou.mybatisplus.annotation.TableName;
|
||||
|
||||
import java.util.Date;
|
||||
|
||||
import com.baomidou.mybatisplus.annotation.IdType;
|
||||
import com.baomidou.mybatisplus.annotation.TableId;
|
||||
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
|
||||
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
|
||||
import lombok.EqualsAndHashCode;
|
||||
import org.springblade.core.tenant.mp.TenantEntity;
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.io.Serial;
|
||||
|
||||
/**
|
||||
* 自助终端文字附件关联表 实体类
|
||||
*
|
||||
* @author Ray
|
||||
* @since 2025-10-08
|
||||
*/
|
||||
@Data
|
||||
@TableName("kiosk_text_attachment_r")
|
||||
@Schema(description = "TextAttachmentR对象")
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
public class TextAttachmentREntity extends TenantEntity {
|
||||
|
||||
@Serial
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/**
|
||||
* did
|
||||
*/
|
||||
@Schema(description = "did")
|
||||
private Long detailId;
|
||||
/**
|
||||
* 字体名称
|
||||
*/
|
||||
@Schema(description = "字体名称")
|
||||
private String fontName;
|
||||
/**
|
||||
* 字体大小
|
||||
*/
|
||||
@Schema(description = "字体大小")
|
||||
private Integer fontSize;
|
||||
/**
|
||||
* 文字内容
|
||||
*/
|
||||
@Schema(description = "文字内容")
|
||||
private String textContent;
|
||||
|
||||
}
|
||||
@@ -0,0 +1,45 @@
|
||||
/**
|
||||
* BladeX Commercial License Agreement
|
||||
* Copyright (c) 2018-2099, https://bladex.cn. All rights reserved.
|
||||
* <p>
|
||||
* Use of this software is governed by the Commercial License Agreement
|
||||
* obtained after purchasing a license from BladeX.
|
||||
* <p>
|
||||
* 1. This software is for development use only under a valid license
|
||||
* from BladeX.
|
||||
* <p>
|
||||
* 2. Redistribution of this software's source code to any third party
|
||||
* without a commercial license is strictly prohibited.
|
||||
* <p>
|
||||
* 3. Licensees may copyright their own code but cannot use segments
|
||||
* from this software for such purposes. Copyright of this software
|
||||
* remains with BladeX.
|
||||
* <p>
|
||||
* Using this software signifies agreement to this License, and the software
|
||||
* must not be used for illegal purposes.
|
||||
* <p>
|
||||
* THIS SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY. The author is
|
||||
* not liable for any claims arising from secondary or illegal development.
|
||||
* <p>
|
||||
* Author: Chill Zhuang (bladejava@qq.com)
|
||||
*/
|
||||
package org.springblade.modules.kiosk.pojo.vo;
|
||||
|
||||
import org.springblade.modules.kiosk.pojo.entity.OrderDetailPhotoAttachmentREntity;
|
||||
import lombok.Data;
|
||||
import lombok.EqualsAndHashCode;
|
||||
import java.io.Serial;
|
||||
|
||||
/**
|
||||
* 自助终端订单详情照片关联表 视图实体类
|
||||
*
|
||||
* @author Ray
|
||||
* @since 2025-10-08
|
||||
*/
|
||||
@Data
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
public class OrderDetailPhotoAttachmentRVO extends OrderDetailPhotoAttachmentREntity {
|
||||
@Serial
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
}
|
||||
@@ -0,0 +1,45 @@
|
||||
/**
|
||||
* BladeX Commercial License Agreement
|
||||
* Copyright (c) 2018-2099, https://bladex.cn. All rights reserved.
|
||||
* <p>
|
||||
* Use of this software is governed by the Commercial License Agreement
|
||||
* obtained after purchasing a license from BladeX.
|
||||
* <p>
|
||||
* 1. This software is for development use only under a valid license
|
||||
* from BladeX.
|
||||
* <p>
|
||||
* 2. Redistribution of this software's source code to any third party
|
||||
* without a commercial license is strictly prohibited.
|
||||
* <p>
|
||||
* 3. Licensees may copyright their own code but cannot use segments
|
||||
* from this software for such purposes. Copyright of this software
|
||||
* remains with BladeX.
|
||||
* <p>
|
||||
* Using this software signifies agreement to this License, and the software
|
||||
* must not be used for illegal purposes.
|
||||
* <p>
|
||||
* THIS SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY. The author is
|
||||
* not liable for any claims arising from secondary or illegal development.
|
||||
* <p>
|
||||
* Author: Chill Zhuang (bladejava@qq.com)
|
||||
*/
|
||||
package org.springblade.modules.kiosk.pojo.vo;
|
||||
|
||||
import org.springblade.modules.kiosk.pojo.entity.StickersAttachmentREntity;
|
||||
import lombok.Data;
|
||||
import lombok.EqualsAndHashCode;
|
||||
import java.io.Serial;
|
||||
|
||||
/**
|
||||
* 自助终端贴纸附件关联表 视图实体类
|
||||
*
|
||||
* @author Ray
|
||||
* @since 2025-10-08
|
||||
*/
|
||||
@Data
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
public class StickersAttachmentRVO extends StickersAttachmentREntity {
|
||||
@Serial
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
}
|
||||
@@ -0,0 +1,45 @@
|
||||
/**
|
||||
* BladeX Commercial License Agreement
|
||||
* Copyright (c) 2018-2099, https://bladex.cn. All rights reserved.
|
||||
* <p>
|
||||
* Use of this software is governed by the Commercial License Agreement
|
||||
* obtained after purchasing a license from BladeX.
|
||||
* <p>
|
||||
* 1. This software is for development use only under a valid license
|
||||
* from BladeX.
|
||||
* <p>
|
||||
* 2. Redistribution of this software's source code to any third party
|
||||
* without a commercial license is strictly prohibited.
|
||||
* <p>
|
||||
* 3. Licensees may copyright their own code but cannot use segments
|
||||
* from this software for such purposes. Copyright of this software
|
||||
* remains with BladeX.
|
||||
* <p>
|
||||
* Using this software signifies agreement to this License, and the software
|
||||
* must not be used for illegal purposes.
|
||||
* <p>
|
||||
* THIS SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY. The author is
|
||||
* not liable for any claims arising from secondary or illegal development.
|
||||
* <p>
|
||||
* Author: Chill Zhuang (bladejava@qq.com)
|
||||
*/
|
||||
package org.springblade.modules.kiosk.pojo.vo;
|
||||
|
||||
import org.springblade.modules.kiosk.pojo.entity.TextAttachmentREntity;
|
||||
import lombok.Data;
|
||||
import lombok.EqualsAndHashCode;
|
||||
import java.io.Serial;
|
||||
|
||||
/**
|
||||
* 自助终端文字附件关联表 视图实体类
|
||||
*
|
||||
* @author Ray
|
||||
* @since 2025-10-08
|
||||
*/
|
||||
@Data
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
public class TextAttachmentRVO extends TextAttachmentREntity {
|
||||
@Serial
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
}
|
||||
@@ -0,0 +1,49 @@
|
||||
/**
|
||||
* BladeX Commercial License Agreement
|
||||
* Copyright (c) 2018-2099, https://bladex.cn. All rights reserved.
|
||||
* <p>
|
||||
* Use of this software is governed by the Commercial License Agreement
|
||||
* obtained after purchasing a license from BladeX.
|
||||
* <p>
|
||||
* 1. This software is for development use only under a valid license
|
||||
* from BladeX.
|
||||
* <p>
|
||||
* 2. Redistribution of this software's source code to any third party
|
||||
* without a commercial license is strictly prohibited.
|
||||
* <p>
|
||||
* 3. Licensees may copyright their own code but cannot use segments
|
||||
* from this software for such purposes. Copyright of this software
|
||||
* remains with BladeX.
|
||||
* <p>
|
||||
* Using this software signifies agreement to this License, and the software
|
||||
* must not be used for illegal purposes.
|
||||
* <p>
|
||||
* THIS SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY. The author is
|
||||
* not liable for any claims arising from secondary or illegal development.
|
||||
* <p>
|
||||
* Author: Chill Zhuang (bladejava@qq.com)
|
||||
*/
|
||||
package org.springblade.modules.kiosk.service;
|
||||
|
||||
import org.springblade.modules.kiosk.pojo.entity.OrderDetailPhotoAttachmentREntity;
|
||||
import org.springblade.modules.kiosk.pojo.vo.OrderDetailPhotoAttachmentRVO;
|
||||
import com.baomidou.mybatisplus.core.metadata.IPage;
|
||||
import com.baomidou.mybatisplus.extension.service.IService;
|
||||
|
||||
/**
|
||||
* 自助终端订单详情照片关联表 服务类
|
||||
*
|
||||
* @author Ray
|
||||
* @since 2025-10-08
|
||||
*/
|
||||
public interface IOrderDetailPhotoAttachmentRService extends IService<OrderDetailPhotoAttachmentREntity> {
|
||||
/**
|
||||
* 自定义分页
|
||||
*
|
||||
* @param page 分页参数
|
||||
* @param orderDetailPhotoAttachmentR 查询参数
|
||||
* @return IPage<OrderDetailPhotoAttachmentRVO>
|
||||
*/
|
||||
IPage<OrderDetailPhotoAttachmentRVO> selectOrderDetailPhotoAttachmentRPage(IPage<OrderDetailPhotoAttachmentRVO> page, OrderDetailPhotoAttachmentRVO orderDetailPhotoAttachmentR);
|
||||
|
||||
}
|
||||
@@ -0,0 +1,49 @@
|
||||
/**
|
||||
* BladeX Commercial License Agreement
|
||||
* Copyright (c) 2018-2099, https://bladex.cn. All rights reserved.
|
||||
* <p>
|
||||
* Use of this software is governed by the Commercial License Agreement
|
||||
* obtained after purchasing a license from BladeX.
|
||||
* <p>
|
||||
* 1. This software is for development use only under a valid license
|
||||
* from BladeX.
|
||||
* <p>
|
||||
* 2. Redistribution of this software's source code to any third party
|
||||
* without a commercial license is strictly prohibited.
|
||||
* <p>
|
||||
* 3. Licensees may copyright their own code but cannot use segments
|
||||
* from this software for such purposes. Copyright of this software
|
||||
* remains with BladeX.
|
||||
* <p>
|
||||
* Using this software signifies agreement to this License, and the software
|
||||
* must not be used for illegal purposes.
|
||||
* <p>
|
||||
* THIS SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY. The author is
|
||||
* not liable for any claims arising from secondary or illegal development.
|
||||
* <p>
|
||||
* Author: Chill Zhuang (bladejava@qq.com)
|
||||
*/
|
||||
package org.springblade.modules.kiosk.service;
|
||||
|
||||
import org.springblade.modules.kiosk.pojo.entity.StickersAttachmentREntity;
|
||||
import org.springblade.modules.kiosk.pojo.vo.StickersAttachmentRVO;
|
||||
import com.baomidou.mybatisplus.core.metadata.IPage;
|
||||
import com.baomidou.mybatisplus.extension.service.IService;
|
||||
|
||||
/**
|
||||
* 自助终端贴纸附件关联表 服务类
|
||||
*
|
||||
* @author Ray
|
||||
* @since 2025-10-08
|
||||
*/
|
||||
public interface IStickersAttachmentRService extends IService<StickersAttachmentREntity> {
|
||||
/**
|
||||
* 自定义分页
|
||||
*
|
||||
* @param page 分页参数
|
||||
* @param stickersAttachmentR 查询参数
|
||||
* @return IPage<StickersAttachmentRVO>
|
||||
*/
|
||||
IPage<StickersAttachmentRVO> selectStickersAttachmentRPage(IPage<StickersAttachmentRVO> page, StickersAttachmentRVO stickersAttachmentR);
|
||||
|
||||
}
|
||||
@@ -0,0 +1,49 @@
|
||||
/**
|
||||
* BladeX Commercial License Agreement
|
||||
* Copyright (c) 2018-2099, https://bladex.cn. All rights reserved.
|
||||
* <p>
|
||||
* Use of this software is governed by the Commercial License Agreement
|
||||
* obtained after purchasing a license from BladeX.
|
||||
* <p>
|
||||
* 1. This software is for development use only under a valid license
|
||||
* from BladeX.
|
||||
* <p>
|
||||
* 2. Redistribution of this software's source code to any third party
|
||||
* without a commercial license is strictly prohibited.
|
||||
* <p>
|
||||
* 3. Licensees may copyright their own code but cannot use segments
|
||||
* from this software for such purposes. Copyright of this software
|
||||
* remains with BladeX.
|
||||
* <p>
|
||||
* Using this software signifies agreement to this License, and the software
|
||||
* must not be used for illegal purposes.
|
||||
* <p>
|
||||
* THIS SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY. The author is
|
||||
* not liable for any claims arising from secondary or illegal development.
|
||||
* <p>
|
||||
* Author: Chill Zhuang (bladejava@qq.com)
|
||||
*/
|
||||
package org.springblade.modules.kiosk.service;
|
||||
|
||||
import org.springblade.modules.kiosk.pojo.entity.TextAttachmentREntity;
|
||||
import org.springblade.modules.kiosk.pojo.vo.TextAttachmentRVO;
|
||||
import com.baomidou.mybatisplus.core.metadata.IPage;
|
||||
import com.baomidou.mybatisplus.extension.service.IService;
|
||||
|
||||
/**
|
||||
* 自助终端文字附件关联表 服务类
|
||||
*
|
||||
* @author Ray
|
||||
* @since 2025-10-08
|
||||
*/
|
||||
public interface ITextAttachmentRService extends IService<TextAttachmentREntity> {
|
||||
/**
|
||||
* 自定义分页
|
||||
*
|
||||
* @param page 分页参数
|
||||
* @param textAttachmentR 查询参数
|
||||
* @return IPage<TextAttachmentRVO>
|
||||
*/
|
||||
IPage<TextAttachmentRVO> selectTextAttachmentRPage(IPage<TextAttachmentRVO> page, TextAttachmentRVO textAttachmentR);
|
||||
|
||||
}
|
||||
@@ -0,0 +1,50 @@
|
||||
/**
|
||||
* BladeX Commercial License Agreement
|
||||
* Copyright (c) 2018-2099, https://bladex.cn. All rights reserved.
|
||||
* <p>
|
||||
* Use of this software is governed by the Commercial License Agreement
|
||||
* obtained after purchasing a license from BladeX.
|
||||
* <p>
|
||||
* 1. This software is for development use only under a valid license
|
||||
* from BladeX.
|
||||
* <p>
|
||||
* 2. Redistribution of this software's source code to any third party
|
||||
* without a commercial license is strictly prohibited.
|
||||
* <p>
|
||||
* 3. Licensees may copyright their own code but cannot use segments
|
||||
* from this software for such purposes. Copyright of this software
|
||||
* remains with BladeX.
|
||||
* <p>
|
||||
* Using this software signifies agreement to this License, and the software
|
||||
* must not be used for illegal purposes.
|
||||
* <p>
|
||||
* THIS SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY. The author is
|
||||
* not liable for any claims arising from secondary or illegal development.
|
||||
* <p>
|
||||
* Author: Chill Zhuang (bladejava@qq.com)
|
||||
*/
|
||||
package org.springblade.modules.kiosk.service.impl;
|
||||
|
||||
import org.springblade.modules.kiosk.pojo.entity.OrderDetailPhotoAttachmentREntity;
|
||||
import org.springblade.modules.kiosk.pojo.vo.OrderDetailPhotoAttachmentRVO;
|
||||
import org.springblade.modules.kiosk.mapper.OrderDetailPhotoAttachmentRMapper;
|
||||
import org.springblade.modules.kiosk.service.IOrderDetailPhotoAttachmentRService;
|
||||
import org.springframework.stereotype.Service;
|
||||
import com.baomidou.mybatisplus.core.metadata.IPage;
|
||||
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
|
||||
|
||||
/**
|
||||
* 自助终端订单详情照片关联表 服务实现类
|
||||
*
|
||||
* @author Ray
|
||||
* @since 2025-10-08
|
||||
*/
|
||||
@Service
|
||||
public class OrderDetailPhotoAttachmentRServiceImpl extends ServiceImpl<OrderDetailPhotoAttachmentRMapper, OrderDetailPhotoAttachmentREntity> implements IOrderDetailPhotoAttachmentRService {
|
||||
|
||||
@Override
|
||||
public IPage<OrderDetailPhotoAttachmentRVO> selectOrderDetailPhotoAttachmentRPage(IPage<OrderDetailPhotoAttachmentRVO> page, OrderDetailPhotoAttachmentRVO orderDetailPhotoAttachmentR) {
|
||||
return page.setRecords(baseMapper.selectOrderDetailPhotoAttachmentRPage(page, orderDetailPhotoAttachmentR));
|
||||
}
|
||||
|
||||
}
|
||||
@@ -0,0 +1,63 @@
|
||||
/**
|
||||
* BladeX Commercial License Agreement
|
||||
* Copyright (c) 2018-2099, https://bladex.cn. All rights reserved.
|
||||
* <p>
|
||||
* Use of this software is governed by the Commercial License Agreement
|
||||
* obtained after purchasing a license from BladeX.
|
||||
* <p>
|
||||
* 1. This software is for development use only under a valid license
|
||||
* from BladeX.
|
||||
* <p>
|
||||
* 2. Redistribution of this software's source code to any third party
|
||||
* without a commercial license is strictly prohibited.
|
||||
* <p>
|
||||
* 3. Licensees may copyright their own code but cannot use segments
|
||||
* from this software for such purposes. Copyright of this software
|
||||
* remains with BladeX.
|
||||
* <p>
|
||||
* Using this software signifies agreement to this License, and the software
|
||||
* must not be used for illegal purposes.
|
||||
* <p>
|
||||
* THIS SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY. The author is
|
||||
* not liable for any claims arising from secondary or illegal development.
|
||||
* <p>
|
||||
* Author: Chill Zhuang (bladejava@qq.com)
|
||||
*/
|
||||
package org.springblade.modules.kiosk.service.impl;
|
||||
|
||||
import org.springblade.modules.kiosk.pojo.entity.StickersAttachmentREntity;
|
||||
import org.springblade.modules.kiosk.pojo.vo.StickersAttachmentRVO;
|
||||
import org.springblade.modules.kiosk.excel.StickersAttachmentRExcel;
|
||||
import org.springblade.modules.kiosk.mapper.StickersAttachmentRMapper;
|
||||
import org.springblade.modules.kiosk.service.IStickersAttachmentRService;
|
||||
import org.springframework.stereotype.Service;
|
||||
import com.baomidou.mybatisplus.core.conditions.Wrapper;
|
||||
import com.baomidou.mybatisplus.core.metadata.IPage;
|
||||
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* 自助终端贴纸附件关联表 服务实现类
|
||||
*
|
||||
* @author Ray
|
||||
* @since 2025-10-08
|
||||
*/
|
||||
@Service
|
||||
public class StickersAttachmentRServiceImpl extends ServiceImpl<StickersAttachmentRMapper, StickersAttachmentREntity> implements IStickersAttachmentRService {
|
||||
|
||||
@Override
|
||||
public IPage<StickersAttachmentRVO> selectStickersAttachmentRPage(IPage<StickersAttachmentRVO> page, StickersAttachmentRVO stickersAttachmentR) {
|
||||
return page.setRecords(baseMapper.selectStickersAttachmentRPage(page, stickersAttachmentR));
|
||||
}
|
||||
|
||||
|
||||
@Override
|
||||
public List<StickersAttachmentRExcel> exportStickersAttachmentR(Wrapper<StickersAttachmentREntity> queryWrapper) {
|
||||
List<StickersAttachmentRExcel> stickersAttachmentRList = baseMapper.exportStickersAttachmentR(queryWrapper);
|
||||
//stickersAttachmentRList.forEach(stickersAttachmentR -> {
|
||||
// stickersAttachmentR.setTypeName(DictCache.getValue(DictEnum.YES_NO, StickersAttachmentR.getType()));
|
||||
//});
|
||||
return stickersAttachmentRList;
|
||||
}
|
||||
|
||||
}
|
||||
@@ -0,0 +1,63 @@
|
||||
/**
|
||||
* BladeX Commercial License Agreement
|
||||
* Copyright (c) 2018-2099, https://bladex.cn. All rights reserved.
|
||||
* <p>
|
||||
* Use of this software is governed by the Commercial License Agreement
|
||||
* obtained after purchasing a license from BladeX.
|
||||
* <p>
|
||||
* 1. This software is for development use only under a valid license
|
||||
* from BladeX.
|
||||
* <p>
|
||||
* 2. Redistribution of this software's source code to any third party
|
||||
* without a commercial license is strictly prohibited.
|
||||
* <p>
|
||||
* 3. Licensees may copyright their own code but cannot use segments
|
||||
* from this software for such purposes. Copyright of this software
|
||||
* remains with BladeX.
|
||||
* <p>
|
||||
* Using this software signifies agreement to this License, and the software
|
||||
* must not be used for illegal purposes.
|
||||
* <p>
|
||||
* THIS SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY. The author is
|
||||
* not liable for any claims arising from secondary or illegal development.
|
||||
* <p>
|
||||
* Author: Chill Zhuang (bladejava@qq.com)
|
||||
*/
|
||||
package org.springblade.modules.kiosk.service.impl;
|
||||
|
||||
import org.springblade.modules.kiosk.pojo.entity.TextAttachmentREntity;
|
||||
import org.springblade.modules.kiosk.pojo.vo.TextAttachmentRVO;
|
||||
import org.springblade.modules.kiosk.excel.TextAttachmentRExcel;
|
||||
import org.springblade.modules.kiosk.mapper.TextAttachmentRMapper;
|
||||
import org.springblade.modules.kiosk.service.ITextAttachmentRService;
|
||||
import org.springframework.stereotype.Service;
|
||||
import com.baomidou.mybatisplus.core.conditions.Wrapper;
|
||||
import com.baomidou.mybatisplus.core.metadata.IPage;
|
||||
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* 自助终端文字附件关联表 服务实现类
|
||||
*
|
||||
* @author Ray
|
||||
* @since 2025-10-08
|
||||
*/
|
||||
@Service
|
||||
public class TextAttachmentRServiceImpl extends ServiceImpl<TextAttachmentRMapper, TextAttachmentREntity> implements ITextAttachmentRService {
|
||||
|
||||
@Override
|
||||
public IPage<TextAttachmentRVO> selectTextAttachmentRPage(IPage<TextAttachmentRVO> page, TextAttachmentRVO textAttachmentR) {
|
||||
return page.setRecords(baseMapper.selectTextAttachmentRPage(page, textAttachmentR));
|
||||
}
|
||||
|
||||
|
||||
@Override
|
||||
public List<TextAttachmentRExcel> exportTextAttachmentR(Wrapper<TextAttachmentREntity> queryWrapper) {
|
||||
List<TextAttachmentRExcel> textAttachmentRList = baseMapper.exportTextAttachmentR(queryWrapper);
|
||||
//textAttachmentRList.forEach(textAttachmentR -> {
|
||||
// textAttachmentR.setTypeName(DictCache.getValue(DictEnum.YES_NO, TextAttachmentR.getType()));
|
||||
//});
|
||||
return textAttachmentRList;
|
||||
}
|
||||
|
||||
}
|
||||
@@ -0,0 +1,59 @@
|
||||
/**
|
||||
* BladeX Commercial License Agreement
|
||||
* Copyright (c) 2018-2099, https://bladex.cn. All rights reserved.
|
||||
* <p>
|
||||
* Use of this software is governed by the Commercial License Agreement
|
||||
* obtained after purchasing a license from BladeX.
|
||||
* <p>
|
||||
* 1. This software is for development use only under a valid license
|
||||
* from BladeX.
|
||||
* <p>
|
||||
* 2. Redistribution of this software's source code to any third party
|
||||
* without a commercial license is strictly prohibited.
|
||||
* <p>
|
||||
* 3. Licensees may copyright their own code but cannot use segments
|
||||
* from this software for such purposes. Copyright of this software
|
||||
* remains with BladeX.
|
||||
* <p>
|
||||
* Using this software signifies agreement to this License, and the software
|
||||
* must not be used for illegal purposes.
|
||||
* <p>
|
||||
* THIS SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY. The author is
|
||||
* not liable for any claims arising from secondary or illegal development.
|
||||
* <p>
|
||||
* Author: Chill Zhuang (bladejava@qq.com)
|
||||
*/
|
||||
package org.springblade.modules.kiosk.wrapper;
|
||||
|
||||
import org.springblade.core.mp.support.BaseEntityWrapper;
|
||||
import org.springblade.core.tool.utils.BeanUtil;
|
||||
import org.springblade.modules.kiosk.pojo.entity.OrderDetailPhotoAttachmentREntity;
|
||||
import org.springblade.modules.kiosk.pojo.vo.OrderDetailPhotoAttachmentRVO;
|
||||
import java.util.Objects;
|
||||
|
||||
/**
|
||||
* 自助终端订单详情照片关联表 包装类,返回视图层所需的字段
|
||||
*
|
||||
* @author Ray
|
||||
* @since 2025-10-08
|
||||
*/
|
||||
public class OrderDetailPhotoAttachmentRWrapper extends BaseEntityWrapper<OrderDetailPhotoAttachmentREntity, OrderDetailPhotoAttachmentRVO> {
|
||||
|
||||
public static OrderDetailPhotoAttachmentRWrapper build() {
|
||||
return new OrderDetailPhotoAttachmentRWrapper();
|
||||
}
|
||||
|
||||
@Override
|
||||
public OrderDetailPhotoAttachmentRVO entityVO(OrderDetailPhotoAttachmentREntity orderDetailPhotoAttachmentR) {
|
||||
OrderDetailPhotoAttachmentRVO orderDetailPhotoAttachmentRVO = Objects.requireNonNull(BeanUtil.copyProperties(orderDetailPhotoAttachmentR, OrderDetailPhotoAttachmentRVO.class));
|
||||
|
||||
//User createUser = UserCache.getUser(orderDetailPhotoAttachmentR.getCreateUser());
|
||||
//User updateUser = UserCache.getUser(orderDetailPhotoAttachmentR.getUpdateUser());
|
||||
//orderDetailPhotoAttachmentRVO.setCreateUserName(createUser.getName());
|
||||
//orderDetailPhotoAttachmentRVO.setUpdateUserName(updateUser.getName());
|
||||
|
||||
return orderDetailPhotoAttachmentRVO;
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
@@ -0,0 +1,59 @@
|
||||
/**
|
||||
* BladeX Commercial License Agreement
|
||||
* Copyright (c) 2018-2099, https://bladex.cn. All rights reserved.
|
||||
* <p>
|
||||
* Use of this software is governed by the Commercial License Agreement
|
||||
* obtained after purchasing a license from BladeX.
|
||||
* <p>
|
||||
* 1. This software is for development use only under a valid license
|
||||
* from BladeX.
|
||||
* <p>
|
||||
* 2. Redistribution of this software's source code to any third party
|
||||
* without a commercial license is strictly prohibited.
|
||||
* <p>
|
||||
* 3. Licensees may copyright their own code but cannot use segments
|
||||
* from this software for such purposes. Copyright of this software
|
||||
* remains with BladeX.
|
||||
* <p>
|
||||
* Using this software signifies agreement to this License, and the software
|
||||
* must not be used for illegal purposes.
|
||||
* <p>
|
||||
* THIS SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY. The author is
|
||||
* not liable for any claims arising from secondary or illegal development.
|
||||
* <p>
|
||||
* Author: Chill Zhuang (bladejava@qq.com)
|
||||
*/
|
||||
package org.springblade.modules.kiosk.wrapper;
|
||||
|
||||
import org.springblade.core.mp.support.BaseEntityWrapper;
|
||||
import org.springblade.core.tool.utils.BeanUtil;
|
||||
import org.springblade.modules.kiosk.pojo.entity.StickersAttachmentREntity;
|
||||
import org.springblade.modules.kiosk.pojo.vo.StickersAttachmentRVO;
|
||||
import java.util.Objects;
|
||||
|
||||
/**
|
||||
* 自助终端贴纸附件关联表 包装类,返回视图层所需的字段
|
||||
*
|
||||
* @author Ray
|
||||
* @since 2025-10-08
|
||||
*/
|
||||
public class StickersAttachmentRWrapper extends BaseEntityWrapper<StickersAttachmentREntity, StickersAttachmentRVO> {
|
||||
|
||||
public static StickersAttachmentRWrapper build() {
|
||||
return new StickersAttachmentRWrapper();
|
||||
}
|
||||
|
||||
@Override
|
||||
public StickersAttachmentRVO entityVO(StickersAttachmentREntity stickersAttachmentR) {
|
||||
StickersAttachmentRVO stickersAttachmentRVO = Objects.requireNonNull(BeanUtil.copyProperties(stickersAttachmentR, StickersAttachmentRVO.class));
|
||||
|
||||
//User createUser = UserCache.getUser(stickersAttachmentR.getCreateUser());
|
||||
//User updateUser = UserCache.getUser(stickersAttachmentR.getUpdateUser());
|
||||
//stickersAttachmentRVO.setCreateUserName(createUser.getName());
|
||||
//stickersAttachmentRVO.setUpdateUserName(updateUser.getName());
|
||||
|
||||
return stickersAttachmentRVO;
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
@@ -0,0 +1,59 @@
|
||||
/**
|
||||
* BladeX Commercial License Agreement
|
||||
* Copyright (c) 2018-2099, https://bladex.cn. All rights reserved.
|
||||
* <p>
|
||||
* Use of this software is governed by the Commercial License Agreement
|
||||
* obtained after purchasing a license from BladeX.
|
||||
* <p>
|
||||
* 1. This software is for development use only under a valid license
|
||||
* from BladeX.
|
||||
* <p>
|
||||
* 2. Redistribution of this software's source code to any third party
|
||||
* without a commercial license is strictly prohibited.
|
||||
* <p>
|
||||
* 3. Licensees may copyright their own code but cannot use segments
|
||||
* from this software for such purposes. Copyright of this software
|
||||
* remains with BladeX.
|
||||
* <p>
|
||||
* Using this software signifies agreement to this License, and the software
|
||||
* must not be used for illegal purposes.
|
||||
* <p>
|
||||
* THIS SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY. The author is
|
||||
* not liable for any claims arising from secondary or illegal development.
|
||||
* <p>
|
||||
* Author: Chill Zhuang (bladejava@qq.com)
|
||||
*/
|
||||
package org.springblade.modules.kiosk.wrapper;
|
||||
|
||||
import org.springblade.core.mp.support.BaseEntityWrapper;
|
||||
import org.springblade.core.tool.utils.BeanUtil;
|
||||
import org.springblade.modules.kiosk.pojo.entity.TextAttachmentREntity;
|
||||
import org.springblade.modules.kiosk.pojo.vo.TextAttachmentRVO;
|
||||
import java.util.Objects;
|
||||
|
||||
/**
|
||||
* 自助终端文字附件关联表 包装类,返回视图层所需的字段
|
||||
*
|
||||
* @author Ray
|
||||
* @since 2025-10-08
|
||||
*/
|
||||
public class TextAttachmentRWrapper extends BaseEntityWrapper<TextAttachmentREntity, TextAttachmentRVO> {
|
||||
|
||||
public static TextAttachmentRWrapper build() {
|
||||
return new TextAttachmentRWrapper();
|
||||
}
|
||||
|
||||
@Override
|
||||
public TextAttachmentRVO entityVO(TextAttachmentREntity textAttachmentR) {
|
||||
TextAttachmentRVO textAttachmentRVO = Objects.requireNonNull(BeanUtil.copyProperties(textAttachmentR, TextAttachmentRVO.class));
|
||||
|
||||
//User createUser = UserCache.getUser(textAttachmentR.getCreateUser());
|
||||
//User updateUser = UserCache.getUser(textAttachmentR.getUpdateUser());
|
||||
//textAttachmentRVO.setCreateUserName(createUser.getName());
|
||||
//textAttachmentRVO.setUpdateUserName(updateUser.getName());
|
||||
|
||||
return textAttachmentRVO;
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user