From 6ce757c8de57614604253204390f299a86f73837 Mon Sep 17 00:00:00 2001 From: ty <1577900710@qq.com> Date: Thu, 21 Mar 2024 15:54:02 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=8A=A0=EF=BC=9A=E4=BC=9A=E8=AE=AE?= =?UTF-8?q?=E8=AE=B0=E5=BD=95=E3=80=81=E6=BC=94=E7=BB=83=E8=AE=B0=E5=BD=95?= =?UTF-8?q?=E3=80=81=E5=9F=B9=E8=AE=AD=E8=AE=B0=E5=BD=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../hzims/safeproduct/vo/ConferenceRecordVO.java | 49 ++++++++++++++++++++ .../hzims/safeproduct/vo/RehearsalRecordlVO.java | 54 ++++++++++++++++++++++ .../hnac/hzims/safeproduct/vo/TrainRecordVO.java | 51 ++++++++++++++++++++ .../controller/ConferenceController.java | 5 +- .../controller/RehearsalController.java | 5 +- .../safeproduct/controller/TrainController.java | 4 +- .../service/IConferenceRecordService.java | 3 +- .../service/IRehearsalRecordService.java | 3 +- .../safeproduct/service/ITrainRecordService.java | 3 +- .../service/impl/ConferenceRecordServiceImpl.java | 26 +++++++++-- .../service/impl/RehearsalRecordServiceImpl.java | 27 ++++++++++- .../service/impl/TrainRecordServiceImpl.java | 22 ++++++++- .../safeproduct/src/main/resources/db/3.0.0.sql.1 | 4 ++ 13 files changed, 238 insertions(+), 18 deletions(-) create mode 100644 hzims-service-api/safeproduct-api/src/main/java/com/hnac/hzims/safeproduct/vo/ConferenceRecordVO.java create mode 100644 hzims-service-api/safeproduct-api/src/main/java/com/hnac/hzims/safeproduct/vo/RehearsalRecordlVO.java create mode 100644 hzims-service-api/safeproduct-api/src/main/java/com/hnac/hzims/safeproduct/vo/TrainRecordVO.java create mode 100644 hzims-service/safeproduct/src/main/resources/db/3.0.0.sql.1 diff --git a/hzims-service-api/safeproduct-api/src/main/java/com/hnac/hzims/safeproduct/vo/ConferenceRecordVO.java b/hzims-service-api/safeproduct-api/src/main/java/com/hnac/hzims/safeproduct/vo/ConferenceRecordVO.java new file mode 100644 index 0000000..4be7da9 --- /dev/null +++ b/hzims-service-api/safeproduct-api/src/main/java/com/hnac/hzims/safeproduct/vo/ConferenceRecordVO.java @@ -0,0 +1,49 @@ +package com.hnac.hzims.safeproduct.vo; + +import cn.afterturn.easypoi.entity.ImageEntity; +import com.fasterxml.jackson.annotation.JsonFormat; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import lombok.Data; + +import java.util.Date; +import java.util.List; + +/** + * @author liwen + * @date 2024-01-15 + */ +@Data +@ApiModel(value = "会议记录表VO类") +public class ConferenceRecordVO { + + @ApiModelProperty("编码") + private String code; + + @ApiModelProperty("单位") + private String unit; + + @JsonFormat(pattern = "yyyy-MM-dd") + @ApiModelProperty("会议计划开始时间") + private Date scheduledStartTime; + @JsonFormat(pattern = "yyyy-MM-dd HH:mm") + @ApiModelProperty("会议实际开始时间") + private Date actualStartTime; + + + @ApiModelProperty("会议地点") + private String location; + + @ApiModelProperty("主持人") + private String host; + + @ApiModelProperty("会议方式") + private String conferenceMethod; + + @ApiModelProperty("会议主题") + private String theme; + + @ApiModelProperty("会议状态") + private String conferenceStatus; + +} diff --git a/hzims-service-api/safeproduct-api/src/main/java/com/hnac/hzims/safeproduct/vo/RehearsalRecordlVO.java b/hzims-service-api/safeproduct-api/src/main/java/com/hnac/hzims/safeproduct/vo/RehearsalRecordlVO.java new file mode 100644 index 0000000..fc888b2 --- /dev/null +++ b/hzims-service-api/safeproduct-api/src/main/java/com/hnac/hzims/safeproduct/vo/RehearsalRecordlVO.java @@ -0,0 +1,54 @@ +package com.hnac.hzims.safeproduct.vo; + +import com.fasterxml.jackson.annotation.JsonFormat; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import lombok.Data; +import org.springframework.format.annotation.DateTimeFormat; + +import java.util.Date; + +/** + * @author liwen + * @date 2024-01-15 + */ +@Data +@ApiModel(value = "演练记录表VO类") +public class RehearsalRecordlVO { + + @ApiModelProperty("编码") + private String code; + + @ApiModelProperty("单位") + private String unit; + + @ApiModelProperty("演练科目") + private String subject; + + @ApiModelProperty("计划演练时间") + private String planTime; + + @ApiModelProperty("参演人员") + private String peopleName; + + @ApiModelProperty("参演人员") + private String peopleNum; + + + @ApiModelProperty("演练地点") + private String location; + + @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm") + @JsonFormat(pattern = "yyyy-MM-dd HH:mm") + @ApiModelProperty("演练实际开始时间") + private Date actualStartTime; + + @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm") + @JsonFormat(pattern = "yyyy-MM-dd HH:mm") + @ApiModelProperty("演练实际结束时间") + private Date actualEndTime; + + @ApiModelProperty("演练状态") + private String rehearsalStatus; + +} diff --git a/hzims-service-api/safeproduct-api/src/main/java/com/hnac/hzims/safeproduct/vo/TrainRecordVO.java b/hzims-service-api/safeproduct-api/src/main/java/com/hnac/hzims/safeproduct/vo/TrainRecordVO.java new file mode 100644 index 0000000..ef67b05 --- /dev/null +++ b/hzims-service-api/safeproduct-api/src/main/java/com/hnac/hzims/safeproduct/vo/TrainRecordVO.java @@ -0,0 +1,51 @@ +package com.hnac.hzims.safeproduct.vo; + + +import com.fasterxml.jackson.annotation.JsonFormat; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import lombok.Data; + +import java.util.Date; + + +/** + * @author liwen + * @date 2024-01-15 + */ +@Data +@ApiModel(value = "培训记录表VO类") +public class TrainRecordVO { + + @JsonFormat(pattern = "yyyy-MM-dd") + @ApiModelProperty("计划培训时间") + private Date scheduledStartTime; + + @ApiModelProperty("单位") + private String unit; + + @ApiModelProperty("培训地点") + private String location; + + @ApiModelProperty("培训方式") + private String trainMethod; + + @ApiModelProperty("培训讲师") + private String teacher; + + @ApiModelProperty("培训课程") + private String lesson; + + @ApiModelProperty("实际培训结束时间") + private Date actualEndTime; + + + @ApiModelProperty("关联考试:0-否,1-是") + private Integer isTest; + + + @ApiModelProperty("培训状态") + private String trainStatus; + + +} diff --git a/hzims-service/safeproduct/src/main/java/com/hnac/hzims/safeproduct/controller/ConferenceController.java b/hzims-service/safeproduct/src/main/java/com/hnac/hzims/safeproduct/controller/ConferenceController.java index d025f73..9310bc6 100644 --- a/hzims-service/safeproduct/src/main/java/com/hnac/hzims/safeproduct/controller/ConferenceController.java +++ b/hzims-service/safeproduct/src/main/java/com/hnac/hzims/safeproduct/controller/ConferenceController.java @@ -7,6 +7,7 @@ import com.hnac.hzims.safeproduct.entity.ConferenceRecordEntity; import com.hnac.hzims.safeproduct.service.IConferencePlanService; import com.hnac.hzims.safeproduct.service.IConferenceRecordService; import com.hnac.hzims.safeproduct.vo.ConferenceRecordDetailVO; +import com.hnac.hzims.safeproduct.vo.ConferenceRecordVO; import io.swagger.annotations.Api; import io.swagger.annotations.ApiImplicitParam; import io.swagger.annotations.ApiImplicitParams; @@ -115,8 +116,8 @@ public class ConferenceController extends BladeController { }) @ApiOperation(value = "会议记录分页") @ApiOperationSupport(order = 10) - public R> recordPage(@ApiIgnore @RequestParam Map param, Query query) { - IPage page = conferenceRecordService.recordPage(param, query); + public R> recordPage(@ApiIgnore @RequestParam Map param, Query query) { + IPage page = conferenceRecordService.recordPage(param, query); return R.data(page); } diff --git a/hzims-service/safeproduct/src/main/java/com/hnac/hzims/safeproduct/controller/RehearsalController.java b/hzims-service/safeproduct/src/main/java/com/hnac/hzims/safeproduct/controller/RehearsalController.java index 4182137..50175f4 100644 --- a/hzims-service/safeproduct/src/main/java/com/hnac/hzims/safeproduct/controller/RehearsalController.java +++ b/hzims-service/safeproduct/src/main/java/com/hnac/hzims/safeproduct/controller/RehearsalController.java @@ -8,6 +8,7 @@ import com.hnac.hzims.safeproduct.service.IRehearsalPlanService; import com.hnac.hzims.safeproduct.service.IRehearsalRecordService; import com.hnac.hzims.safeproduct.vo.RehearsalRecordDetailVO; import com.hnac.hzims.safeproduct.vo.RehearsalMonthVO; +import com.hnac.hzims.safeproduct.vo.RehearsalRecordlVO; import com.hnac.hzims.safeproduct.vo.RehearsalYearVO; import io.swagger.annotations.Api; import io.swagger.annotations.ApiImplicitParam; @@ -117,8 +118,8 @@ public class RehearsalController extends BladeController { }) @ApiOperation(value = "演练记录分页") @ApiOperationSupport(order = 10) - public R> rehearsalRecordPage(@ApiIgnore @RequestParam Map param, Query query) { - IPage page = rehearsalRecordService.rehearsalRecordPage(param, query); + public R> rehearsalRecordPage(@ApiIgnore @RequestParam Map param, Query query) { + IPage page = rehearsalRecordService.rehearsalRecordPage(param, query); return R.data(page); } diff --git a/hzims-service/safeproduct/src/main/java/com/hnac/hzims/safeproduct/controller/TrainController.java b/hzims-service/safeproduct/src/main/java/com/hnac/hzims/safeproduct/controller/TrainController.java index 9dd6c2c..de236ad 100644 --- a/hzims-service/safeproduct/src/main/java/com/hnac/hzims/safeproduct/controller/TrainController.java +++ b/hzims-service/safeproduct/src/main/java/com/hnac/hzims/safeproduct/controller/TrainController.java @@ -127,8 +127,8 @@ public class TrainController extends BladeController { }) @ApiOperation(value = "培训记录分页") @ApiOperationSupport(order = 10) - public R> trainRecordPage(@ApiIgnore @RequestParam Map param, Query query) { - IPage page = trainRecordService.trainRecordPage(param, query); + public R> trainRecordPage(@ApiIgnore @RequestParam Map param, Query query) { + IPage page = trainRecordService.trainRecordPage(param, query); return R.data(page); } diff --git a/hzims-service/safeproduct/src/main/java/com/hnac/hzims/safeproduct/service/IConferenceRecordService.java b/hzims-service/safeproduct/src/main/java/com/hnac/hzims/safeproduct/service/IConferenceRecordService.java index 569623e..45ca492 100644 --- a/hzims-service/safeproduct/src/main/java/com/hnac/hzims/safeproduct/service/IConferenceRecordService.java +++ b/hzims-service/safeproduct/src/main/java/com/hnac/hzims/safeproduct/service/IConferenceRecordService.java @@ -4,6 +4,7 @@ import com.baomidou.mybatisplus.core.metadata.IPage; import com.baomidou.mybatisplus.extension.service.IService; import com.hnac.hzims.safeproduct.entity.ConferenceRecordEntity; import com.hnac.hzims.safeproduct.vo.ConferenceRecordDetailVO; +import com.hnac.hzims.safeproduct.vo.ConferenceRecordVO; import org.springblade.core.mp.support.Query; import javax.servlet.http.HttpServletResponse; @@ -51,5 +52,5 @@ public interface IConferenceRecordService extends IService recordPage(Map param, Query query); + IPage recordPage(Map param, Query query); } diff --git a/hzims-service/safeproduct/src/main/java/com/hnac/hzims/safeproduct/service/IRehearsalRecordService.java b/hzims-service/safeproduct/src/main/java/com/hnac/hzims/safeproduct/service/IRehearsalRecordService.java index 92b08c8..eacaab1 100644 --- a/hzims-service/safeproduct/src/main/java/com/hnac/hzims/safeproduct/service/IRehearsalRecordService.java +++ b/hzims-service/safeproduct/src/main/java/com/hnac/hzims/safeproduct/service/IRehearsalRecordService.java @@ -4,6 +4,7 @@ import com.baomidou.mybatisplus.core.metadata.IPage; import com.baomidou.mybatisplus.extension.service.IService; import com.hnac.hzims.safeproduct.entity.RehearsalRecordEntity; import com.hnac.hzims.safeproduct.vo.RehearsalRecordDetailVO; +import com.hnac.hzims.safeproduct.vo.RehearsalRecordlVO; import org.springblade.core.mp.support.Query; import javax.servlet.http.HttpServletResponse; @@ -58,5 +59,5 @@ public interface IRehearsalRecordService extends IService * @param query 分页类 * @return 演练记录数据 */ - IPage rehearsalRecordPage(Map param, Query query); + IPage rehearsalRecordPage(Map param, Query query); } diff --git a/hzims-service/safeproduct/src/main/java/com/hnac/hzims/safeproduct/service/ITrainRecordService.java b/hzims-service/safeproduct/src/main/java/com/hnac/hzims/safeproduct/service/ITrainRecordService.java index 57d5d62..85af66a 100644 --- a/hzims-service/safeproduct/src/main/java/com/hnac/hzims/safeproduct/service/ITrainRecordService.java +++ b/hzims-service/safeproduct/src/main/java/com/hnac/hzims/safeproduct/service/ITrainRecordService.java @@ -5,6 +5,7 @@ import com.baomidou.mybatisplus.extension.service.IService; import com.hnac.hzims.safeproduct.dto.TrainRecordDTO; import com.hnac.hzims.safeproduct.entity.TrainRecordEntity; import com.hnac.hzims.safeproduct.vo.TrainRecordDetailVO; +import com.hnac.hzims.safeproduct.vo.TrainRecordVO; import org.springblade.core.mp.support.Query; import javax.servlet.http.HttpServletResponse; @@ -74,5 +75,5 @@ public interface ITrainRecordService extends IService { * @param query 分页类 * @return 培训记录数据 */ - IPage trainRecordPage(Map param, Query query); + IPage trainRecordPage(Map param, Query query); } diff --git a/hzims-service/safeproduct/src/main/java/com/hnac/hzims/safeproduct/service/impl/ConferenceRecordServiceImpl.java b/hzims-service/safeproduct/src/main/java/com/hnac/hzims/safeproduct/service/impl/ConferenceRecordServiceImpl.java index 5b6c913..22b129b 100644 --- a/hzims-service/safeproduct/src/main/java/com/hnac/hzims/safeproduct/service/impl/ConferenceRecordServiceImpl.java +++ b/hzims-service/safeproduct/src/main/java/com/hnac/hzims/safeproduct/service/impl/ConferenceRecordServiceImpl.java @@ -5,6 +5,7 @@ import cn.hutool.core.date.DatePattern; import com.alibaba.excel.util.CollectionUtils; import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper; import com.baomidou.mybatisplus.core.metadata.IPage; +import com.baomidou.mybatisplus.extension.plugins.pagination.Page; import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; import com.hnac.hzims.common.logs.utils.StringUtils; import com.hnac.hzims.common.utils.Condition; @@ -19,16 +20,15 @@ import com.hnac.hzims.safeproduct.service.IConferenceRecordService; import com.hnac.hzims.safeproduct.utils.BaseUtil; import com.hnac.hzims.safeproduct.utils.TimeUtils; import com.hnac.hzims.safeproduct.vo.ConferenceRecordDetailVO; -import com.hnac.hzims.ticket.constants.TicketConstants; +import com.hnac.hzims.safeproduct.vo.ConferenceRecordVO; import org.springblade.core.mp.support.Query; -import org.springblade.core.tool.utils.DateUtil; +import org.springblade.core.tool.utils.BeanUtil; import org.springframework.beans.factory.annotation.Value; import org.springframework.stereotype.Service; import org.springframework.transaction.annotation.Transactional; import javax.annotation.Resource; import javax.servlet.http.HttpServletResponse; -import java.text.SimpleDateFormat; import java.util.ArrayList; import java.util.Date; import java.util.List; @@ -153,7 +153,7 @@ public class ConferenceRecordServiceImpl extends ServiceImpl recordPage(Map param, Query query) { + public IPage recordPage(Map param, Query query) { QueryWrapper queryWrapper = new QueryWrapper<>(); String conferencePlanId = String.valueOf(param.get("conferencePlanId")); String startTime = String.valueOf(param.get("actualStartTime")); @@ -168,7 +168,23 @@ public class ConferenceRecordServiceImpl extends ServiceImpl page = this.page(Condition.getPage(query), queryWrapper); + IPage res=new Page<>(); + res.setSize(page.getSize()); + res.setTotal(page.getTotal()); + res.setPages(page.getPages()); + List records = page.getRecords(); + List recordlVOS =new ArrayList<>(); + for (ConferenceRecordEntity record : records) { + ConferenceRecordVO trainRecordVO = new ConferenceRecordVO(); + Long planId = record.getConferencePlanId(); + ConferencePlanEntity conferencePlanEntity = conferencePlanMapper.selectById(planId); + BeanUtil.copy(conferencePlanEntity,trainRecordVO); + trainRecordVO.setActualStartTime(record.getActualStartTime()); + recordlVOS.add(trainRecordVO); + } + res.setRecords(recordlVOS); + return res; } /** diff --git a/hzims-service/safeproduct/src/main/java/com/hnac/hzims/safeproduct/service/impl/RehearsalRecordServiceImpl.java b/hzims-service/safeproduct/src/main/java/com/hnac/hzims/safeproduct/service/impl/RehearsalRecordServiceImpl.java index c4b7203..fda253d 100644 --- a/hzims-service/safeproduct/src/main/java/com/hnac/hzims/safeproduct/service/impl/RehearsalRecordServiceImpl.java +++ b/hzims-service/safeproduct/src/main/java/com/hnac/hzims/safeproduct/service/impl/RehearsalRecordServiceImpl.java @@ -5,6 +5,7 @@ import cn.hutool.core.date.DatePattern; import com.alibaba.excel.util.CollectionUtils; import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper; import com.baomidou.mybatisplus.core.metadata.IPage; +import com.baomidou.mybatisplus.extension.plugins.pagination.Page; import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; import com.hnac.hzims.common.logs.utils.StringUtils; import com.hnac.hzims.common.utils.Condition; @@ -19,8 +20,10 @@ import com.hnac.hzims.safeproduct.service.IRehearsalRecordService; import com.hnac.hzims.safeproduct.utils.BaseUtil; import com.hnac.hzims.safeproduct.utils.TimeUtils; import com.hnac.hzims.safeproduct.vo.RehearsalRecordDetailVO; +import com.hnac.hzims.safeproduct.vo.RehearsalRecordlVO; import lombok.extern.slf4j.Slf4j; import org.springblade.core.mp.support.Query; +import org.springblade.core.tool.utils.BeanUtil; import org.springframework.beans.factory.annotation.Value; import org.springframework.stereotype.Service; import org.springframework.transaction.annotation.Transactional; @@ -193,7 +196,7 @@ public class RehearsalRecordServiceImpl extends ServiceImpl rehearsalRecordPage(Map param, Query query) { + public IPage rehearsalRecordPage(Map param, Query query) { QueryWrapper queryWrapper = new QueryWrapper<>(); String rehearsalPlanId = String.valueOf(param.get("rehearsalPlanId")); String actualStartTime = String.valueOf(param.get("actualStartTime")); @@ -208,6 +211,26 @@ public class RehearsalRecordServiceImpl extends ServiceImpl rehearsalRecordList = this.page(Condition.getPage(query), queryWrapper); + IPage res=new Page<>(); + res.setSize(rehearsalRecordList.getSize()); + res.setTotal(rehearsalRecordList.getTotal()); + res.setPages(rehearsalRecordList.getPages()); + List records = rehearsalRecordList.getRecords(); + List recordlVOS =new ArrayList<>(); + for (RehearsalRecordEntity record : records) { + RehearsalRecordlVO rehearsalRecordlVO = new RehearsalRecordlVO(); + Long rehearsalPlanId1 = record.getRehearsalPlanId(); + RehearsalPlanEntity rehearsalPlanEntity = rehearsalPlanMapper.selectById(rehearsalPlanId1); + BeanUtil.copy(rehearsalPlanEntity,rehearsalRecordlVO); + rehearsalRecordlVO.setPeopleName(record.getPeopleName()); + int length = record.getPeopleName().split(",").length; + rehearsalRecordlVO.setPeopleNum(String.valueOf(length)); + rehearsalRecordlVO.setActualStartTime(record.getActualStartTime()); + rehearsalRecordlVO.setActualEndTime(record.getActualEndTime()); + recordlVOS.add(rehearsalRecordlVO); + } + res.setRecords(recordlVOS); + return res; } } diff --git a/hzims-service/safeproduct/src/main/java/com/hnac/hzims/safeproduct/service/impl/TrainRecordServiceImpl.java b/hzims-service/safeproduct/src/main/java/com/hnac/hzims/safeproduct/service/impl/TrainRecordServiceImpl.java index a47cd6b..be17274 100644 --- a/hzims-service/safeproduct/src/main/java/com/hnac/hzims/safeproduct/service/impl/TrainRecordServiceImpl.java +++ b/hzims-service/safeproduct/src/main/java/com/hnac/hzims/safeproduct/service/impl/TrainRecordServiceImpl.java @@ -21,7 +21,9 @@ import com.hnac.hzims.safeproduct.service.ITrainRecordService; import com.hnac.hzims.safeproduct.utils.BaseUtil; import com.hnac.hzims.safeproduct.utils.TimeUtils; import com.hnac.hzims.safeproduct.vo.TrainRecordDetailVO; +import com.hnac.hzims.safeproduct.vo.TrainRecordVO; import org.springblade.core.mp.support.Query; +import org.springblade.core.tool.utils.BeanUtil; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.beans.factory.annotation.Value; import org.springframework.stereotype.Service; @@ -188,9 +190,25 @@ public class TrainRecordServiceImpl extends ServiceImpl trainRecordPage(Map param, Query query) { + public IPage trainRecordPage(Map param, Query query) { IPage page = new Page<>(query.getCurrent(), query.getSize()); - return baseMapper.trainRecordPage(page, param); + IPage trainRecordList = baseMapper.trainRecordPage(page, param); + IPage res=new Page<>(); + res.setSize(trainRecordList.getSize()); + res.setTotal(trainRecordList.getTotal()); + res.setPages(trainRecordList.getPages()); + List records = trainRecordList.getRecords(); + List recordlVOS =new ArrayList<>(); + for (TrainRecordEntity record : records) { + TrainRecordVO trainRecordVO = new TrainRecordVO(); + Long getTrainPlanId = record.getTrainPlanId(); + TrainPlanEntity trainPlanEntity = trainPlanMapper.selectById(getTrainPlanId); + BeanUtil.copy(trainPlanEntity,trainRecordVO); + trainRecordVO.setActualEndTime(record.getActualEndTime()); + recordlVOS.add(trainRecordVO); + } + res.setRecords(recordlVOS); + return res; } /** diff --git a/hzims-service/safeproduct/src/main/resources/db/3.0.0.sql.1 b/hzims-service/safeproduct/src/main/resources/db/3.0.0.sql.1 new file mode 100644 index 0000000..99497d7 --- /dev/null +++ b/hzims-service/safeproduct/src/main/resources/db/3.0.0.sql.1 @@ -0,0 +1,4 @@ +ALTER TABLE `hzims_test_score` +ADD COLUMN `user_id` bigint(20) NULL AFTER `is_deleted`, +ADD COLUMN `dept_name` varchar(255) NULL AFTER `user_id`, +ADD COLUMN `dept_id` bigint(20) NULL AFTER `dept_name`; \ No newline at end of file