From bd424ceae9e38a0a50418f71093becd1430cc83b Mon Sep 17 00:00:00 2001
From: huminmin <mac@MacBook-Pro.local>
Date: 星期一, 11 五月 2026 14:20:32 +0800
Subject: [PATCH] 生产班组
---
src/main/java/com/ruoyi/production/service/impl/ProductionTeamUserRelServiceImpl.java | 22 +
src/main/java/com/ruoyi/production/service/impl/ProductionTeamServiceImpl.java | 137 ++++++++
doc/20260511_create_table_production_team.sql | 28 +
src/main/resources/mapper/production/ProductionTeamMapper.xml | 76 ++++
src/main/java/com/ruoyi/production/bean/dto/ProductionTeamDto.java | 26 +
src/main/java/com/ruoyi/production/mapper/ProductionTeamMapper.java | 36 ++
src/main/java/com/ruoyi/production/bean/vo/ProductionTeamVo.java | 50 ++
src/main/java/com/ruoyi/production/service/ProductionTeamUserRelService.java | 16
src/main/java/com/ruoyi/production/pojo/ProductionTeamUserRel.java | 75 ++++
src/main/resources/mapper/production/ProductionTeamUserRelMapper.xml | 16
src/main/resources/application-qllx.yml | 266 +++++++++++++++
src/main/java/com/ruoyi/production/controller/ProductionTeamUserRelController.java | 18 +
src/main/java/com/ruoyi/production/pojo/ProductionTeam.java | 70 ++++
src/main/java/com/ruoyi/production/mapper/ProductionTeamUserRelMapper.java | 18 +
src/main/java/com/ruoyi/production/service/ProductionTeamService.java | 43 ++
src/main/java/com/ruoyi/production/controller/ProductionTeamController.java | 91 +++++
16 files changed, 988 insertions(+), 0 deletions(-)
diff --git a/doc/20260511_create_table_production_team.sql b/doc/20260511_create_table_production_team.sql
new file mode 100644
index 0000000..9668d8e
--- /dev/null
+++ b/doc/20260511_create_table_production_team.sql
@@ -0,0 +1,28 @@
+#鐢熶骇鐝粍琛�
+drop table if exists production_team;
+create table production_team
+(
+ id bigint auto_increment primary key,
+ team_name varchar(100) not null comment '鐝粍鍚嶇О',
+ remark text null comment '澶囨敞',
+ tenant_id bigint not null comment '绉熸埛id',
+ create_time datetime null comment '鍒涘缓鏃堕棿',
+ update_time datetime null comment '鏇存柊鏃堕棿',
+ index idx_team_name (team_name),
+);
+
+#鐝粍鍙拌处涓庣敤鎴峰叧鑱旇〃
+drop table if exists production_team_user_rel;
+create table production_team_user_rel
+(
+ id bigint auto_increment primary key,
+ production_team_id bigint not null comment '鐢熶骇鐝粍id',
+ sys_user_id bigint not null comment '绯荤粺鐢ㄦ埛id',
+ is_leader tinyint not null default 0 comment '鏄惁涓虹彮缁勯暱 0鍚� 1鏄�',
+ tenant_id bigint not null comment '绉熸埛id',
+ create_time datetime null comment '鍒涘缓鏃堕棿',
+ update_time datetime null comment '鏇存柊鏃堕棿',
+ index idx_production_team_id (production_team_id),
+ index idx_sys_user_id (sys_user_id),
+ unique idx_production_team_user (production_team_id, sys_user_id)
+);
diff --git a/src/main/java/com/ruoyi/production/bean/dto/ProductionTeamDto.java b/src/main/java/com/ruoyi/production/bean/dto/ProductionTeamDto.java
new file mode 100644
index 0000000..b3b9f57
--- /dev/null
+++ b/src/main/java/com/ruoyi/production/bean/dto/ProductionTeamDto.java
@@ -0,0 +1,26 @@
+package com.ruoyi.production.bean.dto;
+
+import io.swagger.v3.oas.annotations.media.Schema;
+import lombok.Data;
+
+import java.util.List;
+
+@Data
+@Schema(name = "ProductionTeamDto", description = "鐢熶骇鐝粍璇锋眰鍙傛暟")
+public class ProductionTeamDto {
+
+ @Schema(description = "鐝粍ID")
+ private Long id;
+
+ @Schema(description = "鐝粍鍚嶇О")
+ private String teamName;
+
+ @Schema(description = "鐝粍闀縄D")
+ private Long leaderId;
+
+ @Schema(description = "鐝粍鎴愬憳ID鍒楄〃")
+ private List<Long> memberIds;
+
+ @Schema(description = "澶囨敞")
+ private String remark;
+}
diff --git a/src/main/java/com/ruoyi/production/bean/vo/ProductionTeamVo.java b/src/main/java/com/ruoyi/production/bean/vo/ProductionTeamVo.java
new file mode 100644
index 0000000..ae42c09
--- /dev/null
+++ b/src/main/java/com/ruoyi/production/bean/vo/ProductionTeamVo.java
@@ -0,0 +1,50 @@
+package com.ruoyi.production.bean.vo;
+
+import com.fasterxml.jackson.annotation.JsonFormat;
+import io.swagger.v3.oas.annotations.media.Schema;
+import lombok.Data;
+import org.springframework.format.annotation.DateTimeFormat;
+
+import java.time.LocalDateTime;
+import java.util.List;
+
+@Data
+@Schema(name = "ProductionTeamVo", description = "鐢熶骇鐝粍鍝嶅簲鏁版嵁")
+public class ProductionTeamVo {
+
+ @Schema(description = "鐝粍ID")
+ private Long id;
+
+ @Schema(description = "鐝粍鍚嶇О")
+ private String teamName;
+
+ @Schema(description = "鐝粍闀縄D")
+ private Long leaderId;
+
+ @Schema(description = "鐝粍闀垮鍚�")
+ private String leaderName;
+
+ @Schema(description = "鐝粍鎴愬憳鍒楄〃")
+ private List<MemberVo> members;
+
+ @Schema(description = "鍒涘缓鏃ユ湡")
+ @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
+ @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
+ private LocalDateTime createTime;
+
+ @Schema(description = "澶囨敞")
+ private String remark;
+
+ @Data
+ @Schema(name = "MemberVo", description = "鐝粍鎴愬憳淇℃伅")
+ public static class MemberVo {
+ @Schema(description = "鐢ㄦ埛ID")
+ private Long userId;
+
+ @Schema(description = "鐢ㄦ埛鏄电О")
+ private String nickName;
+
+ @Schema(description = "鏄惁涓虹彮缁勯暱")
+ private Boolean isLeader;
+ }
+}
diff --git a/src/main/java/com/ruoyi/production/controller/ProductionTeamController.java b/src/main/java/com/ruoyi/production/controller/ProductionTeamController.java
new file mode 100644
index 0000000..5fd8e95
--- /dev/null
+++ b/src/main/java/com/ruoyi/production/controller/ProductionTeamController.java
@@ -0,0 +1,91 @@
+package com.ruoyi.production.controller;
+
+import com.baomidou.mybatisplus.core.metadata.IPage;
+import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
+import com.ruoyi.framework.web.domain.R;
+import com.ruoyi.production.bean.dto.ProductionTeamDto;
+import com.ruoyi.production.bean.vo.ProductionTeamVo;
+import com.ruoyi.production.service.ProductionTeamService;
+import io.swagger.v3.oas.annotations.Operation;
+import io.swagger.v3.oas.annotations.tags.Tag;
+import org.springframework.validation.annotation.Validated;
+import org.springframework.web.bind.annotation.*;
+
+import java.util.List;
+
+/**
+ * 鐢熶骇鐝粍鎺у埗鍣�
+ */
+@RestController
+@RequestMapping("/production_team")
+@Tag(name = "鐢熶骇鐝粍绠$悊", description = "鐢熶骇鐝粍澧炲垹鏀规煡鎺ュ彛")
+public class ProductionTeamController {
+
+ private final ProductionTeamService productionTeamService;
+
+ public ProductionTeamController(ProductionTeamService productionTeamService) {
+ this.productionTeamService = productionTeamService;
+ }
+
+ /**
+ * 鍒涘缓鐝粍
+ */
+ @PostMapping
+ @Operation(summary = "鍒涘缓鐝粍", description = "鍒涘缓鐢熶骇鐝粍锛屽寘鍚彮缁勯暱鍜屾垚鍛�")
+ public R createTeam(@Validated @RequestBody ProductionTeamDto dto) {
+ boolean success = productionTeamService.createTeam(dto);
+ return success ? R.ok("鍒涘缓鎴愬姛") : R.fail("鍒涘缓澶辫触");
+ }
+
+ /**
+ * 鏇存柊鐝粍
+ */
+ @PutMapping
+ @Operation(summary = "鏇存柊鐝粍", description = "鏇存柊鐢熶骇鐝粍淇℃伅")
+ public R updateTeam(@Validated @RequestBody ProductionTeamDto dto) {
+ if (dto.getId() == null) {
+ return R.fail("鐝粍ID涓嶈兘涓虹┖");
+ }
+ boolean success = productionTeamService.updateTeam(dto);
+ return success ? R.ok("鏇存柊鎴愬姛") : R.fail("鏇存柊澶辫触");
+ }
+
+ /**
+ * 鍒犻櫎鐝粍
+ */
+ @DeleteMapping("/{id}")
+ @Operation(summary = "鍒犻櫎鐝粍", description = "鍒犻櫎鐢熶骇鐝粍")
+ public R deleteTeam(@PathVariable Long id) {
+ boolean success = productionTeamService.deleteTeam(id);
+ return success ? R.ok("鍒犻櫎鎴愬姛") : R.fail("鍒犻櫎澶辫触");
+ }
+
+ /**
+ * 鏌ヨ鐝粍璇︽儏
+ */
+ @GetMapping("/{id}")
+ @Operation(summary = "鏌ヨ鐝粍璇︽儏", description = "鏍规嵁ID鏌ヨ鐝粍璇︾粏淇℃伅锛屽寘鍚垚鍛樺垪琛�")
+ public R<ProductionTeamVo> getTeamDetail(@PathVariable Long id) {
+ ProductionTeamVo vo = productionTeamService.getTeamDetail(id);
+ return vo != null ? R.ok(vo) : R.fail("鐝粍涓嶅瓨鍦�");
+ }
+
+ /**
+ * 鏌ヨ鐝粍鍒楄〃
+ */
+ @GetMapping("/list")
+ @Operation(summary = "鏌ヨ鐝粍鍒楄〃", description = "鏌ヨ鐢熶骇鐝粍鍒楄〃锛屾敮鎸佹寜鐝粍鍚嶇О鎼滅储")
+ public R<List<ProductionTeamVo>> getTeamList(ProductionTeamDto dto) {
+ List<ProductionTeamVo> list = productionTeamService.getTeamList(dto);
+ return R.ok(list);
+ }
+
+ /**
+ * 鍒嗛〉鏌ヨ鐝粍鍒楄〃
+ */
+ @GetMapping("/listPage")
+ @Operation(summary = "鍒嗛〉鏌ヨ鐝粍鍒楄〃", description = "鍒嗛〉鏌ヨ鐢熶骇鐝粍鍒楄〃锛屾敮鎸佹寜鐝粍鍚嶇О鎼滅储")
+ public R<IPage<ProductionTeamVo>> listPage(Page<ProductionTeamDto> page, ProductionTeamDto dto) {
+ return R.ok(productionTeamService.listPage(page, dto));
+ }
+}
diff --git a/src/main/java/com/ruoyi/production/controller/ProductionTeamUserRelController.java b/src/main/java/com/ruoyi/production/controller/ProductionTeamUserRelController.java
new file mode 100644
index 0000000..67b4405
--- /dev/null
+++ b/src/main/java/com/ruoyi/production/controller/ProductionTeamUserRelController.java
@@ -0,0 +1,18 @@
+package com.ruoyi.production.controller;
+
+import org.springframework.web.bind.annotation.RequestMapping;
+import org.springframework.web.bind.annotation.RestController;
+
+/**
+ * <p>
+ * 鍓嶇鎺у埗鍣�
+ * </p>
+ *
+ * @author 鑺杞欢锛堟睙鑻忥級鏈夐檺鍏徃
+ * @since 2026-05-11 11:15:05
+ */
+@RestController
+@RequestMapping("/productionTeamUserRel")
+public class ProductionTeamUserRelController {
+
+}
diff --git a/src/main/java/com/ruoyi/production/mapper/ProductionTeamMapper.java b/src/main/java/com/ruoyi/production/mapper/ProductionTeamMapper.java
new file mode 100644
index 0000000..8eb4b6e
--- /dev/null
+++ b/src/main/java/com/ruoyi/production/mapper/ProductionTeamMapper.java
@@ -0,0 +1,36 @@
+package com.ruoyi.production.mapper;
+
+import com.baomidou.mybatisplus.core.metadata.IPage;
+import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
+import com.baomidou.mybatisplus.core.mapper.BaseMapper;
+import com.ruoyi.production.bean.dto.ProductionTeamDto;
+import com.ruoyi.production.bean.vo.ProductionTeamVo;
+import com.ruoyi.production.pojo.ProductionTeam;
+import org.apache.ibatis.annotations.Mapper;
+import org.apache.ibatis.annotations.Param;
+
+import java.util.List;
+
+@Mapper
+public interface ProductionTeamMapper extends BaseMapper<ProductionTeam> {
+
+ /**
+ * 鏌ヨ鐝粍璇︽儏锛堝寘鍚垚鍛樹俊鎭級
+ */
+ ProductionTeamVo selectTeamDetail(@Param("id") Long id);
+
+ /**
+ * 鏌ヨ鐝粍鍒楄〃锛堝寘鍚垚鍛樹俊鎭級
+ */
+ List<ProductionTeamVo> selectTeamList(@Param("dto") ProductionTeamDto dto);
+
+ /**
+ * 鍒嗛〉鏌ヨ鐝粍鍒楄〃
+ */
+ IPage<ProductionTeamVo> selectTeamPage(Page<ProductionTeamDto> page, @Param("dto") ProductionTeamDto dto);
+
+ /**
+ * 鏌ヨ鐝粍鎴愬憳鍒楄〃
+ */
+ List<ProductionTeamVo.MemberVo> selectTeamMembers(@Param("teamId") Long teamId);
+}
diff --git a/src/main/java/com/ruoyi/production/mapper/ProductionTeamUserRelMapper.java b/src/main/java/com/ruoyi/production/mapper/ProductionTeamUserRelMapper.java
new file mode 100644
index 0000000..1f5f193
--- /dev/null
+++ b/src/main/java/com/ruoyi/production/mapper/ProductionTeamUserRelMapper.java
@@ -0,0 +1,18 @@
+package com.ruoyi.production.mapper;
+
+import com.baomidou.mybatisplus.core.mapper.BaseMapper;
+import com.ruoyi.production.pojo.ProductionTeamUserRel;
+import org.apache.ibatis.annotations.Mapper;
+
+/**
+ * <p>
+ * Mapper 鎺ュ彛
+ * </p>
+ *
+ * @author 鑺杞欢锛堟睙鑻忥級鏈夐檺鍏徃
+ * @since 2026-05-11 11:15:05
+ */
+@Mapper
+public interface ProductionTeamUserRelMapper extends BaseMapper<ProductionTeamUserRel> {
+
+}
diff --git a/src/main/java/com/ruoyi/production/pojo/ProductionTeam.java b/src/main/java/com/ruoyi/production/pojo/ProductionTeam.java
new file mode 100644
index 0000000..3692919
--- /dev/null
+++ b/src/main/java/com/ruoyi/production/pojo/ProductionTeam.java
@@ -0,0 +1,70 @@
+package com.ruoyi.production.pojo;
+
+import com.baomidou.mybatisplus.annotation.FieldFill;
+import com.baomidou.mybatisplus.annotation.IdType;
+import com.baomidou.mybatisplus.annotation.TableField;
+import com.baomidou.mybatisplus.annotation.TableId;
+import com.baomidou.mybatisplus.annotation.TableName;
+import io.swagger.annotations.ApiModel;
+import io.swagger.annotations.ApiModelProperty;
+import io.swagger.v3.oas.annotations.media.Schema;
+import lombok.Getter;
+import lombok.Setter;
+import lombok.ToString;
+
+import java.io.Serializable;
+import java.time.LocalDateTime;
+
+/**
+ * <p>
+ *
+ * </p>
+ *
+ * @author 鑺杞欢锛堟睙鑻忥級鏈夐檺鍏徃
+ * @since 2026-05-11 11:15:05
+ */
+@Getter
+@Setter
+@ToString
+@TableName("production_team")
+@ApiModel(value = "ProductionTeam瀵硅薄", description = "")
+public class ProductionTeam implements Serializable {
+
+ private static final long serialVersionUID = 1L;
+
+ @TableId(value = "id", type = IdType.AUTO)
+ private Long id;
+
+ /**
+ * 鐝粍鍚嶇О
+ */
+ @ApiModelProperty("鐝粍鍚嶇О")
+ private String teamName;
+
+ /**
+ * 澶囨敞
+ */
+ @ApiModelProperty("澶囨敞")
+ private String remark;
+
+ /**
+ * 绉熸埛id
+ */
+ @ApiModelProperty("绉熸埛id")
+ @TableField(fill = FieldFill.INSERT)
+ private Long tenantId;
+
+ /**
+ * 鍒涘缓鏃堕棿
+ */
+ @ApiModelProperty("鍒涘缓鏃堕棿")
+ @TableField(fill = FieldFill.INSERT)
+ private LocalDateTime createTime;
+
+ /**
+ * 鏇存柊鏃堕棿
+ */
+ @ApiModelProperty("鏇存柊鏃堕棿")
+ @TableField(fill = FieldFill.INSERT_UPDATE)
+ private LocalDateTime updateTime;
+}
diff --git a/src/main/java/com/ruoyi/production/pojo/ProductionTeamUserRel.java b/src/main/java/com/ruoyi/production/pojo/ProductionTeamUserRel.java
new file mode 100644
index 0000000..660d858
--- /dev/null
+++ b/src/main/java/com/ruoyi/production/pojo/ProductionTeamUserRel.java
@@ -0,0 +1,75 @@
+package com.ruoyi.production.pojo;
+
+import com.baomidou.mybatisplus.annotation.FieldFill;
+import com.baomidou.mybatisplus.annotation.IdType;
+import com.baomidou.mybatisplus.annotation.TableField;
+import com.baomidou.mybatisplus.annotation.TableId;
+import com.baomidou.mybatisplus.annotation.TableName;
+import io.swagger.annotations.ApiModel;
+import io.swagger.annotations.ApiModelProperty;
+import lombok.Getter;
+import lombok.Setter;
+import lombok.ToString;
+
+import java.io.Serializable;
+import java.time.LocalDateTime;
+
+/**
+ * <p>
+ *
+ * </p>
+ *
+ * @author 鑺杞欢锛堟睙鑻忥級鏈夐檺鍏徃
+ * @since 2026-05-11 11:15:05
+ */
+@Getter
+@Setter
+@ToString
+@TableName("production_team_user_rel")
+@ApiModel(value = "ProductionTeamUserRel瀵硅薄", description = "")
+public class ProductionTeamUserRel implements Serializable {
+
+ private static final long serialVersionUID = 1L;
+
+ @TableId(value = "id", type = IdType.AUTO)
+ private Long id;
+
+ /**
+ * 鐢熶骇鐝粍id
+ */
+ @ApiModelProperty("鐢熶骇鐝粍id")
+ private Long productionTeamId;
+
+ /**
+ * 绯荤粺鐢ㄦ埛id
+ */
+ @ApiModelProperty("绯荤粺鐢ㄦ埛id")
+ private Long sysUserId;
+
+ /**
+ * 鏄惁涓虹彮缁勯暱 0鍚� 1鏄�
+ */
+ @ApiModelProperty("鏄惁涓虹彮缁勯暱 0鍚� 1鏄�")
+ private Byte isLeader;
+
+ /**
+ * 绉熸埛id
+ */
+ @ApiModelProperty("绉熸埛id")
+ @TableField(fill = FieldFill.INSERT)
+ private Long tenantId;
+
+ /**
+ * 鍒涘缓鏃堕棿
+ */
+ @ApiModelProperty("鍒涘缓鏃堕棿")
+ @TableField(fill = FieldFill.INSERT)
+ private LocalDateTime createTime;
+
+ /**
+ * 鏇存柊鏃堕棿
+ */
+ @ApiModelProperty("鏇存柊鏃堕棿")
+ @TableField(fill = FieldFill.INSERT_UPDATE)
+ private LocalDateTime updateTime;
+}
diff --git a/src/main/java/com/ruoyi/production/service/ProductionTeamService.java b/src/main/java/com/ruoyi/production/service/ProductionTeamService.java
new file mode 100644
index 0000000..c846a41
--- /dev/null
+++ b/src/main/java/com/ruoyi/production/service/ProductionTeamService.java
@@ -0,0 +1,43 @@
+package com.ruoyi.production.service;
+
+import com.baomidou.mybatisplus.core.metadata.IPage;
+import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
+import com.ruoyi.production.bean.dto.ProductionTeamDto;
+import com.ruoyi.production.bean.vo.ProductionTeamVo;
+import com.ruoyi.production.pojo.ProductionTeam;
+import com.baomidou.mybatisplus.extension.service.IService;
+
+import java.util.List;
+
+public interface ProductionTeamService extends IService<ProductionTeam> {
+
+ /**
+ * 鍒涘缓鐝粍锛堝寘鍚垚鍛樺叧绯伙級
+ */
+ boolean createTeam(ProductionTeamDto dto);
+
+ /**
+ * 鏇存柊鐝粍锛堝寘鍚垚鍛樺叧绯伙級
+ */
+ boolean updateTeam(ProductionTeamDto dto);
+
+ /**
+ * 鍒犻櫎鐝粍锛堢骇鑱斿垹闄ゆ垚鍛樺叧绯伙級
+ */
+ boolean deleteTeam(Long id);
+
+ /**
+ * 鏌ヨ鐝粍璇︽儏
+ */
+ ProductionTeamVo getTeamDetail(Long id);
+
+ /**
+ * 鏌ヨ鐝粍鍒楄〃
+ */
+ List<ProductionTeamVo> getTeamList(ProductionTeamDto dto);
+
+ /**
+ * 鍒嗛〉鏌ヨ鐝粍鍒楄〃
+ */
+ IPage<ProductionTeamVo> listPage(Page<ProductionTeamDto> page, ProductionTeamDto dto);
+}
diff --git a/src/main/java/com/ruoyi/production/service/ProductionTeamUserRelService.java b/src/main/java/com/ruoyi/production/service/ProductionTeamUserRelService.java
new file mode 100644
index 0000000..cb28716
--- /dev/null
+++ b/src/main/java/com/ruoyi/production/service/ProductionTeamUserRelService.java
@@ -0,0 +1,16 @@
+package com.ruoyi.production.service;
+
+import com.ruoyi.production.pojo.ProductionTeamUserRel;
+import com.baomidou.mybatisplus.extension.service.IService;
+
+/**
+ * <p>
+ * 鏈嶅姟绫�
+ * </p>
+ *
+ * @author 鑺杞欢锛堟睙鑻忥級鏈夐檺鍏徃
+ * @since 2026-05-11 11:15:05
+ */
+public interface ProductionTeamUserRelService extends IService<ProductionTeamUserRel> {
+
+}
diff --git a/src/main/java/com/ruoyi/production/service/impl/ProductionTeamServiceImpl.java b/src/main/java/com/ruoyi/production/service/impl/ProductionTeamServiceImpl.java
new file mode 100644
index 0000000..2cb5dfe
--- /dev/null
+++ b/src/main/java/com/ruoyi/production/service/impl/ProductionTeamServiceImpl.java
@@ -0,0 +1,137 @@
+package com.ruoyi.production.service.impl;
+
+import com.baomidou.mybatisplus.core.metadata.IPage;
+import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
+import com.ruoyi.production.bean.dto.ProductionTeamDto;
+import com.ruoyi.production.bean.vo.ProductionTeamVo;
+import com.ruoyi.production.mapper.ProductionTeamMapper;
+import com.ruoyi.production.pojo.ProductionTeam;
+import com.ruoyi.production.pojo.ProductionTeamUserRel;
+import com.ruoyi.production.service.ProductionTeamService;
+import com.ruoyi.production.service.ProductionTeamUserRelService;
+import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
+import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
+import lombok.RequiredArgsConstructor;
+import org.springframework.stereotype.Service;
+import org.springframework.transaction.annotation.Transactional;
+import org.springframework.util.CollectionUtils;
+
+import java.util.List;
+
+@Service
+@RequiredArgsConstructor
+public class ProductionTeamServiceImpl extends ServiceImpl<ProductionTeamMapper, ProductionTeam> implements ProductionTeamService {
+
+ private final ProductionTeamUserRelService teamUserRelService;
+
+ @Override
+ @Transactional(rollbackFor = Exception.class)
+ public boolean createTeam(ProductionTeamDto dto) {
+ // 鍒涘缓鐝粍
+ ProductionTeam team = new ProductionTeam();
+ team.setTeamName(dto.getTeamName());
+ team.setRemark(dto.getRemark());
+ this.save(team);
+
+ // 淇濆瓨鎴愬憳鍏崇郴
+ saveTeamUserRel(team.getId(), dto.getLeaderId(), dto.getMemberIds());
+
+ return true;
+ }
+
+ @Override
+ @Transactional(rollbackFor = Exception.class)
+ public boolean updateTeam(ProductionTeamDto dto) {
+ // 鏇存柊鐝粍
+ ProductionTeam team = new ProductionTeam();
+ team.setId(dto.getId());
+ team.setTeamName(dto.getTeamName());
+ team.setRemark(dto.getRemark());
+ this.updateById(team);
+
+ // 鍒犻櫎鍘熸湁鎴愬憳鍏崇郴
+ QueryWrapper<ProductionTeamUserRel> wrapper = new QueryWrapper<>();
+ wrapper.eq("production_team_id", dto.getId());
+ teamUserRelService.remove(wrapper);
+
+ // 淇濆瓨鏂扮殑鎴愬憳鍏崇郴
+ saveTeamUserRel(dto.getId(), dto.getLeaderId(), dto.getMemberIds());
+
+ return true;
+ }
+
+ @Override
+ @Transactional(rollbackFor = Exception.class)
+ public boolean deleteTeam(Long id) {
+ // 鍒犻櫎鎴愬憳鍏崇郴
+ QueryWrapper<ProductionTeamUserRel> wrapper = new QueryWrapper<>();
+ wrapper.eq("production_team_id", id);
+ teamUserRelService.remove(wrapper);
+
+ // 鍒犻櫎鐝粍
+ return this.removeById(id);
+ }
+
+ @Override
+ public ProductionTeamVo getTeamDetail(Long id) {
+ ProductionTeamVo teamVo = getBaseMapper().selectTeamDetail(id);
+ if (teamVo != null) {
+ // 鍔犺浇鎴愬憳鍒楄〃
+ List<ProductionTeamVo.MemberVo> members = getBaseMapper().selectTeamMembers(id);
+ teamVo.setMembers(members);
+ }
+ return teamVo;
+ }
+
+ @Override
+ public List<ProductionTeamVo> getTeamList(ProductionTeamDto dto) {
+ List<ProductionTeamVo> teamList = getBaseMapper().selectTeamList(dto);
+ // 涓烘瘡涓彮缁勫姞杞芥垚鍛樺垪琛�
+ for (ProductionTeamVo teamVo : teamList) {
+ List<ProductionTeamVo.MemberVo> members = getBaseMapper().selectTeamMembers(teamVo.getId());
+ teamVo.setMembers(members);
+ }
+ return teamList;
+ }
+
+ @Override
+ public IPage<ProductionTeamVo> listPage(Page<ProductionTeamDto> page, ProductionTeamDto dto) {
+ IPage<ProductionTeamVo> resultPage = getBaseMapper().selectTeamPage(page, dto);
+ // 涓烘瘡涓彮缁勫姞杞芥垚鍛樺垪琛�
+ for (ProductionTeamVo teamVo : resultPage.getRecords()) {
+ List<ProductionTeamVo.MemberVo> members = getBaseMapper().selectTeamMembers(teamVo.getId());
+ teamVo.setMembers(members);
+ }
+ return resultPage;
+ }
+
+ /**
+ * 淇濆瓨鐝粍鐢ㄦ埛鍏崇郴
+ */
+ private void saveTeamUserRel(Long teamId, Long leaderId, List<Long> memberIds) {
+ // 淇濆瓨鐝粍闀�
+ if (leaderId != null) {
+ ProductionTeamUserRel leaderRel = new ProductionTeamUserRel();
+ leaderRel.setProductionTeamId(teamId);
+ leaderRel.setSysUserId(leaderId);
+ leaderRel.setIsLeader((byte) 1);
+ teamUserRelService.save(leaderRel);
+ }
+
+ // 淇濆瓨鎴愬憳
+ if (!CollectionUtils.isEmpty(memberIds)) {
+ for (Long memberId : memberIds) {
+ // 璺宠繃鐝粍闀匡紙宸蹭繚瀛橈級
+ if (leaderId != null && leaderId.equals(memberId)) {
+ continue;
+ }
+
+ ProductionTeamUserRel memberRel = new ProductionTeamUserRel();
+ memberRel.setProductionTeamId(teamId);
+ memberRel.setSysUserId(memberId);
+ memberRel.setIsLeader((byte) 0);
+ teamUserRelService.save(memberRel);
+ }
+ }
+ }
+}
diff --git a/src/main/java/com/ruoyi/production/service/impl/ProductionTeamUserRelServiceImpl.java b/src/main/java/com/ruoyi/production/service/impl/ProductionTeamUserRelServiceImpl.java
new file mode 100644
index 0000000..ff65c2c
--- /dev/null
+++ b/src/main/java/com/ruoyi/production/service/impl/ProductionTeamUserRelServiceImpl.java
@@ -0,0 +1,22 @@
+package com.ruoyi.production.service.impl;
+
+import com.ruoyi.production.pojo.ProductionTeamUserRel;
+import com.ruoyi.production.mapper.ProductionTeamUserRelMapper;
+import com.ruoyi.production.service.ProductionTeamUserRelService;
+import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
+import lombok.RequiredArgsConstructor;
+import org.springframework.stereotype.Service;
+
+/**
+ * <p>
+ * 鏈嶅姟瀹炵幇绫�
+ * </p>
+ *
+ * @author 鑺杞欢锛堟睙鑻忥級鏈夐檺鍏徃
+ * @since 2026-05-11 11:15:05
+ */
+@Service
+@RequiredArgsConstructor
+public class ProductionTeamUserRelServiceImpl extends ServiceImpl<ProductionTeamUserRelMapper, ProductionTeamUserRel> implements ProductionTeamUserRelService {
+
+}
diff --git a/src/main/resources/application-qllx.yml b/src/main/resources/application-qllx.yml
new file mode 100644
index 0000000..9554729
--- /dev/null
+++ b/src/main/resources/application-qllx.yml
@@ -0,0 +1,266 @@
+# 椤圭洰鐩稿叧閰嶇疆
+ruoyi:
+ # 鍚嶇О
+ name: RuoYi
+ # 鐗堟湰
+ version: 3.8.9
+ # 鐗堟潈骞翠唤
+ copyrightYear: 2025
+ # 鏂囦欢璺緞 绀轰緥锛� Windows閰嶇疆D:/ruoyi/uploadPath锛孡inux閰嶇疆 /home/ruoyi/uploadPath锛�
+ profile: D:/ruoyi/uploadPath
+
+ # 鑾峰彇ip鍦板潃寮�鍏�
+ addressEnabled: false
+ # 楠岃瘉鐮佺被鍨� math 鏁板瓧璁$畻 char 瀛楃楠岃瘉
+ captchaType: math
+ # 鍗忓悓瀹℃壒缂栧彿鍓嶇紑(閰嶇疆鏂囦欢鍚庣紑鍛藉悕)
+ approvalNumberPrefix: DEV
+
+ # 涓帹 Unipush 閰嶇疆
+ getui:
+ appId: PfjyAAE0FK64FaO1w2CMb1
+ appKey: zTMb831OEL6J4GK1uE3Ob4
+ masterSecret: K1GFtsv42v61tXGnF7SGE5
+ domain: https://restapi.getui.cn/v2/
+ # 绂荤嚎鎺ㄩ�佷娇鐢ㄧ殑鍖呭悕/缁勪欢鍚�
+ intentComponent: uni.app.UNI099A590/io.dcloud.PandoraEntry
+
+# 寮�鍙戠幆澧冮厤缃�
+server:
+ # 鏈嶅姟鍣ㄧ殑HTTP绔彛锛岄粯璁や负8080
+ port: 7003
+ servlet:
+ # 搴旂敤鐨勮闂矾寰�
+ context-path: /
+ tomcat:
+ # tomcat鐨刄RI缂栫爜
+ uri-encoding: UTF-8
+ # 杩炴帴鏁版弧鍚庣殑鎺掗槦鏁帮紝榛樿涓�100
+ accept-count: 1000
+ max-swallow-size: -1 # -1 琛ㄧず涓嶉檺鍒�
+ max-http-form-post-size: -1 # POST 璇锋眰浣撲笉闄愬埗
+ connection-timeout: 60000 # 杩炴帴瓒呮椂鏃堕棿(姣)
+ threads:
+ # tomcat鏈�澶х嚎绋嬫暟锛岄粯璁や负200
+ max: 800
+ # Tomcat鍚姩鍒濆鍖栫殑绾跨▼鏁帮紝榛樿鍊�10
+ min-spare: 100
+
+# 鏃ュ織閰嶇疆
+logging:
+ level:
+ org.quartz: DEBUG
+ com.ruoyi: warn
+ org.springframework: warn
+
+# 鐢ㄦ埛閰嶇疆
+user:
+ password:
+ # 瀵嗙爜鏈�澶ч敊璇鏁�
+ maxRetryCount: 5
+ # 瀵嗙爜閿佸畾鏃堕棿锛堥粯璁�10鍒嗛挓锛�
+ lockTime: 10
+
+# Spring閰嶇疆
+spring:
+ main:
+ allow-circular-references: true # 鍏佽寰幆渚濊禆
+ datasource:
+ type: com.alibaba.druid.pool.DruidDataSource
+ driverClassName: com.mysql.cj.jdbc.Driver
+ druid:
+ # 涓诲簱鏁版嵁婧�
+ master:
+ url: jdbc:mysql://localhost:3306/product-inventory-management-qllx?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8
+ username: root
+ password: 123456
+ # 浠庡簱鏁版嵁婧�
+ slave:
+ # 浠庢暟鎹簮寮�鍏�/榛樿鍏抽棴
+ enabled: false
+ url:
+ username:
+ password:
+ # 鍒濆杩炴帴鏁�
+ initialSize: 5
+ # 鏈�灏忚繛鎺ユ睜鏁伴噺
+ minIdle: 10
+ # 鏈�澶ц繛鎺ユ睜鏁伴噺
+ maxActive: 20
+ # 閰嶇疆鑾峰彇杩炴帴绛夊緟瓒呮椂鐨勬椂闂�
+ maxWait: 60000
+ # 閰嶇疆杩炴帴瓒呮椂鏃堕棿
+ connectTimeout: 30000
+ # 閰嶇疆缃戠粶瓒呮椂鏃堕棿
+ socketTimeout: 60000
+ # 閰嶇疆闂撮殧澶氫箙鎵嶈繘琛屼竴娆℃娴嬶紝妫�娴嬮渶瑕佸叧闂殑绌洪棽杩炴帴锛屽崟浣嶆槸姣
+ timeBetweenEvictionRunsMillis: 60000
+ # 閰嶇疆涓�涓繛鎺ュ湪姹犱腑鏈�灏忕敓瀛樼殑鏃堕棿锛屽崟浣嶆槸姣
+ minEvictableIdleTimeMillis: 300000
+ # 閰嶇疆涓�涓繛鎺ュ湪姹犱腑鏈�澶х敓瀛樼殑鏃堕棿锛屽崟浣嶆槸姣
+ maxEvictableIdleTimeMillis: 900000
+ # 閰嶇疆妫�娴嬭繛鎺ユ槸鍚︽湁鏁�
+ validationQuery: SELECT 1 FROM DUAL
+ testWhileIdle: true
+ testOnBorrow: false
+ testOnReturn: false
+ webStatFilter:
+ enabled: true
+ statViewServlet:
+ enabled: true
+ # 璁剧疆鐧藉悕鍗曪紝涓嶅~鍒欏厑璁告墍鏈夎闂�
+ allow:
+ url-pattern: /druid/*
+ # 鎺у埗鍙扮鐞嗙敤鎴峰悕鍜屽瘑鐮�
+ login-username: ruoyi
+ login-password: 123456
+ filter:
+ stat:
+ enabled: true
+ # 鎱QL璁板綍
+ log-slow-sql: true
+ slow-sql-millis: 1000
+ merge-sql: true
+ wall:
+ config:
+ multi-statement-allow: true
+ # 璧勬簮淇℃伅
+ messages:
+ # 鍥介檯鍖栬祫婧愭枃浠惰矾寰�
+ basename: i18n/messages
+ # 鏂囦欢涓婁紶
+ servlet:
+ multipart:
+ # 鍗曚釜鏂囦欢澶у皬
+ max-file-size: 1GB
+ # 璁剧疆鎬讳笂浼犵殑鏂囦欢澶у皬
+ max-request-size: 2GB
+ # 鏈嶅姟妯″潡
+ devtools:
+ restart:
+ # 鐑儴缃插紑鍏�
+ enabled: false
+ # redis 閰嶇疆
+ data:
+ mongodb:
+ uri: mongodb://114.132.189.42:9028/chat_memory_db
+ # redis 閰嶇疆
+ redis:
+ # 鍦板潃
+ host: 127.0.0.1
+ # host: 172.17.0.1
+ # 绔彛锛岄粯璁や负6379
+ port: 6379
+ # 鏁版嵁搴撶储寮�
+ database: 0
+ # 瀵嗙爜
+ # password: root2022!
+ password:
+
+ # 杩炴帴瓒呮椂鏃堕棿
+ timeout: 10s
+ lettuce:
+ pool:
+ # 杩炴帴姹犱腑鐨勬渶灏忕┖闂茶繛鎺�
+ min-idle: 0
+ # 杩炴帴姹犱腑鐨勬渶澶х┖闂茶繛鎺�
+ max-idle: 8
+ # 杩炴帴姹犵殑鏈�澶ф暟鎹簱杩炴帴鏁�
+ max-active: 8
+ # #杩炴帴姹犳渶澶ч樆濉炵瓑寰呮椂闂达紙浣跨敤璐熷�艰〃绀烘病鏈夐檺鍒讹級
+ max-wait: -1ms
+ # Quartz瀹氭椂浠诲姟閰嶇疆锛堟柊澧為儴鍒嗭級
+ quartz:
+ job-store-type: jdbc # 浣跨敤鏁版嵁搴撳瓨鍌�
+ jdbc:
+ initialize-schema: never # 棣栨杩愯鏃惰嚜鍔ㄥ垱寤鸿〃缁撴瀯锛屾垚鍔熷悗鏀逛负never
+ schema: classpath:org/quartz/impl/jdbcjobstore/tables_mysql_innodb.sql # MySQL琛ㄧ粨鏋勮剼鏈�
+ properties:
+ org:
+ quartz:
+ scheduler:
+ instanceName: RuoYiScheduler
+ instanceId: AUTO
+ jobStore:
+ class: org.quartz.impl.jdbcjobstore.JobStoreTX
+ driverDelegateClass: org.quartz.impl.jdbcjobstore.StdJDBCDelegate # MySQL閫傞厤
+ tablePrefix: qrtz_ # 琛ㄥ悕鍓嶇紑锛屼笌鑴氭湰涓�鑷�
+ isClustered: false # 鍗曡妭鐐规ā寮忥紙闆嗙兢闇�鏀逛负true锛�
+ clusterCheckinInterval: 10000
+ txIsolationLevelSerializable: true
+ threadPool:
+ class: org.quartz.simpl.SimpleThreadPool
+ threadCount: 10 # 绾跨▼姹犲ぇ灏�
+ threadPriority: 5
+ makeThreadsDaemons: true
+ updateCheck: false # 鍏抽棴鐗堟湰妫�鏌�
+
+# token閰嶇疆
+token:
+ # 浠ょ墝鑷畾涔夋爣璇�
+ header: Authorization
+ # 浠ょ墝瀵嗛挜 鏂扮増jwt瀵嗛挜闀垮害蹇呴』64浣嶄互涓�
+ secret: xpAVjhCjQDaDB7mjPAzMDSbQWXNu2zYkTdDNUsPMS5Xx8QMmQVYN7n74eZrYJxDJ
+ # 浠ょ墝鏈夋晥鏈燂紙榛樿30鍒嗛挓锛�
+ expireTime: 450
+
+# MyBatis Plus閰嶇疆
+mybatis-plus:
+ # 鎼滅储鎸囧畾鍖呭埆鍚� 鏍规嵁鑷繁鐨勯」鐩潵
+ typeAliasesPackage: com.ruoyi.**.pojo
+ # 閰嶇疆mapper鐨勬壂鎻忥紝鎵惧埌鎵�鏈夌殑mapper.xml鏄犲皠鏂囦欢
+ mapperLocations: classpath*:mapper/**/*Mapper.xml
+ # 鍔犺浇鍏ㄥ眬鐨勯厤缃枃浠�
+ configLocation: classpath:mybatis/mybatis-config.xml
+ global-config:
+ enable-sql-runner: true
+ db-config:
+ id-type: auto
+
+# PageHelper鍒嗛〉鎻掍欢
+pagehelper:
+ helperDialect: mysql
+ supportMethodsArguments: true
+ params: count=countSql
+
+# Swagger閰嶇疆
+swagger:
+ # 鏄惁寮�鍚痵wagger
+ enabled: true
+ # 璇锋眰鍓嶇紑
+ pathMapping: /dev-api
+
+# 闃叉XSS鏀诲嚮
+xss:
+ # 杩囨护寮�鍏�
+ enabled: true
+ # 鎺掗櫎閾炬帴锛堝涓敤閫楀彿鍒嗛殧锛�
+ excludes: /system/notice
+ # 鍖归厤閾炬帴
+ urlPatterns: /system/*,/monitor/*,/tool/*
+
+# 浠g爜鐢熸垚
+gen:
+ # 浣滆��
+ author: ruoyi
+ # 榛樿鐢熸垚鍖呰矾寰� system 闇�鏀规垚鑷繁鐨勬ā鍧楀悕绉� 濡� system monitor tool
+ packageName: com.ruoyi.project.system
+ # 鑷姩鍘婚櫎琛ㄥ墠缂�锛岄粯璁ゆ槸true
+ autoRemovePre: false
+ # 琛ㄥ墠缂�锛堢敓鎴愮被鍚嶄笉浼氬寘鍚〃鍓嶇紑锛屽涓敤閫楀彿鍒嗛殧锛�
+ tablePrefix: sys_
+ # 鏄惁鍏佽鐢熸垚鏂囦欢瑕嗙洊鍒版湰鍦帮紙鑷畾涔夎矾寰勶級锛岄粯璁や笉鍏佽
+ allowOverwrite: false
+
+# 鏂囦欢涓婁紶閰嶇疆
+file:
+ temp-dir: D:/ruoyi/temp/uploads # 涓存椂鐩綍 鍚庢湡鍒犻櫎
+ upload-dir: D:/ruoyi/prod/uploads # 姝e紡鐩綍 鍚庢湡鍒犻櫎
+ path: C:/Users/12631/Desktop/download/uploads # 涓婁紶鐩綍
+ urlPrefix: /common # 閾炬帴鍓嶇紑
+ domain: http://127.0.0.1:7003 # 鍩熷悕鍓嶇紑
+ expired: 120 # 杩囨湡鏃堕棿(鍗曚綅:鍒嗛挓)
+ useLimit: 10 # 浣跨敤娆℃暟
+ compress: true # 鏄惁鍘嬬缉
+ needCompressSize: 10MB # 鍘嬬缉闃堝��
+ compressQuality: 0.5 # 鍘嬬缉璐ㄩ噺(0.0-1.0)
diff --git a/src/main/resources/mapper/production/ProductionTeamMapper.xml b/src/main/resources/mapper/production/ProductionTeamMapper.xml
new file mode 100644
index 0000000..8bcc6c6
--- /dev/null
+++ b/src/main/resources/mapper/production/ProductionTeamMapper.xml
@@ -0,0 +1,76 @@
+<?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.ruoyi.production.mapper.ProductionTeamMapper">
+
+ <resultMap id="TeamDetailMap" type="com.ruoyi.production.bean.vo.ProductionTeamVo">
+ <id property="id" column="id"/>
+ <result property="teamName" column="team_name"/>
+ <result property="leaderId" column="leader_id"/>
+ <result property="leaderName" column="leader_name"/>
+ <result property="remark" column="remark"/>
+ <result property="createTime" column="create_time"/>
+ </resultMap>
+
+ <select id="selectTeamDetail" resultMap="TeamDetailMap">
+ SELECT
+ t.id,
+ t.team_name,
+ leader.sys_user_id as leader_id,
+ u.nick_name as leader_name,
+ t.remark,
+ t.create_time
+ FROM production_team t
+ LEFT JOIN production_team_user_rel leader ON t.id = leader.production_team_id AND leader.is_leader = 1
+ LEFT JOIN sys_user u ON leader.sys_user_id = u.user_id
+ WHERE t.id = #{id}
+ </select>
+
+ <select id="selectTeamMembers" resultType="com.ruoyi.production.bean.vo.ProductionTeamVo$MemberVo">
+ SELECT
+ rel.sys_user_id as userId,
+ u.nick_name as nickName,
+ rel.is_leader as isLeader
+ FROM production_team_user_rel rel
+ LEFT JOIN sys_user u ON rel.sys_user_id = u.user_id
+ WHERE rel.production_team_id = #{teamId}
+ ORDER BY rel.is_leader DESC
+ </select>
+
+ <select id="selectTeamList" resultMap="TeamDetailMap">
+ SELECT
+ t.id,
+ t.team_name,
+ leader.sys_user_id as leader_id,
+ u.nick_name as leader_name,
+ t.remark,
+ t.create_time
+ FROM production_team t
+ LEFT JOIN production_team_user_rel leader ON t.id = leader.production_team_id AND leader.is_leader = 1
+ LEFT JOIN sys_user u ON leader.sys_user_id = u.user_id
+ <where>
+ <if test="dto.teamName != null and dto.teamName != ''">
+ AND t.team_name LIKE CONCAT('%', #{dto.teamName}, '%')
+ </if>
+ </where>
+ ORDER BY t.create_time DESC
+ </select>
+
+ <select id="selectTeamPage" resultMap="TeamDetailMap">
+ SELECT
+ t.id,
+ t.team_name,
+ leader.sys_user_id as leader_id,
+ u.nick_name as leader_name,
+ t.remark,
+ t.create_time
+ FROM production_team t
+ LEFT JOIN production_team_user_rel leader ON t.id = leader.production_team_id AND leader.is_leader = 1
+ LEFT JOIN sys_user u ON leader.sys_user_id = u.user_id
+ <where>
+ <if test="dto.teamName != null and dto.teamName != ''">
+ AND t.team_name LIKE CONCAT('%', #{dto.teamName}, '%')
+ </if>
+ </where>
+ ORDER BY t.create_time DESC
+ </select>
+</mapper>
diff --git a/src/main/resources/mapper/production/ProductionTeamUserRelMapper.xml b/src/main/resources/mapper/production/ProductionTeamUserRelMapper.xml
new file mode 100644
index 0000000..deb74c8
--- /dev/null
+++ b/src/main/resources/mapper/production/ProductionTeamUserRelMapper.xml
@@ -0,0 +1,16 @@
+<?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.ruoyi.production.mapper.ProductionTeamUserRelMapper">
+
+ <!-- 閫氱敤鏌ヨ鏄犲皠缁撴灉 -->
+ <resultMap id="BaseResultMap" type="com.ruoyi.production.pojo.ProductionTeamUserRel">
+ <id column="id" property="id" />
+ <result column="production_team_id" property="productionTeamId" />
+ <result column="sys_user_id" property="sysUserId" />
+ <result column="is_leader" property="isLeader" />
+ <result column="tenant_id" property="tenantId" />
+ <result column="create_time" property="createTime" />
+ <result column="update_time" property="updateTime" />
+ </resultMap>
+
+</mapper>
--
Gitblit v1.9.3