From 70b9d626aa9e177d8be559c9dbe0bd43c50374f9 Mon Sep 17 00:00:00 2001
From: zxl <763096477@qq.com>
Date: 星期五, 05 十二月 2025 17:11:15 +0800
Subject: [PATCH] 日程
---
business/src/main/java/com/ycl/domain/vo/WorkStationScheduleVO.java | 50 ++++
business/src/main/java/com/ycl/controller/WorkStationScheduleController.java | 84 +++++++
business/src/main/java/com/ycl/domain/form/WorkStationScheduleForm.java | 54 ++++
business/src/main/java/com/ycl/domain/query/WorkStationScheduleQuery.java | 17 +
business/src/main/resources/mapper/WorkStationScheduleMapper.xml | 44 ++++
business/src/main/java/com/ycl/domain/entity/WorkStationSchedule.java | 39 +++
business/src/main/java/com/ycl/service/impl/WorkStationScheduleServiceImpl.java | 192 +++++++++++++++++
business/src/main/java/com/ycl/mapper/WorkStationScheduleMapper.java | 32 ++
business/src/main/java/com/ycl/service/WorkStationScheduleService.java | 69 ++++++
common/src/main/java/com/ycl/common/enums/business/WorkStationEnum.java | 20 +
10 files changed, 601 insertions(+), 0 deletions(-)
diff --git a/business/src/main/java/com/ycl/controller/WorkStationScheduleController.java b/business/src/main/java/com/ycl/controller/WorkStationScheduleController.java
new file mode 100644
index 0000000..a753b82
--- /dev/null
+++ b/business/src/main/java/com/ycl/controller/WorkStationScheduleController.java
@@ -0,0 +1,84 @@
+package com.ycl.controller;
+
+import com.ycl.common.group.Update;
+import com.ycl.common.group.Add;
+import org.springframework.validation.annotation.Validated;
+import org.springframework.security.access.prepost.PreAuthorize;
+import lombok.RequiredArgsConstructor;
+import java.util.List;
+import javax.validation.constraints.NotEmpty;
+import io.swagger.annotations.Api;
+import io.swagger.annotations.ApiOperation;
+import com.ycl.service.WorkStationScheduleService;
+import com.ycl.common.base.Result;
+import com.ycl.domain.form.WorkStationScheduleForm;
+import com.ycl.domain.query.WorkStationScheduleQuery;
+import org.springframework.web.bind.annotation.*;
+
+/**
+ * 鍓嶇鎺у埗鍣�
+ *
+ * @author zxl
+ * @since 2025-12-05
+ */
+@Validated
+@RequiredArgsConstructor
+@Api(value = "", tags = "鏃ョ▼绠$悊")
+@RestController
+@RequestMapping("/work-station-schedule")
+public class WorkStationScheduleController {
+
+ private final WorkStationScheduleService workStationScheduleService;
+
+ @PostMapping
+ @ApiOperation(value = "娣诲姞", notes = "娣诲姞")
+ public Result add(@RequestBody @Validated(Add.class) WorkStationScheduleForm form) {
+ return workStationScheduleService.add(form);
+ }
+
+ @PutMapping
+ @ApiOperation(value = "淇敼", notes = "淇敼")
+ public Result update(@RequestBody @Validated(Update.class) WorkStationScheduleForm form) {
+ return workStationScheduleService.update(form);
+ }
+
+ @DeleteMapping("/{id}")
+ @ApiOperation(value = "ID鍒犻櫎", notes = "ID鍒犻櫎")
+ public Result removeById(@PathVariable("id") String id) {
+ return workStationScheduleService.removeById(id);
+ }
+
+ @DeleteMapping("/batch")
+ @ApiOperation(value = "鎵归噺鍒犻櫎", notes = "鎵归噺鍒犻櫎")
+ public Result remove(@RequestBody @NotEmpty(message = "璇烽�夋嫨鏁版嵁") List<String> ids) {
+ return workStationScheduleService.remove(ids);
+ }
+
+ @GetMapping("/page")
+ @ApiOperation(value = "鍒嗛〉", notes = "鍒嗛〉")
+ public Result page(WorkStationScheduleQuery query) {
+ return workStationScheduleService.page(query);
+ }
+
+ @GetMapping("/{id}")
+ @ApiOperation(value = "璇︽儏", notes = "璇︽儏")
+ public Result detail(@PathVariable("id") Integer id) {
+ return workStationScheduleService.detail(id);
+ }
+
+ @GetMapping("/list")
+ @ApiOperation(value = "鍒楄〃", notes = "鍒楄〃")
+ public Result list() {
+ return workStationScheduleService.all();
+ }
+
+ /**
+ *
+ * 缁熻涓汉鎴愬氨
+ * @return
+ */
+ @GetMapping("/countAchievements")
+ public Result countAchievements(){
+ return workStationScheduleService.countAchievements();
+ }
+}
diff --git a/business/src/main/java/com/ycl/domain/entity/WorkStationSchedule.java b/business/src/main/java/com/ycl/domain/entity/WorkStationSchedule.java
new file mode 100644
index 0000000..f9e3708
--- /dev/null
+++ b/business/src/main/java/com/ycl/domain/entity/WorkStationSchedule.java
@@ -0,0 +1,39 @@
+package com.ycl.domain.entity;
+
+import com.baomidou.mybatisplus.annotation.TableField;
+import com.baomidou.mybatisplus.annotation.TableName;
+
+import java.time.LocalDateTime;
+import java.util.Date;
+
+import com.ycl.system.domain.base.AbsEntity;
+import lombok.Data;
+
+/**
+ *
+ *
+ * @author zxl
+ * @since 2025-12-05
+ */
+@Data
+@TableName("t_work_station_schedule")
+public class WorkStationSchedule extends AbsEntity {
+
+ @TableField("user_id")
+ /** 鎵�灞炵敤鎴穒d */
+ private Long userId;
+
+ @TableField("content")
+ /** 宸ヤ綔鍐呭 */
+ private String content;
+
+ @TableField("status")
+ /** 鐘舵�� */
+ private String status;
+ /**
+ * 瀹屾垚鏃ユ湡
+ * */
+ @TableField("completed_time")
+ private Date completedTime;
+
+}
diff --git a/business/src/main/java/com/ycl/domain/form/WorkStationScheduleForm.java b/business/src/main/java/com/ycl/domain/form/WorkStationScheduleForm.java
new file mode 100644
index 0000000..9410ed8
--- /dev/null
+++ b/business/src/main/java/com/ycl/domain/form/WorkStationScheduleForm.java
@@ -0,0 +1,54 @@
+package com.ycl.domain.form;
+
+import com.ycl.common.group.Update;
+import com.ycl.common.group.Add;
+import com.ycl.system.domain.base.AbsForm;
+import com.ycl.domain.entity.WorkStationSchedule;
+import org.springframework.beans.BeanUtils;
+import javax.validation.constraints.NotBlank;
+import javax.validation.constraints.NotNull;
+import org.springframework.lang.NonNull;
+import io.swagger.annotations.ApiModel;
+import io.swagger.annotations.ApiModelProperty;
+import lombok.Data;
+import java.util.Date;
+
+/**
+ * 琛ㄥ崟
+ *
+ * @author zxl
+ * @since 2025-12-05
+ */
+@Data
+@ApiModel(value = "WorkStationSchedule琛ㄥ崟", description = "琛ㄥ崟")
+public class WorkStationScheduleForm extends AbsForm {
+
+ @NotNull(message = "鎵�灞炵敤鎴穒d涓嶈兘涓虹┖", groups = {Add.class, Update.class})
+ @ApiModelProperty("鎵�灞炵敤鎴穒d")
+ private Long userId;
+
+ @NotBlank(message = "宸ヤ綔鍐呭涓嶈兘涓虹┖", groups = {Add.class, Update.class})
+ @ApiModelProperty("宸ヤ綔鍐呭")
+ private String content;
+
+ @NotBlank(message = "鐘舵�佷笉鑳戒负绌�", groups = {Add.class, Update.class})
+ @ApiModelProperty("鐘舵��")
+ private String status;
+
+ @NotNull(message = "涓嶈兘涓虹┖", groups = {Add.class, Update.class})
+ @ApiModelProperty("")
+ private Date gmtcreate;
+
+ @NotNull(message = "涓嶈兘涓虹┖", groups = {Add.class, Update.class})
+ @ApiModelProperty("")
+ private Date gmtupdate;
+
+ public static WorkStationSchedule getEntityByForm(@NonNull WorkStationScheduleForm form, WorkStationSchedule entity) {
+ if(entity == null) {
+ entity = new WorkStationSchedule();
+ }
+ BeanUtils.copyProperties(form, entity);
+ return entity;
+ }
+
+}
diff --git a/business/src/main/java/com/ycl/domain/query/WorkStationScheduleQuery.java b/business/src/main/java/com/ycl/domain/query/WorkStationScheduleQuery.java
new file mode 100644
index 0000000..1b16450
--- /dev/null
+++ b/business/src/main/java/com/ycl/domain/query/WorkStationScheduleQuery.java
@@ -0,0 +1,17 @@
+package com.ycl.domain.query;
+
+import com.ycl.system.domain.base.AbsQuery;
+import io.swagger.annotations.ApiModel;
+import lombok.Data;
+
+/**
+ * 鏌ヨ
+ *
+ * @author zxl
+ * @since 2025-12-05
+ */
+@Data
+@ApiModel(value = "WorkStationSchedule鏌ヨ鍙傛暟", description = "鏌ヨ鍙傛暟")
+public class WorkStationScheduleQuery extends AbsQuery {
+}
+
diff --git a/business/src/main/java/com/ycl/domain/vo/WorkStationScheduleVO.java b/business/src/main/java/com/ycl/domain/vo/WorkStationScheduleVO.java
new file mode 100644
index 0000000..af34e60
--- /dev/null
+++ b/business/src/main/java/com/ycl/domain/vo/WorkStationScheduleVO.java
@@ -0,0 +1,50 @@
+package com.ycl.domain.vo;
+
+import com.ycl.system.domain.base.AbsVo;
+import com.ycl.domain.entity.WorkStationSchedule;
+import org.springframework.lang.NonNull;
+import org.springframework.beans.BeanUtils;
+import io.swagger.annotations.ApiModel;
+import io.swagger.annotations.ApiModelProperty;
+import lombok.Data;
+import java.util.Date;
+
+/**
+ * 灞曠ず
+ *
+ * @author zxl
+ * @since 2025-12-05
+ */
+@Data
+@ApiModel(value = "鍝嶅簲鏁版嵁", description = "鍝嶅簲鏁版嵁")
+public class WorkStationScheduleVO extends AbsVo {
+
+ /** 鎵�灞炵敤鎴穒d */
+ @ApiModelProperty("鎵�灞炵敤鎴穒d")
+ private Long userId;
+
+ /** 宸ヤ綔鍐呭 */
+ @ApiModelProperty("宸ヤ綔鍐呭")
+ private String content;
+
+ /** 鐘舵�� */
+ @ApiModelProperty("鐘舵��")
+ private String status;
+
+ /** */
+ @ApiModelProperty("")
+ private Date gmtcreate;
+
+ /** */
+ @ApiModelProperty("")
+ private Date gmtupdate;
+
+ public static WorkStationScheduleVO getVoByEntity(@NonNull WorkStationSchedule entity, WorkStationScheduleVO vo) {
+ if(vo == null) {
+ vo = new WorkStationScheduleVO();
+ }
+ BeanUtils.copyProperties(entity, vo);
+ return vo;
+ }
+
+}
diff --git a/business/src/main/java/com/ycl/mapper/WorkStationScheduleMapper.java b/business/src/main/java/com/ycl/mapper/WorkStationScheduleMapper.java
new file mode 100644
index 0000000..4119d28
--- /dev/null
+++ b/business/src/main/java/com/ycl/mapper/WorkStationScheduleMapper.java
@@ -0,0 +1,32 @@
+package com.ycl.mapper;
+
+import com.ycl.domain.entity.WorkStationSchedule;
+import com.baomidou.mybatisplus.core.metadata.IPage;
+import com.baomidou.mybatisplus.core.mapper.BaseMapper;
+import com.ycl.domain.vo.WorkStationScheduleVO;
+import com.ycl.domain.query.WorkStationScheduleQuery;
+import org.apache.ibatis.annotations.Mapper;
+import org.apache.ibatis.annotations.Param;
+
+/**
+ * Mapper 鎺ュ彛
+ *
+ * @author zxl
+ * @since 2025-12-05
+ */
+@Mapper
+public interface WorkStationScheduleMapper extends BaseMapper<WorkStationSchedule> {
+
+ /**
+ * id鏌ユ壘
+ * @param id
+ * @return
+ */
+ WorkStationScheduleVO getById(Integer id);
+
+ /**
+ * 鍒嗛〉
+ */
+ IPage getPage(IPage page, @Param("query") WorkStationScheduleQuery query);
+
+}
diff --git a/business/src/main/java/com/ycl/service/WorkStationScheduleService.java b/business/src/main/java/com/ycl/service/WorkStationScheduleService.java
new file mode 100644
index 0000000..0d93bdd
--- /dev/null
+++ b/business/src/main/java/com/ycl/service/WorkStationScheduleService.java
@@ -0,0 +1,69 @@
+package com.ycl.service;
+
+import com.ycl.domain.entity.WorkStationSchedule;
+import com.baomidou.mybatisplus.extension.service.IService;
+import com.ycl.common.base.Result;
+import com.ycl.domain.form.WorkStationScheduleForm;
+import com.ycl.domain.query.WorkStationScheduleQuery;
+import java.util.List;
+
+/**
+ * 鏈嶅姟绫�
+ *
+ * @author zxl
+ * @since 2025-12-05
+ */
+public interface WorkStationScheduleService extends IService<WorkStationSchedule> {
+
+ /**
+ * 娣诲姞
+ * @param form
+ * @return
+ */
+ Result add(WorkStationScheduleForm form);
+
+ /**
+ * 淇敼
+ * @param form
+ * @return
+ */
+ Result update(WorkStationScheduleForm form);
+
+ /**
+ * 鎵归噺鍒犻櫎
+ * @param ids
+ * @return
+ */
+ Result remove(List<String> ids);
+
+ /**
+ * id鍒犻櫎
+ * @param id
+ * @return
+ */
+ Result removeById(String id);
+
+ /**
+ * 鍒嗛〉鏌ヨ
+ * @param query
+ * @return
+ */
+ Result page(WorkStationScheduleQuery query);
+
+ /**
+ * 鏍规嵁id鏌ユ壘
+ * @param id
+ * @return
+ */
+ Result detail(Integer id);
+
+ /**
+ * 鍒楄〃
+ * @return
+ */
+ Result all();
+
+ Result completedAchievements(Integer id);
+
+ Result countAchievements();
+}
diff --git a/business/src/main/java/com/ycl/service/impl/WorkStationScheduleServiceImpl.java b/business/src/main/java/com/ycl/service/impl/WorkStationScheduleServiceImpl.java
new file mode 100644
index 0000000..7d20cd7
--- /dev/null
+++ b/business/src/main/java/com/ycl/service/impl/WorkStationScheduleServiceImpl.java
@@ -0,0 +1,192 @@
+package com.ycl.service.impl;
+
+import com.baomidou.mybatisplus.core.metadata.IPage;
+import com.baomidou.mybatisplus.extension.conditions.query.LambdaQueryChainWrapper;
+import com.ycl.common.enums.business.WorkStationEnum;
+import com.ycl.common.utils.SecurityUtils;
+import com.ycl.domain.entity.WorkStationSchedule;
+import com.ycl.factory.FlowServiceFactory;
+import com.ycl.mapper.WorkStationScheduleMapper;
+import com.ycl.service.WorkStationScheduleService;
+import com.ycl.common.base.Result;
+import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
+import com.ycl.domain.form.WorkStationScheduleForm;
+import com.ycl.domain.vo.WorkStationScheduleVO;
+import com.ycl.domain.query.WorkStationScheduleQuery;
+import org.flowable.task.api.history.HistoricTaskInstance;
+import org.flowable.task.api.history.HistoricTaskInstanceQuery;
+import org.springframework.stereotype.Service;
+import lombok.RequiredArgsConstructor;
+import com.ycl.framework.utils.PageUtil;
+import org.springframework.beans.BeanUtils;
+import org.springframework.util.Assert;
+import org.springframework.util.CollectionUtils;
+
+import java.util.HashMap;
+import java.util.List;
+import java.util.stream.Collectors;
+
+/**
+ * 鏈嶅姟瀹炵幇绫�
+ *
+ * @author zxl
+ * @since 2025-12-05
+ */
+@Service
+@RequiredArgsConstructor
+public class WorkStationScheduleServiceImpl extends ServiceImpl<WorkStationScheduleMapper, WorkStationSchedule> implements WorkStationScheduleService {
+
+ private final WorkStationScheduleMapper workStationScheduleMapper;
+
+ private final FlowServiceFactory flowServiceFactory;
+ /**
+ * 娣诲姞
+ * @param form
+ * @return
+ */
+ @Override
+ public Result add(WorkStationScheduleForm form) {
+ WorkStationSchedule entity = WorkStationScheduleForm.getEntityByForm(form, null);
+ baseMapper.insert(entity);
+ return Result.ok("娣诲姞鎴愬姛");
+ }
+
+ /**
+ * 淇敼
+ * @param form
+ * @return
+ */
+ @Override
+ public Result update(WorkStationScheduleForm form) {
+ WorkStationSchedule entity = baseMapper.selectById(form.getId());
+
+ // 涓虹┖鎶汭llegalArgumentException锛屽仛鍏ㄥ眬寮傚父澶勭悊
+ Assert.notNull(entity, "璁板綍涓嶅瓨鍦�");
+ BeanUtils.copyProperties(form, entity);
+ baseMapper.updateById(entity);
+ return Result.ok("淇敼鎴愬姛");
+ }
+
+ /**
+ * 鎵归噺鍒犻櫎
+ * @param ids
+ * @return
+ */
+ @Override
+ public Result remove(List<String> ids) {
+ baseMapper.deleteBatchIds(ids);
+ return Result.ok("鍒犻櫎鎴愬姛");
+ }
+
+ /**
+ * id鍒犻櫎
+ * @param id
+ * @return
+ */
+ @Override
+ public Result removeById(String id) {
+ baseMapper.deleteById(id);
+ return Result.ok("鍒犻櫎鎴愬姛");
+ }
+
+ /**
+ * 鍒嗛〉鏌ヨ
+ * @param query
+ * @return
+ */
+ @Override
+ public Result page(WorkStationScheduleQuery query) {
+ IPage<WorkStationScheduleVO> page = PageUtil.getPage(query, WorkStationScheduleVO.class);
+ baseMapper.getPage(page, query);
+ return Result.ok().data(page.getRecords()).total(page.getTotal());
+ }
+
+ /**
+ * 鏍规嵁id鏌ユ壘
+ * @param id
+ * @return
+ */
+ @Override
+ public Result detail(Integer id) {
+ WorkStationScheduleVO vo = baseMapper.getById(id);
+ Assert.notNull(vo, "璁板綍涓嶅瓨鍦�");
+ return Result.ok().data(vo);
+ }
+
+ /**
+ * 鍒楄〃
+ * @return
+ */
+ @Override
+ public Result all() {
+ List<WorkStationSchedule> entities = baseMapper.selectList(null);
+ List<WorkStationScheduleVO> vos = entities.stream()
+ .map(entity -> WorkStationScheduleVO.getVoByEntity(entity, null))
+ .collect(Collectors.toList());
+ return Result.ok().data(vos);
+ }
+
+ @Override
+ public Result completedAchievements(Integer id) {
+ WorkStationSchedule workStationSchedule = baseMapper.selectById(id);
+ workStationSchedule.setStatus(WorkStationEnum.COMPLETED.name());
+ baseMapper.updateById(workStationSchedule);
+ return Result.ok();
+ }
+
+ @Override
+ public Result countAchievements() {
+ //鑾峰緱涓汉宸插畬鎴愭祦绋嬩换鍔★紝骞惰绠楀钩鍧囩敤鏃�
+ Long userId = SecurityUtils.getUserId();
+
+ HistoricTaskInstanceQuery query = flowServiceFactory.getHistoryService()
+ .createHistoricTaskInstanceQuery()
+ .finished()
+ .taskAssignee(userId.toString())
+ .orderByHistoricTaskInstanceEndTime()
+ .desc();
+ List<HistoricTaskInstance> taskList = query.list();
+ long totalDuration = 0L;
+ int taskCount = 0;
+ if (!CollectionUtils.isEmpty(taskList)) {
+ taskCount = taskList.size();
+ }
+
+ for (HistoricTaskInstance task : taskList) {
+ // 浠诲姟鍒涘缓鏃堕棿鍜屽畬鎴愭椂闂�
+ Long createTime = task.getCreateTime().getTime();
+ Long endTime = task.getEndTime().getTime();
+ // 鍗曚釜浠诲姟鑰楁椂锛堟绉掞級
+ long duration = endTime - createTime;
+ totalDuration += duration;
+ }
+ double avgDurationMs = (double) totalDuration / taskCount; // 骞冲潎鑰楁椂锛堟绉掞級
+ double avgDurationSec = avgDurationMs / 1000; // 杞崲涓虹
+ double avgDurationMin = avgDurationSec / 60; // 杞崲涓哄垎閽�
+ double avgDurationHour = avgDurationMin / 60; // 杞崲涓哄垎閽�
+ System.out.println("鐢ㄦ埛瀹屾垚浠诲姟鎬绘暟锛�" + taskCount);
+ System.out.println("骞冲潎鑰楁椂锛堢锛夛細" + avgDurationSec);
+ System.out.println("骞冲潎鑰楁椂锛堝垎閽燂級锛�" + avgDurationMin);
+ System.out.println("骞冲潎鑰楁椂锛堝皬鏃讹級锛�" + avgDurationHour);
+
+ //鏌ヨ 鏃ョ▼鎬绘暟
+ List<WorkStationSchedule> list = new LambdaQueryChainWrapper<>(baseMapper)
+ .eq(WorkStationSchedule::getUserId, userId)
+ .eq(WorkStationSchedule::getDeleted, Boolean.FALSE)
+ .list();
+
+ int count = 0;
+ for (WorkStationSchedule workStationSchedule : list) {
+ if (WorkStationEnum.COMPLETED.name().equals(workStationSchedule.getStatus())){
+ count++;
+ }
+ }
+
+ HashMap<String,Object> map = new HashMap<>();
+ map.put("totalDuration",totalDuration);
+ map.put("avgDurationHour",avgDurationHour);
+ map.put("scheduleCount",list.size());
+ map.put("completedCount",count);
+ return Result.ok().data(map);
+ }
+}
diff --git a/business/src/main/resources/mapper/WorkStationScheduleMapper.xml b/business/src/main/resources/mapper/WorkStationScheduleMapper.xml
new file mode 100644
index 0000000..07be4e1
--- /dev/null
+++ b/business/src/main/resources/mapper/WorkStationScheduleMapper.xml
@@ -0,0 +1,44 @@
+<?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.ycl.mapper.WorkStationScheduleMapper">
+
+ <!-- 閫氱敤鏌ヨ鏄犲皠缁撴灉 -->
+ <resultMap id="BaseResultMap" type="com.ycl.domain.vo.WorkStationScheduleVO">
+ <result column="user_id" property="userId" />
+ <result column="content" property="content" />
+ <result column="status" property="status" />
+ <result column="gmtCreate" property="gmtcreate" />
+ <result column="gmtUpdate" property="gmtupdate" />
+ </resultMap>
+
+
+ <select id="getById" resultMap="BaseResultMap">
+ SELECT
+ TWSS.user_id,
+ TWSS.content,
+ TWSS.status,
+ TWSS.gmtCreate,
+ TWSS.gmtUpdate,
+ TWSS.id
+ FROM
+ t_work_station_schedule TWSS
+ WHERE
+ TWSS.id = #{id} AND TWSS.deleted = 0
+ </select>
+
+
+ <select id="getPage" resultMap="BaseResultMap">
+ SELECT
+ TWSS.user_id,
+ TWSS.content,
+ TWSS.status,
+ TWSS.gmtCreate,
+ TWSS.gmtUpdate,
+ TWSS.id
+ FROM
+ t_work_station_schedule TWSS
+ WHERE
+ TWSS.deleted = 0
+ </select>
+
+</mapper>
diff --git a/common/src/main/java/com/ycl/common/enums/business/WorkStationEnum.java b/common/src/main/java/com/ycl/common/enums/business/WorkStationEnum.java
new file mode 100644
index 0000000..41d430a
--- /dev/null
+++ b/common/src/main/java/com/ycl/common/enums/business/WorkStationEnum.java
@@ -0,0 +1,20 @@
+package com.ycl.common.enums.business;
+
+
+/**
+ * nongtou-project-java
+ *
+ * @author : zxl
+ * @date : 2025-12-05 10:50
+ **/
+public enum WorkStationEnum {
+
+ COMPLETED("瀹屾垚"),
+ Incomplete("鏈畬鎴�");
+
+ private final String desc;
+
+ private WorkStationEnum(String desc) {
+ this.desc = desc;
+ }
+}
--
Gitblit v1.8.0