From a1a83d37783cc384b7fdbd60ed225202c5bc78a1 Mon Sep 17 00:00:00 2001 From: wulin Date: Tue, 20 Oct 2020 17:52:25 +0800 Subject: [PATCH 1/3] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E5=90=8C=E6=AD=A5?= =?UTF-8?q?=E5=91=98=E5=B7=A5=E4=BF=A1=E6=81=AF=E6=97=B6=E6=B2=A1=E6=9C=89?= =?UTF-8?q?=E5=88=A0=E9=99=A4=E5=8E=9F=E6=9D=A5=E7=9A=84=E5=AF=B9=E5=BA=94?= =?UTF-8?q?=E5=85=B3=E7=B3=BB?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../app/service/impl/DepartmentsStaffRelateServiceImpl.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/com/lz/modules/app/service/impl/DepartmentsStaffRelateServiceImpl.java b/src/main/java/com/lz/modules/app/service/impl/DepartmentsStaffRelateServiceImpl.java index c0e3b509..358d4aa4 100644 --- a/src/main/java/com/lz/modules/app/service/impl/DepartmentsStaffRelateServiceImpl.java +++ b/src/main/java/com/lz/modules/app/service/impl/DepartmentsStaffRelateServiceImpl.java @@ -57,7 +57,7 @@ public class DepartmentsStaffRelateServiceImpl extends ServiceImpl Date: Wed, 21 Oct 2020 10:27:49 +0800 Subject: [PATCH 2/3] =?UTF-8?q?=E8=80=83=E6=A0=B8=E7=BB=84=E5=88=97?= =?UTF-8?q?=E8=A1=A8=E8=BF=94=E5=9B=9E=E8=80=83=E6=A0=B8=E4=BA=BA=E6=95=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../flow/dao/EvaluationGroupMapper.java | 2 ++ .../modules/flow/entity/EvaluationGroup.java | 8 +++++ .../com/lz/modules/flow/entity/FlowStart.java | 8 ++--- .../lz/modules/flow/model/FlowStartDto.java | 8 ++--- .../modules/flow/req/EvaluationGroupReq.java | 2 ++ .../com/lz/modules/flow/req/FlowStartReq.java | 8 ++--- .../flow/service/EvaluationGroupService.java | 2 ++ .../impl/EvaluationGroupServiceImpl.java | 15 +++++++++ .../controller/EvaluationGroupController.java | 15 +++++---- .../controller/FlowStartController.java | 33 +++++++++++++++++-- .../mapper/flow/EvaluationGroupMapper.xml | 8 +++++ 11 files changed, 88 insertions(+), 21 deletions(-) diff --git a/src/main/java/com/lz/modules/flow/dao/EvaluationGroupMapper.java b/src/main/java/com/lz/modules/flow/dao/EvaluationGroupMapper.java index 62bf47af..833b1713 100644 --- a/src/main/java/com/lz/modules/flow/dao/EvaluationGroupMapper.java +++ b/src/main/java/com/lz/modules/flow/dao/EvaluationGroupMapper.java @@ -36,4 +36,6 @@ public interface EvaluationGroupMapper extends BaseMapper { List seleteEvaluationGroupByReq(@Param("page") IPage page, @Param("req") EvaluationGroupReq req); + + List selectEvaluationGroupByIds(@Param("ids") List ids); } \ No newline at end of file diff --git a/src/main/java/com/lz/modules/flow/entity/EvaluationGroup.java b/src/main/java/com/lz/modules/flow/entity/EvaluationGroup.java index 6f35d100..36d8966b 100644 --- a/src/main/java/com/lz/modules/flow/entity/EvaluationGroup.java +++ b/src/main/java/com/lz/modules/flow/entity/EvaluationGroup.java @@ -1,10 +1,13 @@ package com.lz.modules.flow.entity; +import com.baomidou.mybatisplus.annotation.TableField; import com.baomidou.mybatisplus.annotation.TableId; import com.baomidou.mybatisplus.annotation.TableName; import com.baomidou.mybatisplus.annotation.IdType; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; import lombok.Data; +import org.springframework.context.annotation.ComponentScan; + import java.util.Date; /** *

@@ -44,6 +47,11 @@ public class EvaluationGroup implements java.io.Serializable { //排除人员ids,逗号隔开 @ApiModelProperty(value = "排除人员ids,逗号隔开", name = "outIds") private String outIds; + + @TableField(exist = false) + @ApiModelProperty(value = "参与考核人数", name = "counts") + private int counts; + /** * * @return diff --git a/src/main/java/com/lz/modules/flow/entity/FlowStart.java b/src/main/java/com/lz/modules/flow/entity/FlowStart.java index 0a631f81..b20b4312 100644 --- a/src/main/java/com/lz/modules/flow/entity/FlowStart.java +++ b/src/main/java/com/lz/modules/flow/entity/FlowStart.java @@ -40,8 +40,8 @@ public class FlowStart implements java.io.Serializable { @ApiModelProperty(value = "结束时间", name = "endTime") private Date endTime; //组id - @ApiModelProperty(value = "组id", name = "groupIds") - private Long groupIds; + @ApiModelProperty(value = "组id,逗号隔开", name = "groupIds") + private String groupIds; /** * * @return @@ -151,14 +151,14 @@ public class FlowStart implements java.io.Serializable { * 组id * @return */ - public Long getGroupIds() { + public String getGroupIds() { return groupIds; } /** * 组id * @param groupIds */ - public void setGroupIds(Long groupIds) { + public void setGroupIds(String groupIds) { this.groupIds = groupIds; } diff --git a/src/main/java/com/lz/modules/flow/model/FlowStartDto.java b/src/main/java/com/lz/modules/flow/model/FlowStartDto.java index c4c2f028..a364a686 100644 --- a/src/main/java/com/lz/modules/flow/model/FlowStartDto.java +++ b/src/main/java/com/lz/modules/flow/model/FlowStartDto.java @@ -26,8 +26,8 @@ public class FlowStartDto { @ApiModelProperty(value = "结束时间", name = "endTime") private Date endTime; //组id - @ApiModelProperty(value = "组id", name = "groupIds") - private Long groupIds; + @ApiModelProperty(value = "组id,逗号隔开", name = "groupIds") + private String groupIds; /** * * @return @@ -94,14 +94,14 @@ public class FlowStartDto { * 组id * @return */ - public Long getGroupIds() { + public String getGroupIds() { return groupIds; } /** * 组id * @param groupIds */ - public void setGroupIds(Long groupIds) { + public void setGroupIds(String groupIds) { this.groupIds = groupIds; } diff --git a/src/main/java/com/lz/modules/flow/req/EvaluationGroupReq.java b/src/main/java/com/lz/modules/flow/req/EvaluationGroupReq.java index b3de50f3..0cad1598 100644 --- a/src/main/java/com/lz/modules/flow/req/EvaluationGroupReq.java +++ b/src/main/java/com/lz/modules/flow/req/EvaluationGroupReq.java @@ -40,6 +40,8 @@ public class EvaluationGroupReq implements java.io.Serializable { private String name; + + /** * * @return diff --git a/src/main/java/com/lz/modules/flow/req/FlowStartReq.java b/src/main/java/com/lz/modules/flow/req/FlowStartReq.java index 885b302c..fd20b2eb 100644 --- a/src/main/java/com/lz/modules/flow/req/FlowStartReq.java +++ b/src/main/java/com/lz/modules/flow/req/FlowStartReq.java @@ -48,8 +48,8 @@ public class FlowStartReq implements java.io.Serializable { @ApiModelProperty(value = "结束时间", name = "endTime") private Date endTime; //组id - @ApiModelProperty(value = "组id", name = "groupIds") - private Long groupIds; + @ApiModelProperty(value = "组id,逗号隔开", name = "groupIds") + private String groupIds; /** * * @return @@ -159,14 +159,14 @@ public class FlowStartReq implements java.io.Serializable { * 组id * @return */ - public Long getGroupIds() { + public String getGroupIds() { return groupIds; } /** * 组id * @param groupIds */ - public void setGroupIds(Long groupIds) { + public void setGroupIds(String groupIds) { this.groupIds = groupIds; } diff --git a/src/main/java/com/lz/modules/flow/service/EvaluationGroupService.java b/src/main/java/com/lz/modules/flow/service/EvaluationGroupService.java index b5ee32d6..c880d950 100644 --- a/src/main/java/com/lz/modules/flow/service/EvaluationGroupService.java +++ b/src/main/java/com/lz/modules/flow/service/EvaluationGroupService.java @@ -39,4 +39,6 @@ public interface EvaluationGroupService extends IService { PageUtils selectEvaluationGroupByReq(EvaluationGroupReq req); + + List selectEvaluationGroupByIds(List ids); } \ No newline at end of file diff --git a/src/main/java/com/lz/modules/flow/service/impl/EvaluationGroupServiceImpl.java b/src/main/java/com/lz/modules/flow/service/impl/EvaluationGroupServiceImpl.java index c8e97948..a78c917a 100644 --- a/src/main/java/com/lz/modules/flow/service/impl/EvaluationGroupServiceImpl.java +++ b/src/main/java/com/lz/modules/flow/service/impl/EvaluationGroupServiceImpl.java @@ -34,6 +34,9 @@ public class EvaluationGroupServiceImpl extends ServiceImpl evaluationGroupMapper.seleteEvaluationGroupByReq(page, req)); + //下面实时统计考核人数 + List groups = pageUtils.getList(); + for (EvaluationGroup group:groups + ) { + List ids = evaluationGroupService.selectAllStaffIdsByGroupId(group.getId()); + group.setCounts(ids.size()); + } return pageUtils; } @@ -105,4 +115,9 @@ public class EvaluationGroupServiceImpl extends ServiceImpl(new HashSet(depStaffIds)); } + + @Override + public List selectEvaluationGroupByIds(List ids){ + return evaluationGroupMapper.selectEvaluationGroupByIds(ids); + } } diff --git a/src/main/java/com/lz/modules/performance/controller/EvaluationGroupController.java b/src/main/java/com/lz/modules/performance/controller/EvaluationGroupController.java index d81f3235..4552450d 100644 --- a/src/main/java/com/lz/modules/performance/controller/EvaluationGroupController.java +++ b/src/main/java/com/lz/modules/performance/controller/EvaluationGroupController.java @@ -31,7 +31,7 @@ import java.util.stream.Collectors; @RestController @RequestMapping("/evaluationGroup") -@Api(tags="考核组") +@Api(tags="考评组") public class EvaluationGroupController { @@ -53,9 +53,9 @@ public class EvaluationGroupController { @GetMapping("/getById") - @ApiOperation("获取考核组详情") + @ApiOperation("获取考评组详情") @ApiResponses({@ApiResponse(code=200,message = "成功", response= EvaluationGroupDto.class)}) - public R getById(@RequestParam @ApiParam("考核组id") Long id) { + public R getById(@RequestParam @ApiParam("考评组id") Long id) { EvaluationGroup evaluationGroup = evaluationGroupService.selectEvaluationGroupById(id); EvaluationGroupDto evaluationGroupDto = new EvaluationGroupDto(); if(evaluationGroup.getDepIds() != null && evaluationGroup.getDepIds().length() > 0){ @@ -113,7 +113,7 @@ public class EvaluationGroupController { @PostMapping("/getGroups") - @ApiOperation("获取考核组列表") + @ApiOperation("获取考评组列表") @ApiResponses({@ApiResponse(code=200,message = "成功", response=EvaluationGroup.class)}) public R getGroups(@RequestBody @ApiParam EvaluationGroupReq req) { PageUtils pageUtils = evaluationGroupService.selectEvaluationGroupByReq(req); @@ -122,7 +122,7 @@ public class EvaluationGroupController { @PostMapping("/update") - @ApiOperation("编辑考核组") + @ApiOperation("编辑考评组") public R update(@RequestBody @ApiParam EvaluationGroup evaluationGroup) { evaluationGroupService.updateEvaluationGroupById(evaluationGroup); return R.ok(); @@ -130,7 +130,8 @@ public class EvaluationGroupController { @PostMapping("/save") - @ApiOperation("新增考核组") + @ApiOperation("新增考评组") + @ApiResponses({@ApiResponse(code = 200, message = "成功", response = EvaluationGroup.class)}) public R save(@RequestBody @ApiParam EvaluationGroup evaluationGroup) { evaluationGroupService.insertEvaluationGroup(evaluationGroup); return R.ok().put("data", evaluationGroup); @@ -138,7 +139,7 @@ public class EvaluationGroupController { @GetMapping("/delete") - @ApiOperation("删除考核组") + @ApiOperation("删除考评组") public R delete(@RequestParam @ApiParam("组id") Long id) { resultModelService.deleteResultModelByGroupId(id); return evaluationGroupService.deleteEvaluationGroupById(id); diff --git a/src/main/java/com/lz/modules/performance/controller/FlowStartController.java b/src/main/java/com/lz/modules/performance/controller/FlowStartController.java index 82d9e0e8..911960c8 100644 --- a/src/main/java/com/lz/modules/performance/controller/FlowStartController.java +++ b/src/main/java/com/lz/modules/performance/controller/FlowStartController.java @@ -5,16 +5,27 @@ import com.alibaba.fastjson.JSONObject; import com.lz.common.utils.PageUtils; import com.lz.common.utils.R; import com.lz.common.utils.StringUtil; +import com.lz.modules.flow.entity.EvaluationGroup; import com.lz.modules.flow.entity.FlowStart; +import com.lz.modules.flow.service.EvaluationGroupService; import com.lz.modules.flow.service.FlowStartService; import io.swagger.annotations.Api; +import io.swagger.annotations.ApiOperation; +import io.swagger.annotations.ApiParam; +import org.apache.commons.collections.map.HashedMap; import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.web.bind.annotation.PostMapping; import org.springframework.web.bind.annotation.RequestBody; import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web.bind.annotation.RestController; +import java.util.Arrays; import java.util.HashMap; +import java.util.List; import java.util.Map; +import java.util.function.Function; +import java.util.stream.Collector; +import java.util.stream.Collectors; @RestController @RequestMapping("/flowStart") @@ -26,6 +37,8 @@ public class FlowStartController { private FlowStartService flowStartService; + @Autowired + private EvaluationGroupService evaluationGroupService; @@ -43,9 +56,25 @@ public class FlowStartController { } - @RequestMapping("/save") - public R save(@RequestBody FlowStart flowStart) { + @PostMapping("/save") + @ApiOperation("发起新的考核任务") + public R save(@RequestBody @ApiParam FlowStart flowStart) { flowStartService.insertFlowStart(flowStart); + //下面开始初始化流程 + List ids = Arrays.stream(flowStart.getGroupIds().split(",")).map(new Function() { + @Override + public Long apply(String s) { + return Long.getLong(s); + } + }).collect(Collectors.toList()); + List evaluationGroups = evaluationGroupService.selectEvaluationGroupByIds(ids); + Map map = new HashedMap(); + for (EvaluationGroup evaluationGroup:evaluationGroups + ) { + //下面初始化部门的员工考核流程 + + //下面初始化考核人员的考核流程 + } return R.ok(); } diff --git a/src/main/resources/mapper/flow/EvaluationGroupMapper.xml b/src/main/resources/mapper/flow/EvaluationGroupMapper.xml index f0159a88..56fc0f92 100644 --- a/src/main/resources/mapper/flow/EvaluationGroupMapper.xml +++ b/src/main/resources/mapper/flow/EvaluationGroupMapper.xml @@ -96,6 +96,14 @@ and name like concat('%', #{req.name} '%') + + From 9177eab432544ca78e4a0a4d6f6ae12267cf9af9 Mon Sep 17 00:00:00 2001 From: quyixiao <2621048238@qq.com> Date: Wed, 21 Oct 2020 11:12:12 +0800 Subject: [PATCH 3/3] rjuq whnt --- .../app/controller/StaffRoleController.java | 6 +++ .../lz/modules/flow/dao/StaffRoleMapper.java | 2 + .../com/lz/modules/flow/entity/StaffRole.java | 52 +++++++++++++++++-- .../flow/service/StaffRoleService.java | 2 + .../service/impl/StaffRoleServiceImpl.java | 6 +++ .../resources/mapper/flow/StaffRoleMapper.xml | 21 ++++++-- src/test/java/com/lz/mysql/MysqlMain.java | 2 +- 7 files changed, 84 insertions(+), 7 deletions(-) diff --git a/src/main/java/com/lz/modules/app/controller/StaffRoleController.java b/src/main/java/com/lz/modules/app/controller/StaffRoleController.java index 29d3f5b3..b9a685c6 100644 --- a/src/main/java/com/lz/modules/app/controller/StaffRoleController.java +++ b/src/main/java/com/lz/modules/app/controller/StaffRoleController.java @@ -63,6 +63,12 @@ public class StaffRoleController { } + @RequestMapping("/listByGroupId") + public R listByGroupId(Long id ) { + List staffRoles = staffRoleService.selectByGroupId(id); + return R.ok().put("staffRoles", staffRoles); + } + /** * 信息 */ diff --git a/src/main/java/com/lz/modules/flow/dao/StaffRoleMapper.java b/src/main/java/com/lz/modules/flow/dao/StaffRoleMapper.java index b236701a..9a93afca 100644 --- a/src/main/java/com/lz/modules/flow/dao/StaffRoleMapper.java +++ b/src/main/java/com/lz/modules/flow/dao/StaffRoleMapper.java @@ -40,4 +40,6 @@ public interface StaffRoleMapper extends BaseMapper { List selectByRole(@Param("departmentLevel") String departmentLevel); List selectByCondition(@Param("page") IPage page, @Param("params") Map params); + + List selectByGroupId(@Param("id") Long id); } \ No newline at end of file diff --git a/src/main/java/com/lz/modules/flow/entity/StaffRole.java b/src/main/java/com/lz/modules/flow/entity/StaffRole.java index d306d7c6..6c69ce93 100644 --- a/src/main/java/com/lz/modules/flow/entity/StaffRole.java +++ b/src/main/java/com/lz/modules/flow/entity/StaffRole.java @@ -1,35 +1,49 @@ package com.lz.modules.flow.entity; -import com.baomidou.mybatisplus.annotation.IdType; import com.baomidou.mybatisplus.annotation.TableId; import com.baomidou.mybatisplus.annotation.TableName; +import com.baomidou.mybatisplus.annotation.IdType; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; import lombok.Data; import java.util.Date; /** *

-* 菜单权限表 *

*流转关系表 * @author quyixiao -* @since 2020-08-23 +* @since 2020-10-21 */ @Data @TableName("lz_staff_role") +@ApiModel(value = "流转关系表") public class StaffRole implements java.io.Serializable { // @TableId(value = "id", type = IdType.AUTO) private Long id; //是否删除状态,1:删除,0:有效 + @ApiModelProperty(value = "是否删除状态,1:删除,0:有效", name = "isDelete") private Integer isDelete; //创建时间 + @ApiModelProperty(value = "创建时间", name = "gmtCreate") private Date gmtCreate; //最后修改时间 + @ApiModelProperty(value = "最后修改时间", name = "gmtModified") private Date gmtModified; //员工 id + @ApiModelProperty(value = "员工 id", name = "staffId") private Long staffId; //角色 + @ApiModelProperty(value = "角色", name = "departmentLevel") private String departmentLevel; //角色 id + @ApiModelProperty(value = "角色 id", name = "typeRoleIds") private String typeRoleIds; + //员工名称 + @ApiModelProperty(value = "员工名称", name = "staffName") + private String staffName; + //组id + @ApiModelProperty(value = "组id", name = "evaluationGroupId") + private Long evaluationGroupId; /** * * @return @@ -135,6 +149,36 @@ public class StaffRole implements java.io.Serializable { this.typeRoleIds = typeRoleIds; } + /** + * 员工名称 + * @return + */ + public String getStaffName() { + return staffName; + } + /** + * 员工名称 + * @param staffName + */ + public void setStaffName(String staffName) { + this.staffName = staffName; + } + + /** + * 组id + * @return + */ + public Long getEvaluationGroupId() { + return evaluationGroupId; + } + /** + * 组id + * @param evaluationGroupId + */ + public void setEvaluationGroupId(Long evaluationGroupId) { + this.evaluationGroupId = evaluationGroupId; + } + @Override public String toString() { return "StaffRole{" + @@ -145,6 +189,8 @@ public class StaffRole implements java.io.Serializable { ",staffId=" + staffId + ",departmentLevel=" + departmentLevel + ",typeRoleIds=" + typeRoleIds + + ",staffName=" + staffName + + ",evaluationGroupId=" + evaluationGroupId + "}"; } } \ No newline at end of file diff --git a/src/main/java/com/lz/modules/flow/service/StaffRoleService.java b/src/main/java/com/lz/modules/flow/service/StaffRoleService.java index 5399afd3..fe116ab3 100644 --- a/src/main/java/com/lz/modules/flow/service/StaffRoleService.java +++ b/src/main/java/com/lz/modules/flow/service/StaffRoleService.java @@ -47,4 +47,6 @@ public interface StaffRoleService extends IService { SysRoleEntity getRole(Long id); List selectMenuList(); + + List selectByGroupId(Long id); } \ No newline at end of file diff --git a/src/main/java/com/lz/modules/flow/service/impl/StaffRoleServiceImpl.java b/src/main/java/com/lz/modules/flow/service/impl/StaffRoleServiceImpl.java index eb434264..1d3702c8 100644 --- a/src/main/java/com/lz/modules/flow/service/impl/StaffRoleServiceImpl.java +++ b/src/main/java/com/lz/modules/flow/service/impl/StaffRoleServiceImpl.java @@ -229,6 +229,12 @@ public class StaffRoleServiceImpl extends ServiceImpl selectByGroupId(Long id) { + + return staffRoleMapper.selectByGroupId(id); + } + public String getSuffix(Map departmentsStaffRelateEntityMap, Map staffMap, String departmentId, Map singleDepartmentsStaffRelate) { DepartmentsStaffRelateEntity departmentsStaffRelateEntity = departmentsStaffRelateEntityMap.get(departmentId); diff --git a/src/main/resources/mapper/flow/StaffRoleMapper.xml b/src/main/resources/mapper/flow/StaffRoleMapper.xml index 69a78b03..f0f10ec4 100644 --- a/src/main/resources/mapper/flow/StaffRoleMapper.xml +++ b/src/main/resources/mapper/flow/StaffRoleMapper.xml @@ -11,12 +11,14 @@ + + - id AS id, is_delete AS isDelete, gmt_create AS gmtCreate, gmt_modified AS gmtModified, staff_id AS staffId, department_level AS departmentLevel, type_role_ids AS typeRoleIds + id AS id, is_delete AS isDelete, gmt_create AS gmtCreate, gmt_modified AS gmtModified, staff_id AS staffId, department_level AS departmentLevel, type_role_ids AS typeRoleIds, staff_name AS staffName, evaluation_group_id AS evaluationGroupId @@ -32,6 +34,8 @@ staff_id, department_level, type_role_ids, + staff_name, + evaluation_group_id, is_delete, gmt_create, gmt_modified @@ -39,6 +43,8 @@ #{ staffId}, #{ departmentLevel}, #{ typeRoleIds}, + #{ staffName}, + #{ evaluationGroupId}, 0, now(), now() @@ -54,7 +60,9 @@ gmt_create = #{gmtCreate}, staff_id = #{staffId}, department_level = #{departmentLevel}, - type_role_ids = #{typeRoleIds} + type_role_ids = #{typeRoleIds}, + staff_name = #{staffName}, + evaluation_group_id = #{evaluationGroupId} ,gmt_modified = now() where id = #{id} @@ -69,7 +77,9 @@ gmt_create = #{gmtCreate}, staff_id = #{staffId}, department_level = #{departmentLevel}, - type_role_ids = #{typeRoleIds} + type_role_ids = #{typeRoleIds}, + staff_name = #{staffName}, + evaluation_group_id = #{evaluationGroupId} ,gmt_modified = now() where id = #{id} @@ -79,6 +89,8 @@ update lz_staff_role set is_delete = 1 where id=#{id} limit 1 + + @@ -94,6 +106,9 @@ order by id desc + diff --git a/src/test/java/com/lz/mysql/MysqlMain.java b/src/test/java/com/lz/mysql/MysqlMain.java index 7d298621..6f770727 100644 --- a/src/test/java/com/lz/mysql/MysqlMain.java +++ b/src/test/java/com/lz/mysql/MysqlMain.java @@ -78,7 +78,7 @@ public class MysqlMain { //list.add(new TablesBean("lz_result_model")); //list.add(new TablesBean("lz_result_score")); //list.add(new TablesBean("lz_result_taget_lib")); - list.add(new TablesBean("lz_flow_chart_detail_record")); + list.add(new TablesBean("lz_staff_role")); List list2 = new ArrayList(); Map map = MysqlUtil2ShowCreateTable.getComments();