Browse Source

加入游戏时返回分数

master
zy_Java 5 years ago
parent
commit
5ada6bdad1
  1. 2
      game/src/main/java/com/ccsens/game/bean/vo/ClientVo.java
  2. 9
      game/src/main/java/com/ccsens/game/netty/wsserver/WebSocketHandler.java
  3. 5
      game/src/main/java/com/ccsens/game/service/ClientService.java
  4. 27
      game/src/main/java/com/ccsens/game/service/ScreenService.java
  5. 94
      game/src/main/resources/archive/SQ.txt
  6. BIN
      game/src/main/resources/archive/流程图.png
  7. 949
      mt/src/main/resources/sql/mt-20200815.sql
  8. 6
      pims/src/main/java/com/ccsens/pims/bean/dto/CompanyDto.java
  9. 14
      pims/src/main/java/com/ccsens/pims/persist/dao/ProductDao.java
  10. 19
      pims/src/main/java/com/ccsens/pims/service/ProductService.java
  11. 157
      pims/src/main/java/com/ccsens/pims/service/ReportService.java
  12. 37
      pims/src/main/resources/mapper_dao/ProducrDao.xml
  13. 14
      pom.xml
  14. 7
      tall/src/main/java/com/ccsens/tall/persist/dao/SysUserDao.java
  15. 67
      tall/src/main/java/com/ccsens/tall/service/UserService.java
  16. 2
      tall/src/main/java/com/ccsens/tall/util/TallConstant.java
  17. 1
      tall/src/main/java/com/ccsens/tall/web/DebugController.java
  18. 3
      tall/src/main/java/com/ccsens/tall/web/UserController.java
  19. 4
      tall/src/main/resources/application.yml
  20. 37
      tall/src/main/resources/mapper_dao/SysUserDao.xml
  21. 709230
      tall/src/main/resources/sql/tall-20200815人寿比赛用.sql
  22. 56
      util/src/main/java/com/ccsens/util/PoiUtil.java

2
game/src/main/java/com/ccsens/game/bean/vo/ClientVo.java

@ -59,6 +59,8 @@ public class ClientVo {
private Long startLocalTime;
@ApiModelProperty("客户端结束时间")
private Long endLocalTime;
@ApiModelProperty("玩家当前的分数")
private int score;
}
@Data
@ApiModel("ClientVoCompletedData")

9
game/src/main/java/com/ccsens/game/netty/wsserver/WebSocketHandler.java

@ -162,9 +162,7 @@ public class WebSocketHandler extends SimpleChannelInboundHandler<BaseMessageDto
return gameMessageCountOut;
}
GameRecord record = JSON.parseObject(gameRecordStr, GameRecord.class);
if(record.getGameStatus() == GameConstant.GAME_COMPLETED){
return gameMessageCountOut;
}
String gameUserKey = GameConstant.generateGameKey(recordIdLong);
Set<ZSetOperations.TypedTuple<Object>> typedTuples = redisUtil.zsRevGetWithScore(gameUserKey, 0, -1);
@ -175,9 +173,8 @@ public class WebSocketHandler extends SimpleChannelInboundHandler<BaseMessageDto
ClientDto.RedisUser user = JSON.parseObject((String)type.getValue(), ClientDto.RedisUser.class);
if (user.getUserId().longValue() == Long.parseLong(userId)) {
int score = type.getScore().intValue();
String userStatus = GameConstant.generateGameStatusKey(recordIdLong);
String gameStausObj = (String)redisUtil.get(userStatus);
if (StrUtil.isBlank(gameStausObj) || gameStausObj.equals(String.valueOf(GameConstant.GAME_COMPLETED))){
if (record.getGameStatus() == GameConstant.GAME_COMPLETED){
gameMessageCountOut = new GameMessageCountOut(score/100, score);
return gameMessageCountOut;
}

5
game/src/main/java/com/ccsens/game/service/ClientService.java

@ -250,6 +250,7 @@ public class ClientService implements IClientService {
ClientVo.ProcessingData processingData = new ClientVo.ProcessingData();
processingData.setStartLocalTime(join.getLocalStartTime());
processingData.setEndLocalTime(join.getLocalEndTime());
processingData.setScore(join.getScore());
joinVo.setProcessingData(processingData);
break;
case GameConstant.GAME_COMPLETED:
@ -385,8 +386,8 @@ public class ClientService implements IClientService {
// 游戏状态
joinVo.setGameStatus(gameRecord.getGameStatus());
// 总人数
long count = redisUtil.zsGetSize(GameConstant.generateGameKey(gameRecord.getId()));
if (count <= 0) {
Long count = redisUtil.zsGetSize(GameConstant.generateGameKey(gameRecord.getId()));
if (count == null || count <= 0) {
GameUserJoinExample userJoinExample = new GameUserJoinExample();
userJoinExample.createCriteria().andRecordIdEqualTo(gameRecord.getId());
count = gameUserJoinDao.countByExample(userJoinExample);

27
game/src/main/java/com/ccsens/game/service/ScreenService.java

@ -542,7 +542,7 @@ public class ScreenService implements IScreenService {
// 查询总人数
Long total = redisUtil.zsGetSize(GameConstant.generateGameKey(gameRecord.getId()));
log.info("redis查询gameRecordID:{}总人数:{}", gameRecord.getId(), total);
if (total == null) {
if (total == null || total == 0) {
GameUserJoinExample gameuserJoinExample = new GameUserJoinExample();
gameuserJoinExample.createCriteria().andRecordIdEqualTo(memberRecord.getMemberRecord());
total = gameUserJoinDao.countByExample(gameuserJoinExample);
@ -1156,9 +1156,10 @@ public class ScreenService implements IScreenService {
case GameConstant.GAME_PROCESSING:
throw new BaseException(CodeEnum.GAME_PROCESSING);
case GameConstant.GAME_COMPLETED:
if (start.getStartStatus() == null || start.getStartStatus().byteValue() != GameConstant.GAME_RESTART_STATUS) {
// if (start.getStartStatus() == null || start.getStartStatus().byteValue() != GameConstant.GAME_RESTART_STATUS) {
throw new BaseException(CodeEnum.GAME_COMPLETED);
}
// }
default:
}
//更新状态和时间
@ -1178,16 +1179,16 @@ public class ScreenService implements IScreenService {
redisUtil.zsSet(groupKey, JSONObject.toJSONString(gameGroup),0,600);
});
}
//再玩一次
if (start.getStartStatus() != null && start.getStartStatus().byteValue() == GameConstant.GAME_RESTART_STATUS) {
//再玩一次,设置参见的用户为无效用户
GameUserJoin delUserJoin = new GameUserJoin();
delUserJoin.setRecStatus(WebConstant.REC_STATUS.Deleted.value);
GameUserJoinExample example = new GameUserJoinExample();
example.createCriteria().andRecordIdEqualTo(start.getMemberRecord());
gameUserJoinDao.updateByExampleSelective(delUserJoin, example);
redisUtil.del(GameConstant.generateGameKey(start.getMemberRecord()));
}
// //再玩一次
// if (start.getStartStatus() != null && start.getStartStatus().byteValue() == GameConstant.GAME_RESTART_STATUS) {
// //再玩一次,设置参见的用户为无效用户
// GameUserJoin delUserJoin = new GameUserJoin();
// delUserJoin.setRecStatus(WebConstant.REC_STATUS.Deleted.value);
// GameUserJoinExample example = new GameUserJoinExample();
// example.createCriteria().andRecordIdEqualTo(start.getMemberRecord());
// gameUserJoinDao.updateByExampleSelective(delUserJoin, example);
// redisUtil.del(GameConstant.generateGameKey(start.getMemberRecord()));
// }
//延时通知
long startSend = gameRecord.getStartTime() - System.currentTimeMillis();
long endSend = gameRecord.getEndTime() - System.currentTimeMillis();

94
game/src/main/resources/archive/SQ.txt

@ -0,0 +1,94 @@
tall game anyring SQ
1.PT获取配置(有则取已存,无则取默认)
2.PT获取大屏路径
创建游戏购买记录,默认10次
添加游戏记录(根据配置,无配置,游戏类型默认是分组,则给默认分组)
给项目下所有用户发送 大屏路径 游戏ID 项目ID 游戏类型
3.开始游戏
游戏在准备中,进行中,已结合不能再开始
更新db游戏状态和开始、结束时间(配置游戏时长)
更新redis游戏状态为准备中 10分钟
更新redis各分组分数(0分 10分钟)
定时更新
进行中:修改redis和db的游戏状态,redis游戏信息
结束时:1.修改redis和db的游戏状态,redis游戏信息
2.将游戏下用户的分数更新到数据库
更新db用户的开始和结束时间
更新redis游戏下所有用户的分数(0分 10分钟)
定时推送客户端
准备中0 根据redis查询用户信息,通知用户游戏倒计时 游戏开始时间和结束时间
进行中10 根据redis查询用户信息,通知用户游戏倒计时 游戏开始时间和结束时间
结束时70 根据redis查询用户信息,通知用户结束,分组分数,个人分数
个人分数:查询游戏下的所有用户,分装起分数信息,次数(分数/100),排名,超过%
分组分数:查询redis所有分组分数,获取分数,次数,排名
redis无数据,查数据库分组信息
4.查询游戏基本信息
1.查询游戏基本信息(redis,db)
2.用户总数(redis用户分数长度,db)
3.分组
redis:查询分组分数,依次查询组内总人数(redis),根据计分规则,修改分数和次数(总分,均分)
若均分,则重新排序
db:查询数据库分数总人数等信息
总分,返回
均分,重新计算,排序,返回(注:此处次数为计算均次数)
4.根据状态,查询其他信息
未开始:规则等
准备中:开始时间 (大屏:游戏 用户:用户参加游戏的开始时间db)
已结束:个人赛:
redis:查询所有人的分数,计算总分,总次数,平均次数,超过%
db:查询所有人的成绩,计算上述信息
前十名(redis/db)
团体赛:
查询所有团队分数(redis/db),计算总分,总次数,均分,均次数
查询均分超过%(db)
查询前十名
5.查询游戏状态
1.查询游戏基本信息(redis,db)
2.用户总数(redis用户分数长度,db)
3.分组(同查详情)
3.根据状态,查询其他信息
准备中:开始时间 (大屏:游戏 用户:用户参加游戏的开始时间db)
进行中:未分组,前十名(redis/db)
分组,=分组
已结束:同详情
6.加入游戏
1.游戏分组,分组ID为null或不正确,返回参数有误
2.用户已加入(db)
返回分组信息
准备中、进行中:开始、结束时间
已结束:
分组成绩(db)
个人成绩,超过%,排名(db)
3.游戏已结束:
个人成绩为0
团队成绩(db)
4.组内成员达到上限 返回达到上限
5.保存用户加入游戏(db)
查询用户user信息
昵称为空取phone,中间四位脱敏
6.若分组,保存分组信息(db),更新redis改组人数
7.若游戏在进行中或准备中,更新redis用户分数
8.返回用户信息(同2)
7.根据游戏id获取分组信息 db
8.根据任务id获取游戏记录id db
9.组内排行榜
查库
10.全员排行榜
redis/db 所有人分数排名+总数
11.授权:token,recordId
12.计分
1.获取授权时的userid,record, 为空,return
2.游戏结束,return
3.redis 用户分数(recordId+userid)为空,return
4.更新redis用户分数(+100)
5.redis 更新所属分组分数
6.分会总分数,总次数

BIN
game/src/main/resources/archive/流程图.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 64 KiB

949
mt/src/main/resources/sql/mt-20200815.sql

@ -0,0 +1,949 @@
/*
Navicat Premium Data Transfer
Source Server : www.tall.wiki
Source Server Type : MariaDB
Source Server Version : 100323
Source Host : 81.70.54.64:3306
Source Schema : mt
Target Server Type : MariaDB
Target Server Version : 100323
File Encoding : 65001
Date: 25/08/2020 18:49:46
*/
SET NAMES utf8mb4;
SET FOREIGN_KEY_CHECKS = 0;
-- ----------------------------
-- Table structure for t_mt_group
-- ----------------------------
DROP TABLE IF EXISTS `t_mt_group`;
CREATE TABLE `t_mt_group` (
`id` bigint(20) NOT NULL,
`project_id` bigint(20) NULL DEFAULT 0 COMMENT '项目id',
`name` varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT '' COMMENT '名字',
`advance_status` tinyint(2) UNSIGNED NULL DEFAULT 1 COMMENT '进阶状态 默认是1 进阶后改为下一阶状态',
`score` int(11) NULL DEFAULT 0 COMMENT '分数/票数',
`type` tinyint(1) UNSIGNED NULL DEFAULT 0 COMMENT '0答题组 1被投票组',
`created_at` timestamp(0) NOT NULL DEFAULT current_timestamp(),
`updated_at` timestamp(0) NOT NULL DEFAULT current_timestamp() ON UPDATE CURRENT_TIMESTAMP(0),
`rec_status` tinyint(1) UNSIGNED NULL DEFAULT 0 COMMENT '状态,0正常 1禁用 2删除',
PRIMARY KEY (`id`) USING BTREE,
INDEX `project_index`(`project_id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '分组表' ROW_FORMAT = Dynamic;
-- ----------------------------
-- Records of t_mt_group
-- ----------------------------
INSERT INTO `t_mt_group` VALUES (1, 1293788636923432960, '1组', 4, 315, 0, '2020-08-13 17:54:15', '2020-08-16 10:34:57', 0);
INSERT INTO `t_mt_group` VALUES (2, 1293788636923432960, '2组', 1, 130, 0, '2020-08-13 17:54:15', '2020-08-15 22:37:26', 0);
INSERT INTO `t_mt_group` VALUES (3, 1293788636923432960, '3组', 1, 120, 0, '2020-08-13 17:54:15', '2020-08-15 22:37:26', 0);
INSERT INTO `t_mt_group` VALUES (4, 1293788636923432960, '4组', 2, 150, 0, '2020-08-13 17:54:15', '2020-08-16 10:12:23', 0);
INSERT INTO `t_mt_group` VALUES (5, 1293788636923432960, '5组', 1, 110, 0, '2020-08-13 17:54:15', '2020-08-15 22:37:27', 0);
INSERT INTO `t_mt_group` VALUES (6, 1293788636923432960, '6组', 1, 120, 0, '2020-08-13 17:54:15', '2020-08-15 22:37:31', 0);
INSERT INTO `t_mt_group` VALUES (7, 1293788636923432960, '7组', 2, 160, 0, '2020-08-13 17:54:15', '2020-08-16 10:12:23', 0);
INSERT INTO `t_mt_group` VALUES (8, 1293788636923432960, '8组', 4, 170, 0, '2020-08-13 17:54:15', '2020-08-16 10:34:57', 0);
INSERT INTO `t_mt_group` VALUES (9, 1293788636923432960, '9组', 1, 140, 0, '2020-08-13 17:54:15', '2020-08-15 22:37:31', 0);
INSERT INTO `t_mt_group` VALUES (10, 1293788636923432960, '10组', 4, 235, 0, '2020-08-13 17:54:15', '2020-08-16 10:34:57', 0);
INSERT INTO `t_mt_group` VALUES (11, 123, '1组', 1, 0, 1, '2020-08-14 08:45:06', '2020-08-14 08:45:06', 0);
INSERT INTO `t_mt_group` VALUES (12, 123, '2组', 1, 0, 1, '2020-08-14 08:45:06', '2020-08-14 08:45:06', 0);
INSERT INTO `t_mt_group` VALUES (13, 123, '3组', 1, 0, 1, '2020-08-14 08:45:06', '2020-08-14 08:45:06', 0);
INSERT INTO `t_mt_group` VALUES (14, 123, '4组', 1, 0, 1, '2020-08-14 08:45:06', '2020-08-14 08:45:06', 0);
INSERT INTO `t_mt_group` VALUES (15, 123, '5组', 1, 0, 1, '2020-08-14 08:45:06', '2020-08-14 08:45:06', 0);
INSERT INTO `t_mt_group` VALUES (16, 123, '6组', 1, 0, 1, '2020-08-14 08:45:06', '2020-08-14 08:45:06', 0);
INSERT INTO `t_mt_group` VALUES (17, 123, '7组', 1, 0, 1, '2020-08-14 08:45:06', '2020-08-14 08:45:06', 0);
INSERT INTO `t_mt_group` VALUES (18, 123, '8组', 1, 0, 1, '2020-08-14 08:45:06', '2020-08-14 08:45:06', 0);
INSERT INTO `t_mt_group` VALUES (19, 123, '9组', 1, 0, 1, '2020-08-14 08:45:06', '2020-08-14 08:45:06', 0);
-- ----------------------------
-- Table structure for t_mt_group_topic
-- ----------------------------
DROP TABLE IF EXISTS `t_mt_group_topic`;
CREATE TABLE `t_mt_group_topic` (
`id` bigint(20) NOT NULL,
`topic_id` bigint(20) NULL DEFAULT 0 COMMENT '题目id',
`group_id` bigint(20) NULL DEFAULT 0 COMMENT '分组id',
`answers` varchar(128) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT '' COMMENT '答题者的答案',
`score` int(11) NULL DEFAULT 0 COMMENT '本题得分',
`created_at` timestamp(0) NOT NULL DEFAULT current_timestamp(),
`updated_at` timestamp(0) NOT NULL DEFAULT current_timestamp() ON UPDATE CURRENT_TIMESTAMP(0),
`rec_status` tinyint(1) UNSIGNED NULL DEFAULT 0 COMMENT '状态,0正常 1禁用 2删除',
PRIMARY KEY (`id`) USING BTREE,
INDEX `topic_index`(`topic_id`) USING BTREE,
INDEX `group_index`(`group_id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '答题记录表' ROW_FORMAT = Dynamic;
-- ----------------------------
-- Records of t_mt_group_topic
-- ----------------------------
INSERT INTO `t_mt_group_topic` VALUES (1294814452255952896, 10001, 1, 't', 10, '2020-08-16 09:53:16', '2020-08-16 09:53:16', 0);
INSERT INTO `t_mt_group_topic` VALUES (1294814452264341504, 10001, 2, 't', 10, '2020-08-16 09:53:16', '2020-08-16 09:53:16', 0);
INSERT INTO `t_mt_group_topic` VALUES (1294814452272730112, 10001, 3, 't', 10, '2020-08-16 09:53:16', '2020-08-16 09:53:16', 0);
INSERT INTO `t_mt_group_topic` VALUES (1294814452276924416, 10001, 4, 't', 10, '2020-08-16 09:53:16', '2020-08-16 09:53:16', 0);
INSERT INTO `t_mt_group_topic` VALUES (1294814452285313024, 10001, 5, 't', 10, '2020-08-16 09:53:16', '2020-08-16 09:53:16', 0);
INSERT INTO `t_mt_group_topic` VALUES (1294814452289507328, 10001, 6, 't', 10, '2020-08-16 09:53:16', '2020-08-16 09:53:16', 0);
INSERT INTO `t_mt_group_topic` VALUES (1294814452297895936, 10001, 10, 't', 10, '2020-08-16 09:53:16', '2020-08-16 09:53:16', 0);
INSERT INTO `t_mt_group_topic` VALUES (1294814452302090240, 10001, 9, 't', 10, '2020-08-16 09:53:16', '2020-08-16 09:53:16', 0);
INSERT INTO `t_mt_group_topic` VALUES (1294814452310478848, 10001, 8, 't', 10, '2020-08-16 09:53:16', '2020-08-16 09:53:16', 0);
INSERT INTO `t_mt_group_topic` VALUES (1294814452318867456, 10001, 7, 't', 10, '2020-08-16 09:53:16', '2020-08-16 09:53:16', 0);
INSERT INTO `t_mt_group_topic` VALUES (1294814618811764736, 10002, 1, 't', 10, '2020-08-16 09:53:56', '2020-08-16 09:53:56', 0);
INSERT INTO `t_mt_group_topic` VALUES (1294814618815959040, 10002, 7, 't', 10, '2020-08-16 09:53:56', '2020-08-16 09:53:56', 0);
INSERT INTO `t_mt_group_topic` VALUES (1294814618824347648, 10002, 2, 't', 10, '2020-08-16 09:53:56', '2020-08-16 09:53:56', 0);
INSERT INTO `t_mt_group_topic` VALUES (1294814618832736256, 10002, 8, 't', 10, '2020-08-16 09:53:56', '2020-08-16 09:53:56', 0);
INSERT INTO `t_mt_group_topic` VALUES (1294814618836930560, 10002, 3, 't', 10, '2020-08-16 09:53:56', '2020-08-16 09:53:56', 0);
INSERT INTO `t_mt_group_topic` VALUES (1294814618845319168, 10002, 9, 't', 10, '2020-08-16 09:53:56', '2020-08-16 09:53:56', 0);
INSERT INTO `t_mt_group_topic` VALUES (1294814618853707776, 10002, 4, 't', 10, '2020-08-16 09:53:56', '2020-08-16 09:53:56', 0);
INSERT INTO `t_mt_group_topic` VALUES (1294814618857902080, 10002, 10, 't', 10, '2020-08-16 09:53:56', '2020-08-16 09:53:56', 0);
INSERT INTO `t_mt_group_topic` VALUES (1294814618866290688, 10002, 5, 't', 10, '2020-08-16 09:53:56', '2020-08-16 09:53:56', 0);
INSERT INTO `t_mt_group_topic` VALUES (1294814618870484992, 10002, 6, 't', 10, '2020-08-16 09:53:56', '2020-08-16 09:53:56', 0);
INSERT INTO `t_mt_group_topic` VALUES (1294814832951955456, 10003, 1, 't', 10, '2020-08-16 09:54:47', '2020-08-16 09:54:47', 0);
INSERT INTO `t_mt_group_topic` VALUES (1294814832960344064, 10003, 7, 't', 10, '2020-08-16 09:54:47', '2020-08-16 09:54:47', 0);
INSERT INTO `t_mt_group_topic` VALUES (1294814832968732672, 10003, 2, 't', 10, '2020-08-16 09:54:47', '2020-08-16 09:54:47', 0);
INSERT INTO `t_mt_group_topic` VALUES (1294814832972926976, 10003, 8, 't', 10, '2020-08-16 09:54:47', '2020-08-16 09:54:47', 0);
INSERT INTO `t_mt_group_topic` VALUES (1294814832981315584, 10003, 3, 't', 10, '2020-08-16 09:54:47', '2020-08-16 09:54:47', 0);
INSERT INTO `t_mt_group_topic` VALUES (1294814832985509888, 10003, 9, 't', 10, '2020-08-16 09:54:47', '2020-08-16 09:54:47', 0);
INSERT INTO `t_mt_group_topic` VALUES (1294814832993898496, 10003, 4, 't', 10, '2020-08-16 09:54:47', '2020-08-16 09:54:47', 0);
INSERT INTO `t_mt_group_topic` VALUES (1294814832998092800, 10003, 10, 't', 10, '2020-08-16 09:54:47', '2020-08-16 09:54:47', 0);
INSERT INTO `t_mt_group_topic` VALUES (1294814833002287104, 10003, 5, 't', 10, '2020-08-16 09:54:47', '2020-08-16 09:54:47', 0);
INSERT INTO `t_mt_group_topic` VALUES (1294814833010675712, 10003, 6, 'f', 0, '2020-08-16 09:54:47', '2020-08-16 09:54:47', 0);
INSERT INTO `t_mt_group_topic` VALUES (1294815004167639040, 10004, 1, 't', 10, '2020-08-16 09:55:28', '2020-08-16 09:55:28', 0);
INSERT INTO `t_mt_group_topic` VALUES (1294815004176027648, 10004, 7, 't', 10, '2020-08-16 09:55:28', '2020-08-16 09:55:28', 0);
INSERT INTO `t_mt_group_topic` VALUES (1294815004180221952, 10004, 2, 't', 10, '2020-08-16 09:55:28', '2020-08-16 09:55:28', 0);
INSERT INTO `t_mt_group_topic` VALUES (1294815004188610560, 10004, 8, 't', 10, '2020-08-16 09:55:28', '2020-08-16 09:55:28', 0);
INSERT INTO `t_mt_group_topic` VALUES (1294815004192804864, 10004, 3, 't', 10, '2020-08-16 09:55:28', '2020-08-16 09:55:28', 0);
INSERT INTO `t_mt_group_topic` VALUES (1294815004196999168, 10004, 9, 't', 10, '2020-08-16 09:55:28', '2020-08-16 09:55:28', 0);
INSERT INTO `t_mt_group_topic` VALUES (1294815004205387776, 10004, 4, 't', 10, '2020-08-16 09:55:28', '2020-08-16 09:55:28', 0);
INSERT INTO `t_mt_group_topic` VALUES (1294815004209582080, 10004, 10, 't', 10, '2020-08-16 09:55:28', '2020-08-16 09:55:28', 0);
INSERT INTO `t_mt_group_topic` VALUES (1294815004217970688, 10004, 5, 't', 10, '2020-08-16 09:55:28', '2020-08-16 09:55:28', 0);
INSERT INTO `t_mt_group_topic` VALUES (1294815004226359296, 10004, 6, 't', 10, '2020-08-16 09:55:28', '2020-08-16 09:55:28', 0);
INSERT INTO `t_mt_group_topic` VALUES (1294815179447603200, 10005, 1, 't', 10, '2020-08-16 09:56:09', '2020-08-16 09:56:09', 0);
INSERT INTO `t_mt_group_topic` VALUES (1294815179451797504, 10005, 2, 'f', 0, '2020-08-16 09:56:09', '2020-08-16 09:56:09', 0);
INSERT INTO `t_mt_group_topic` VALUES (1294815179460186112, 10005, 3, 'f', 0, '2020-08-16 09:56:09', '2020-08-16 09:56:09', 0);
INSERT INTO `t_mt_group_topic` VALUES (1294815179464380416, 10005, 4, 't', 10, '2020-08-16 09:56:09', '2020-08-16 09:56:09', 0);
INSERT INTO `t_mt_group_topic` VALUES (1294815179472769024, 10005, 5, 't', 10, '2020-08-16 09:56:09', '2020-08-16 09:56:09', 0);
INSERT INTO `t_mt_group_topic` VALUES (1294815179476963328, 10005, 6, 't', 10, '2020-08-16 09:56:09', '2020-08-16 09:56:09', 0);
INSERT INTO `t_mt_group_topic` VALUES (1294815179485351936, 10005, 7, 't', 10, '2020-08-16 09:56:09', '2020-08-16 09:56:09', 0);
INSERT INTO `t_mt_group_topic` VALUES (1294815179489546240, 10005, 8, 't', 10, '2020-08-16 09:56:09', '2020-08-16 09:56:09', 0);
INSERT INTO `t_mt_group_topic` VALUES (1294815179497934848, 10005, 9, 't', 10, '2020-08-16 09:56:09', '2020-08-16 09:56:09', 0);
INSERT INTO `t_mt_group_topic` VALUES (1294815179506323456, 10005, 10, 't', 10, '2020-08-16 09:56:09', '2020-08-16 09:56:09', 0);
INSERT INTO `t_mt_group_topic` VALUES (1294815387086622720, 10006, 1, 't', 10, '2020-08-16 09:56:59', '2020-08-16 09:56:59', 0);
INSERT INTO `t_mt_group_topic` VALUES (1294815387090817024, 10006, 2, 't', 10, '2020-08-16 09:56:59', '2020-08-16 09:56:59', 0);
INSERT INTO `t_mt_group_topic` VALUES (1294815387099205632, 10006, 3, 't', 10, '2020-08-16 09:56:59', '2020-08-16 09:56:59', 0);
INSERT INTO `t_mt_group_topic` VALUES (1294815387107594240, 10006, 4, 't', 10, '2020-08-16 09:56:59', '2020-08-16 09:56:59', 0);
INSERT INTO `t_mt_group_topic` VALUES (1294815387111788544, 10006, 5, 'f', 0, '2020-08-16 09:56:59', '2020-08-16 09:56:59', 0);
INSERT INTO `t_mt_group_topic` VALUES (1294815387120177152, 10006, 6, 'f', 0, '2020-08-16 09:56:59', '2020-08-16 09:56:59', 0);
INSERT INTO `t_mt_group_topic` VALUES (1294815387124371456, 10006, 7, 't', 10, '2020-08-16 09:56:59', '2020-08-16 09:56:59', 0);
INSERT INTO `t_mt_group_topic` VALUES (1294815387132760064, 10006, 8, 't', 10, '2020-08-16 09:56:59', '2020-08-16 09:56:59', 0);
INSERT INTO `t_mt_group_topic` VALUES (1294815387141148672, 10006, 9, 't', 10, '2020-08-16 09:56:59', '2020-08-16 09:56:59', 0);
INSERT INTO `t_mt_group_topic` VALUES (1294815387149537280, 10006, 10, 't', 10, '2020-08-16 09:56:59', '2020-08-16 09:56:59', 0);
INSERT INTO `t_mt_group_topic` VALUES (1294815594822111232, 10007, 1, 't', 10, '2020-08-16 09:57:48', '2020-08-16 09:57:48', 0);
INSERT INTO `t_mt_group_topic` VALUES (1294815594826305536, 10007, 2, 't', 10, '2020-08-16 09:57:48', '2020-08-16 09:57:48', 0);
INSERT INTO `t_mt_group_topic` VALUES (1294815594834694144, 10007, 3, 't', 10, '2020-08-16 09:57:48', '2020-08-16 09:57:48', 0);
INSERT INTO `t_mt_group_topic` VALUES (1294815594838888448, 10007, 4, 't', 10, '2020-08-16 09:57:48', '2020-08-16 09:57:48', 0);
INSERT INTO `t_mt_group_topic` VALUES (1294815594843082752, 10007, 5, 't', 10, '2020-08-16 09:57:48', '2020-08-16 09:57:48', 0);
INSERT INTO `t_mt_group_topic` VALUES (1294815594851471360, 10007, 6, 't', 10, '2020-08-16 09:57:48', '2020-08-16 09:57:48', 0);
INSERT INTO `t_mt_group_topic` VALUES (1294815594855665664, 10007, 7, 't', 10, '2020-08-16 09:57:48', '2020-08-16 09:57:48', 0);
INSERT INTO `t_mt_group_topic` VALUES (1294815594859859968, 10007, 8, 't', 10, '2020-08-16 09:57:48', '2020-08-16 09:57:48', 0);
INSERT INTO `t_mt_group_topic` VALUES (1294815594868248576, 10007, 9, 't', 10, '2020-08-16 09:57:48', '2020-08-16 09:57:48', 0);
INSERT INTO `t_mt_group_topic` VALUES (1294815594872442880, 10007, 10, 't', 10, '2020-08-16 09:57:48', '2020-08-16 09:57:48', 0);
INSERT INTO `t_mt_group_topic` VALUES (1294815820047847424, 10008, 1, 't', 10, '2020-08-16 09:58:42', '2020-08-16 09:58:42', 0);
INSERT INTO `t_mt_group_topic` VALUES (1294815820056236032, 10008, 2, 't', 10, '2020-08-16 09:58:42', '2020-08-16 09:58:42', 0);
INSERT INTO `t_mt_group_topic` VALUES (1294815820068818944, 10008, 3, 't', 10, '2020-08-16 09:58:42', '2020-08-16 09:58:42', 0);
INSERT INTO `t_mt_group_topic` VALUES (1294815820077207552, 10008, 4, 'f', 0, '2020-08-16 09:58:42', '2020-08-16 09:58:42', 0);
INSERT INTO `t_mt_group_topic` VALUES (1294815820081401856, 10008, 5, 't', 10, '2020-08-16 09:58:42', '2020-08-16 09:58:42', 0);
INSERT INTO `t_mt_group_topic` VALUES (1294815820089790464, 10008, 6, 't', 10, '2020-08-16 09:58:42', '2020-08-16 09:58:42', 0);
INSERT INTO `t_mt_group_topic` VALUES (1294815820098179072, 10008, 7, 't', 10, '2020-08-16 09:58:42', '2020-08-16 09:58:42', 0);
INSERT INTO `t_mt_group_topic` VALUES (1294815820106567680, 10008, 8, 't', 10, '2020-08-16 09:58:42', '2020-08-16 09:58:42', 0);
INSERT INTO `t_mt_group_topic` VALUES (1294815820110761984, 10008, 9, 't', 10, '2020-08-16 09:58:42', '2020-08-16 09:58:42', 0);
INSERT INTO `t_mt_group_topic` VALUES (1294815820119150592, 10008, 10, 't', 10, '2020-08-16 09:58:42', '2020-08-16 09:58:42', 0);
INSERT INTO `t_mt_group_topic` VALUES (1294816024553721856, 10009, 1, 't', 10, '2020-08-16 09:59:31', '2020-08-16 09:59:31', 0);
INSERT INTO `t_mt_group_topic` VALUES (1294816024566304768, 10009, 2, 'f', 0, '2020-08-16 09:59:31', '2020-08-16 09:59:31', 0);
INSERT INTO `t_mt_group_topic` VALUES (1294816024570499072, 10009, 3, 't', 10, '2020-08-16 09:59:31', '2020-08-16 09:59:31', 0);
INSERT INTO `t_mt_group_topic` VALUES (1294816024578887680, 10009, 4, 't', 10, '2020-08-16 09:59:31', '2020-08-16 09:59:31', 0);
INSERT INTO `t_mt_group_topic` VALUES (1294816024583081984, 10009, 5, 't', 10, '2020-08-16 09:59:31', '2020-08-16 09:59:31', 0);
INSERT INTO `t_mt_group_topic` VALUES (1294816024591470592, 10009, 6, 't', 10, '2020-08-16 09:59:31', '2020-08-16 09:59:31', 0);
INSERT INTO `t_mt_group_topic` VALUES (1294816024599859200, 10009, 7, 't', 10, '2020-08-16 09:59:31', '2020-08-16 09:59:31', 0);
INSERT INTO `t_mt_group_topic` VALUES (1294816024608247808, 10009, 8, 't', 10, '2020-08-16 09:59:31', '2020-08-16 09:59:31', 0);
INSERT INTO `t_mt_group_topic` VALUES (1294816024616636416, 10009, 9, 't', 10, '2020-08-16 09:59:31', '2020-08-16 09:59:31', 0);
INSERT INTO `t_mt_group_topic` VALUES (1294816024620830720, 10009, 10, 't', 10, '2020-08-16 09:59:31', '2020-08-16 09:59:31', 0);
INSERT INTO `t_mt_group_topic` VALUES (1294816363080192000, 10010, 1, 't', 10, '2020-08-16 10:00:52', '2020-08-16 10:00:52', 0);
INSERT INTO `t_mt_group_topic` VALUES (1294816363088580608, 10010, 2, 't', 10, '2020-08-16 10:00:52', '2020-08-16 10:00:52', 0);
INSERT INTO `t_mt_group_topic` VALUES (1294816363092774912, 10010, 3, 'f', 0, '2020-08-16 10:00:52', '2020-08-16 10:00:52', 0);
INSERT INTO `t_mt_group_topic` VALUES (1294816363101163520, 10010, 4, 't', 10, '2020-08-16 10:00:52', '2020-08-16 10:00:52', 0);
INSERT INTO `t_mt_group_topic` VALUES (1294816363105357824, 10010, 5, 'f', 0, '2020-08-16 10:00:52', '2020-08-16 10:00:52', 0);
INSERT INTO `t_mt_group_topic` VALUES (1294816363109552128, 10010, 6, 'f', 0, '2020-08-16 10:00:52', '2020-08-16 10:00:52', 0);
INSERT INTO `t_mt_group_topic` VALUES (1294816363117940736, 10010, 7, 't', 10, '2020-08-16 10:00:52', '2020-08-16 10:00:52', 0);
INSERT INTO `t_mt_group_topic` VALUES (1294816363122135040, 10010, 8, 't', 10, '2020-08-16 10:00:52', '2020-08-16 10:00:52', 0);
INSERT INTO `t_mt_group_topic` VALUES (1294816363126329344, 10010, 9, 'f', 0, '2020-08-16 10:00:52', '2020-08-16 10:00:52', 0);
INSERT INTO `t_mt_group_topic` VALUES (1294816363134717952, 10010, 10, 't', 10, '2020-08-16 10:00:52', '2020-08-16 10:00:52', 0);
INSERT INTO `t_mt_group_topic` VALUES (1294816745953038336, 10011, 1, 't', 10, '2020-08-16 10:02:23', '2020-08-16 10:02:23', 0);
INSERT INTO `t_mt_group_topic` VALUES (1294816745957232640, 10011, 2, 't', 10, '2020-08-16 10:02:23', '2020-08-16 10:02:23', 0);
INSERT INTO `t_mt_group_topic` VALUES (1294816745965621248, 10011, 3, 't', 10, '2020-08-16 10:02:23', '2020-08-16 10:02:23', 0);
INSERT INTO `t_mt_group_topic` VALUES (1294816745974009856, 10011, 4, 't', 10, '2020-08-16 10:02:23', '2020-08-16 10:02:23', 0);
INSERT INTO `t_mt_group_topic` VALUES (1294816745978204160, 10011, 5, 'f', 0, '2020-08-16 10:02:23', '2020-08-16 10:02:23', 0);
INSERT INTO `t_mt_group_topic` VALUES (1294816745986592768, 10011, 6, 't', 10, '2020-08-16 10:02:23', '2020-08-16 10:02:23', 0);
INSERT INTO `t_mt_group_topic` VALUES (1294816745990787072, 10011, 7, 't', 10, '2020-08-16 10:02:23', '2020-08-16 10:02:23', 0);
INSERT INTO `t_mt_group_topic` VALUES (1294816745994981376, 10011, 8, 't', 10, '2020-08-16 10:02:23', '2020-08-16 10:02:23', 0);
INSERT INTO `t_mt_group_topic` VALUES (1294816746003369984, 10011, 9, 't', 10, '2020-08-16 10:02:23', '2020-08-16 10:02:23', 0);
INSERT INTO `t_mt_group_topic` VALUES (1294816746007564288, 10011, 10, 't', 10, '2020-08-16 10:02:23', '2020-08-16 10:02:23', 0);
INSERT INTO `t_mt_group_topic` VALUES (1294816991319822336, 10012, 1, 't', 10, '2020-08-16 10:03:21', '2020-08-16 10:03:21', 0);
INSERT INTO `t_mt_group_topic` VALUES (1294816991328210944, 10012, 2, 't', 10, '2020-08-16 10:03:21', '2020-08-16 10:03:21', 0);
INSERT INTO `t_mt_group_topic` VALUES (1294816991332405248, 10012, 3, 't', 10, '2020-08-16 10:03:21', '2020-08-16 10:03:21', 0);
INSERT INTO `t_mt_group_topic` VALUES (1294816991340793856, 10012, 4, 't', 10, '2020-08-16 10:03:21', '2020-08-16 10:03:21', 0);
INSERT INTO `t_mt_group_topic` VALUES (1294816991349182464, 10012, 5, 't', 10, '2020-08-16 10:03:21', '2020-08-16 10:03:21', 0);
INSERT INTO `t_mt_group_topic` VALUES (1294816991353376768, 10012, 6, 't', 10, '2020-08-16 10:03:21', '2020-08-16 10:03:21', 0);
INSERT INTO `t_mt_group_topic` VALUES (1294816991357571072, 10012, 7, 't', 10, '2020-08-16 10:03:21', '2020-08-16 10:03:21', 0);
INSERT INTO `t_mt_group_topic` VALUES (1294816991365959680, 10012, 8, 't', 10, '2020-08-16 10:03:21', '2020-08-16 10:03:21', 0);
INSERT INTO `t_mt_group_topic` VALUES (1294816991370153984, 10012, 9, 't', 10, '2020-08-16 10:03:21', '2020-08-16 10:03:21', 0);
INSERT INTO `t_mt_group_topic` VALUES (1294816991374348288, 10012, 10, 't', 10, '2020-08-16 10:03:21', '2020-08-16 10:03:21', 0);
INSERT INTO `t_mt_group_topic` VALUES (1294817158173429760, 10013, 1, 't', 10, '2020-08-16 10:04:01', '2020-08-16 10:04:01', 0);
INSERT INTO `t_mt_group_topic` VALUES (1294817158177624064, 10013, 2, 't', 10, '2020-08-16 10:04:01', '2020-08-16 10:04:01', 0);
INSERT INTO `t_mt_group_topic` VALUES (1294817158186012672, 10013, 3, 't', 10, '2020-08-16 10:04:01', '2020-08-16 10:04:01', 0);
INSERT INTO `t_mt_group_topic` VALUES (1294817158190206976, 10013, 4, 't', 10, '2020-08-16 10:04:01', '2020-08-16 10:04:01', 0);
INSERT INTO `t_mt_group_topic` VALUES (1294817158198595584, 10013, 5, 't', 10, '2020-08-16 10:04:01', '2020-08-16 10:04:01', 0);
INSERT INTO `t_mt_group_topic` VALUES (1294817158202789888, 10013, 6, 't', 10, '2020-08-16 10:04:01', '2020-08-16 10:04:01', 0);
INSERT INTO `t_mt_group_topic` VALUES (1294817158206984192, 10013, 7, 't', 10, '2020-08-16 10:04:01', '2020-08-16 10:04:01', 0);
INSERT INTO `t_mt_group_topic` VALUES (1294817158215372800, 10013, 8, 't', 10, '2020-08-16 10:04:01', '2020-08-16 10:04:01', 0);
INSERT INTO `t_mt_group_topic` VALUES (1294817158219567104, 10013, 9, 't', 10, '2020-08-16 10:04:01', '2020-08-16 10:04:01', 0);
INSERT INTO `t_mt_group_topic` VALUES (1294817158223761408, 10013, 10, 't', 10, '2020-08-16 10:04:01', '2020-08-16 10:04:01', 0);
INSERT INTO `t_mt_group_topic` VALUES (1294817342529867776, 10014, 1, 't', 10, '2020-08-16 10:04:45', '2020-08-16 10:04:45', 0);
INSERT INTO `t_mt_group_topic` VALUES (1294817342538256384, 10014, 2, 't', 10, '2020-08-16 10:04:45', '2020-08-16 10:04:45', 0);
INSERT INTO `t_mt_group_topic` VALUES (1294817342550839296, 10014, 3, 't', 10, '2020-08-16 10:04:45', '2020-08-16 10:04:45', 0);
INSERT INTO `t_mt_group_topic` VALUES (1294817342559227904, 10014, 4, 't', 10, '2020-08-16 10:04:45', '2020-08-16 10:04:45', 0);
INSERT INTO `t_mt_group_topic` VALUES (1294817342567616512, 10014, 5, 'f', 0, '2020-08-16 10:04:45', '2020-08-16 10:04:45', 0);
INSERT INTO `t_mt_group_topic` VALUES (1294817342571810816, 10014, 6, 't', 10, '2020-08-16 10:04:45', '2020-08-16 10:04:45', 0);
INSERT INTO `t_mt_group_topic` VALUES (1294817342576005120, 10014, 7, 't', 10, '2020-08-16 10:04:45', '2020-08-16 10:04:45', 0);
INSERT INTO `t_mt_group_topic` VALUES (1294817342584393728, 10014, 8, 't', 10, '2020-08-16 10:04:45', '2020-08-16 10:04:45', 0);
INSERT INTO `t_mt_group_topic` VALUES (1294817342592782336, 10014, 9, 't', 10, '2020-08-16 10:04:45', '2020-08-16 10:04:45', 0);
INSERT INTO `t_mt_group_topic` VALUES (1294817342596976640, 10014, 10, 't', 10, '2020-08-16 10:04:45', '2020-08-16 10:04:45', 0);
INSERT INTO `t_mt_group_topic` VALUES (1294817592220979200, 10015, 1, 't', 10, '2020-08-16 10:05:45', '2020-08-16 10:05:45', 0);
INSERT INTO `t_mt_group_topic` VALUES (1294817592229367808, 10015, 2, 't', 10, '2020-08-16 10:05:45', '2020-08-16 10:05:45', 0);
INSERT INTO `t_mt_group_topic` VALUES (1294817592237756416, 10015, 3, 'f', 0, '2020-08-16 10:05:45', '2020-08-16 10:05:45', 0);
INSERT INTO `t_mt_group_topic` VALUES (1294817592241950720, 10015, 4, 't', 10, '2020-08-16 10:05:45', '2020-08-16 10:05:45', 0);
INSERT INTO `t_mt_group_topic` VALUES (1294817592250339328, 10015, 5, 't', 10, '2020-08-16 10:05:45', '2020-08-16 10:05:45', 0);
INSERT INTO `t_mt_group_topic` VALUES (1294817592254533632, 10015, 6, 't', 10, '2020-08-16 10:05:45', '2020-08-16 10:05:45', 0);
INSERT INTO `t_mt_group_topic` VALUES (1294817592262922240, 10015, 7, 't', 10, '2020-08-16 10:05:45', '2020-08-16 10:05:45', 0);
INSERT INTO `t_mt_group_topic` VALUES (1294817592267116544, 10015, 8, 't', 10, '2020-08-16 10:05:45', '2020-08-16 10:05:45', 0);
INSERT INTO `t_mt_group_topic` VALUES (1294817592275505152, 10015, 9, 't', 10, '2020-08-16 10:05:45', '2020-08-16 10:05:45', 0);
INSERT INTO `t_mt_group_topic` VALUES (1294817592279699456, 10015, 10, 't', 10, '2020-08-16 10:05:45', '2020-08-16 10:05:45', 0);
INSERT INTO `t_mt_group_topic` VALUES (1294820579475591168, 10016, 4, 'f', -10, '2020-08-16 10:17:37', '2020-08-16 10:17:37', 0);
INSERT INTO `t_mt_group_topic` VALUES (1294820795968786432, 10017, 7, 't', 10, '2020-08-16 10:18:29', '2020-08-16 10:18:29', 0);
INSERT INTO `t_mt_group_topic` VALUES (1294820939179102208, 10018, 10, 't', 10, '2020-08-16 10:19:03', '2020-08-16 10:19:03', 0);
INSERT INTO `t_mt_group_topic` VALUES (1294821015498657792, 10019, 4, 't', 10, '2020-08-16 10:19:21', '2020-08-16 10:19:21', 0);
INSERT INTO `t_mt_group_topic` VALUES (1294821122113671168, 10020, 10, 't', 10, '2020-08-16 10:19:46', '2020-08-16 10:19:46', 0);
INSERT INTO `t_mt_group_topic` VALUES (1294821301650853888, 10021, 8, 't', 10, '2020-08-16 10:20:29', '2020-08-16 10:20:29', 0);
INSERT INTO `t_mt_group_topic` VALUES (1294821453610487808, 10022, 8, 't', 10, '2020-08-16 10:21:05', '2020-08-16 10:21:05', 0);
INSERT INTO `t_mt_group_topic` VALUES (1294821695982538752, 10023, 1, 't', 10, '2020-08-16 10:22:03', '2020-08-16 10:22:03', 0);
INSERT INTO `t_mt_group_topic` VALUES (1294821869832245248, 10024, 10, 't', 10, '2020-08-16 10:22:45', '2020-08-16 10:22:45', 0);
INSERT INTO `t_mt_group_topic` VALUES (1294821987830599680, 10025, 1, 't', 10, '2020-08-16 10:23:13', '2020-08-16 10:23:13', 0);
INSERT INTO `t_mt_group_topic` VALUES (1294822258543562752, 10026, 1, 't', 10, '2020-08-16 10:24:17', '2020-08-16 10:24:17', 0);
INSERT INTO `t_mt_group_topic` VALUES (1294822423564259328, 10027, 4, 't', 10, '2020-08-16 10:24:57', '2020-08-16 10:24:57', 0);
INSERT INTO `t_mt_group_topic` VALUES (1294822552627187712, 10028, 1, 't', 10, '2020-08-16 10:25:27', '2020-08-16 10:25:27', 0);
INSERT INTO `t_mt_group_topic` VALUES (1294822636173529088, 10029, 1, 't', 10, '2020-08-16 10:25:47', '2020-08-16 10:25:47', 0);
INSERT INTO `t_mt_group_topic` VALUES (1294822794785329152, 10030, 4, 'f', -10, '2020-08-16 10:26:25', '2020-08-16 10:26:25', 0);
INSERT INTO `t_mt_group_topic` VALUES (1294822931033100288, 10031, 8, 't', 10, '2020-08-16 10:26:58', '2020-08-16 10:26:58', 0);
INSERT INTO `t_mt_group_topic` VALUES (1294823121286729728, 10032, 1, 't', 10, '2020-08-16 10:27:43', '2020-08-16 10:27:43', 0);
INSERT INTO `t_mt_group_topic` VALUES (1294823221115359232, 10033, 4, 't', 10, '2020-08-16 10:28:07', '2020-08-16 10:28:07', 0);
INSERT INTO `t_mt_group_topic` VALUES (1294823317328498688, 10034, 10, 't', 10, '2020-08-16 10:28:30', '2020-08-16 10:28:30', 0);
INSERT INTO `t_mt_group_topic` VALUES (1294823420546125824, 10035, 1, 't', 10, '2020-08-16 10:28:54', '2020-08-16 10:28:54', 0);
INSERT INTO `t_mt_group_topic` VALUES (1294823989440548864, 10044, 1, 't', 50, '2020-08-16 10:31:10', '2020-08-16 10:31:10', 0);
INSERT INTO `t_mt_group_topic` VALUES (1294824290641907712, 10040, 10, 't', 30, '2020-08-16 10:32:22', '2020-08-16 10:32:22', 0);
INSERT INTO `t_mt_group_topic` VALUES (1294824613729144832, 10043, 8, 'f', -50, '2020-08-16 10:33:39', '2020-08-16 10:33:39', 0);
INSERT INTO `t_mt_group_topic` VALUES (1294825005556830208, 10045, 1, 't', 5, '2020-08-16 10:35:12', '2020-08-16 10:35:12', 0);
INSERT INTO `t_mt_group_topic` VALUES (1294825054378528768, 10046, 1, 't', 5, '2020-08-16 10:35:24', '2020-08-16 10:35:24', 0);
INSERT INTO `t_mt_group_topic` VALUES (1294825104836005888, 10047, 1, 't', 5, '2020-08-16 10:35:36', '2020-08-16 10:35:36', 0);
INSERT INTO `t_mt_group_topic` VALUES (1294825147244613632, 10048, 1, 't', 5, '2020-08-16 10:35:46', '2020-08-16 10:35:46', 0);
INSERT INTO `t_mt_group_topic` VALUES (1294825185828016128, 10049, 1, 't', 5, '2020-08-16 10:35:55', '2020-08-16 10:35:55', 0);
INSERT INTO `t_mt_group_topic` VALUES (1294825213388787712, 10050, 1, 't', 5, '2020-08-16 10:36:02', '2020-08-16 10:36:02', 0);
INSERT INTO `t_mt_group_topic` VALUES (1294825293537742848, 10051, 1, 'f', 0, '2020-08-16 10:36:21', '2020-08-16 10:36:21', 0);
INSERT INTO `t_mt_group_topic` VALUES (1294825330594418688, 10052, 1, 't', 5, '2020-08-16 10:36:30', '2020-08-16 10:36:30', 0);
INSERT INTO `t_mt_group_topic` VALUES (1294825374403923968, 10053, 1, 't', 5, '2020-08-16 10:36:40', '2020-08-16 10:36:40', 0);
INSERT INTO `t_mt_group_topic` VALUES (1294825501264842752, 10054, 1, 't', 5, '2020-08-16 10:37:10', '2020-08-16 10:37:10', 0);
INSERT INTO `t_mt_group_topic` VALUES (1294825758824468480, 10055, 10, 't', 5, '2020-08-16 10:38:12', '2020-08-16 10:38:12', 0);
INSERT INTO `t_mt_group_topic` VALUES (1294825802881437696, 10056, 10, 'f', 0, '2020-08-16 10:38:22', '2020-08-16 10:38:22', 0);
INSERT INTO `t_mt_group_topic` VALUES (1294825848863592448, 10057, 10, 't', 5, '2020-08-16 10:38:33', '2020-08-16 10:38:33', 0);
INSERT INTO `t_mt_group_topic` VALUES (1294825930488942592, 10058, 10, 't', 5, '2020-08-16 10:38:53', '2020-08-16 10:38:53', 0);
INSERT INTO `t_mt_group_topic` VALUES (1294825961753284608, 10059, 10, 'f', 0, '2020-08-16 10:39:00', '2020-08-16 10:39:00', 0);
INSERT INTO `t_mt_group_topic` VALUES (1294825993294450688, 10060, 10, 't', 5, '2020-08-16 10:39:08', '2020-08-16 10:39:08', 2);
INSERT INTO `t_mt_group_topic` VALUES (1294826030980272128, 10061, 10, 'f', 0, '2020-08-16 10:39:17', '2020-08-16 10:39:17', 0);
INSERT INTO `t_mt_group_topic` VALUES (1294826270168846336, 10060, 10, 'f', 0, '2020-08-16 10:40:14', '2020-08-16 10:40:14', 0);
INSERT INTO `t_mt_group_topic` VALUES (1294826506010365952, 10065, 8, 't', 5, '2020-08-16 10:41:10', '2020-08-16 10:41:10', 0);
INSERT INTO `t_mt_group_topic` VALUES (1294826568794902528, 10066, 8, 't', 5, '2020-08-16 10:41:25', '2020-08-16 10:41:25', 0);
INSERT INTO `t_mt_group_topic` VALUES (1294826758012538880, 10067, 8, 't', 5, '2020-08-16 10:42:10', '2020-08-16 10:42:10', 0);
INSERT INTO `t_mt_group_topic` VALUES (1294826792842039296, 10068, 8, 'f', 0, '2020-08-16 10:42:18', '2020-08-16 10:42:18', 0);
INSERT INTO `t_mt_group_topic` VALUES (1294826828820779008, 10069, 8, 't', 5, '2020-08-16 10:42:27', '2020-08-16 10:42:27', 0);
INSERT INTO `t_mt_group_topic` VALUES (1294826888803520512, 10070, 8, 't', 5, '2020-08-16 10:42:41', '2020-08-16 10:42:41', 0);
INSERT INTO `t_mt_group_topic` VALUES (1294827090302078976, 10071, 8, 't', 5, '2020-08-16 10:43:29', '2020-08-16 10:43:29', 0);
INSERT INTO `t_mt_group_topic` VALUES (1294827124414353408, 10072, 8, 't', 5, '2020-08-16 10:43:37', '2020-08-16 10:43:37', 0);
INSERT INTO `t_mt_group_topic` VALUES (1294827347031232512, 10073, 8, 'f', 0, '2020-08-16 10:44:30', '2020-08-16 10:44:30', 0);
INSERT INTO `t_mt_group_topic` VALUES (1294827532780179456, 10074, 8, 't', 5, '2020-08-16 10:45:15', '2020-08-16 10:45:15', 0);
-- ----------------------------
-- Table structure for t_mt_judge
-- ----------------------------
DROP TABLE IF EXISTS `t_mt_judge`;
CREATE TABLE `t_mt_judge` (
`id` bigint(20) NOT NULL,
`project_id` bigint(20) NULL DEFAULT 0 COMMENT '项目id',
`user_id` bigint(20) NULL DEFAULT 0,
`nickname` varchar(32) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT '' COMMENT '昵称',
`avatar_url` varchar(128) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT '' COMMENT '头像',
`phone` varchar(12) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT '' COMMENT '手机号',
`created_at` timestamp(0) NOT NULL DEFAULT current_timestamp(),
`updated_at` timestamp(0) NOT NULL DEFAULT current_timestamp() ON UPDATE CURRENT_TIMESTAMP(0),
`rec_status` tinyint(1) UNSIGNED NULL DEFAULT 0,
PRIMARY KEY (`id`) USING BTREE,
INDEX `member_project_index`(`project_id`) USING BTREE,
INDEX `member_user_index`(`user_id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '评委表' ROW_FORMAT = Dynamic;
-- ----------------------------
-- Records of t_mt_judge
-- ----------------------------
INSERT INTO `t_mt_judge` VALUES (1209768915253727232, 1209768911474659328, 1175954520199532544, '张野', '', '15335153627', '2019-12-26 11:30:16', '2019-12-26 11:30:16', 0);
INSERT INTO `t_mt_judge` VALUES (1210089888599379968, 1210089888431607808, 1183636291472986112, '武慧娟', '', '15536346119', '2019-12-26 15:05:03', '2019-12-26 15:05:03', 0);
INSERT INTO `t_mt_judge` VALUES (1210398276763914240, 1210398276352872448, 1182476410426626048, '卫泽照', '', '18135100170', '2019-12-27 18:01:10', '2019-12-27 18:01:10', 0);
INSERT INTO `t_mt_judge` VALUES (1210398276793274368, 1210398276352872448, 1175954520199532544, '张野', '', '15335153627', '2019-12-28 12:53:15', '2019-12-28 12:53:15', 0);
INSERT INTO `t_mt_judge` VALUES (1210398276810051584, 1210398276352872448, 1177394149704470528, '冯骏', '', '18603454788', '2019-12-27 18:05:28', '2019-12-27 18:05:28', 0);
INSERT INTO `t_mt_judge` VALUES (1210398276826828800, 1210398276352872448, 1177042727041372160, '宋瑞芳', '', '15235360226', '2019-12-27 17:56:04', '2019-12-27 17:56:04', 0);
INSERT INTO `t_mt_judge` VALUES (1210398276839411712, 1210398276352872448, 1182476056934879232, '孙方圆', '', '17600172132', '2019-12-27 18:02:05', '2019-12-27 18:02:05', 0);
INSERT INTO `t_mt_judge` VALUES (1210398276851994624, 1210398276352872448, 1182476167328960512, '李楠', '', '18403559853', '2019-12-27 18:03:21', '2019-12-27 18:03:21', 0);
INSERT INTO `t_mt_judge` VALUES (1210398276914909184, 1210398276352872448, 1182474793929281536, '李亚男', '', '13210151397', '2019-12-27 18:02:45', '2019-12-27 18:02:45', 0);
INSERT INTO `t_mt_judge` VALUES (1210820354705068032, 1210820354650542080, 1189465926597218304, '周勇', '', '18135110606', '2019-12-28 20:03:20', '2019-12-28 20:03:20', 0);
INSERT INTO `t_mt_judge` VALUES (1210820354717650944, 1210820354650542080, 1210772356725870592, '赵思奇', '', '13652426512', '2019-12-28 20:00:36', '2019-12-28 20:00:36', 0);
INSERT INTO `t_mt_judge` VALUES (1210820354726039552, 1210820354650542080, 1210776011319414784, '肖可佳', '', '13652426513', '2019-12-28 20:03:36', '2019-12-28 20:03:36', 0);
INSERT INTO `t_mt_judge` VALUES (1210820354738622464, 1210820354650542080, 1210776265880113152, '白璐', '', '13652426514', '2019-12-28 20:03:59', '2019-12-28 20:03:59', 0);
INSERT INTO `t_mt_judge` VALUES (1210820354755399680, 1210820354650542080, 1183636291472986112, '武慧娟', '', '15536346119', '2020-01-06 11:33:11', '2020-01-06 11:33:11', 0);
INSERT INTO `t_mt_judge` VALUES (1210820354767982592, 1210820354650542080, 1175954520199532544, '张野', '', '15335153627', '2019-12-30 10:53:55', '2019-12-30 10:53:55', 0);
INSERT INTO `t_mt_judge` VALUES (1210820354818314240, 1210820354650542080, 1210776522655404032, '嘉宾二', '', '15222222222', '2019-12-28 20:03:26', '2019-12-28 20:03:26', 0);
INSERT INTO `t_mt_judge` VALUES (1210820623304101889, 1210820623236993024, 1210772356725870592, '赵思奇', '', '13652426512', '2019-12-28 16:57:24', '2019-12-28 16:57:24', 0);
INSERT INTO `t_mt_judge` VALUES (1210820623346044928, 1210820623236993024, 1183636291472986112, '武慧娟', '', '15536346119', '2019-12-28 16:46:35', '2019-12-28 16:46:35', 0);
INSERT INTO `t_mt_judge` VALUES (1210820623375405056, 1210820623236993024, 1177042727041372160, '宋瑞芳', '', '15235360226', '2019-12-28 16:55:11', '2019-12-28 16:55:11', 0);
INSERT INTO `t_mt_judge` VALUES (1210820623413153792, 1210820623236993024, 1182476167328960512, '李楠', '', '18403559853', '2019-12-28 16:56:27', '2019-12-28 16:56:27', 0);
INSERT INTO `t_mt_judge` VALUES (1210820623425736704, 1210820623236993024, 1182474793929281536, '李亚男', '', '13210151397', '2019-12-28 16:58:19', '2019-12-28 16:58:19', 0);
INSERT INTO `t_mt_judge` VALUES (1230706260308004864, 1230706259913740288, 1217647686598135808, '张野', '', '15335153627', '2020-02-22 11:43:35', '2020-02-22 11:43:35', 0);
INSERT INTO `t_mt_judge` VALUES (1232564528718417920, 1232564528571617280, 1217647686598135808, '张野', '', '15335153627', '2020-02-27 17:33:25', '2020-02-27 17:33:25', 0);
INSERT INTO `t_mt_judge` VALUES (1232564528731000832, 1232564528571617280, 1217651354919636992, '冯骏', '', '18603454788', '2020-02-26 16:33:02', '2020-02-26 16:33:02', 0);
-- ----------------------------
-- Table structure for t_mt_responder
-- ----------------------------
DROP TABLE IF EXISTS `t_mt_responder`;
CREATE TABLE `t_mt_responder` (
`id` bigint(20) NOT NULL,
`topic_id` bigint(20) NULL DEFAULT 0 COMMENT '题目id',
`group_id` bigint(20) NULL DEFAULT 0 COMMENT '分组id',
`responder_time` bigint(20) NULL DEFAULT 0 COMMENT '抢答的时间',
`created_at` timestamp(0) NOT NULL DEFAULT current_timestamp(),
`updated_at` timestamp(0) NOT NULL DEFAULT current_timestamp() ON UPDATE CURRENT_TIMESTAMP(0),
`rec_status` tinyint(1) UNSIGNED NULL DEFAULT 0 COMMENT '状态,0正常 1禁用 2删除',
PRIMARY KEY (`id`) USING BTREE,
INDEX `topic_index`(`topic_id`) USING BTREE,
INDEX `group_index`(`group_id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '抢答信息表' ROW_FORMAT = Dynamic;
-- ----------------------------
-- Records of t_mt_responder
-- ----------------------------
INSERT INTO `t_mt_responder` VALUES (1294820524089806848, 10016, 4, 1597544244202, '2020-08-16 10:17:24', '2020-08-16 10:17:24', 0);
INSERT INTO `t_mt_responder` VALUES (1294820752633237504, 10017, 7, 1597544298691, '2020-08-16 10:18:18', '2020-08-16 10:18:18', 0);
INSERT INTO `t_mt_responder` VALUES (1294820892743962624, 10018, 10, 1597544332096, '2020-08-16 10:18:52', '2020-08-16 10:18:52', 0);
INSERT INTO `t_mt_responder` VALUES (1294820970984509440, 10019, 4, 1597544350750, '2020-08-16 10:19:10', '2020-08-16 10:19:10', 0);
INSERT INTO `t_mt_responder` VALUES (1294821079893807104, 10020, 10, 1597544376716, '2020-08-16 10:19:36', '2020-08-16 10:19:36', 0);
INSERT INTO `t_mt_responder` VALUES (1294821258562768896, 10021, 8, 1597544419314, '2020-08-16 10:20:19', '2020-08-16 10:20:19', 0);
INSERT INTO `t_mt_responder` VALUES (1294821416717389824, 10022, 8, 1597544457021, '2020-08-16 10:20:57', '2020-08-16 10:20:57', 0);
INSERT INTO `t_mt_responder` VALUES (1294821654005944320, 10023, 1, 1597544513595, '2020-08-16 10:21:53', '2020-08-16 10:21:53', 0);
INSERT INTO `t_mt_responder` VALUES (1294821822218506240, 10024, 10, 1597544553700, '2020-08-16 10:22:33', '2020-08-16 10:22:33', 0);
INSERT INTO `t_mt_responder` VALUES (1294821942272069632, 10025, 1, 1597544582323, '2020-08-16 10:23:02', '2020-08-16 10:23:02', 0);
INSERT INTO `t_mt_responder` VALUES (1294822214184603648, 10026, 1, 1597544647152, '2020-08-16 10:24:07', '2020-08-16 10:24:07', 0);
INSERT INTO `t_mt_responder` VALUES (1294822381159845888, 10027, 4, 1597544686962, '2020-08-16 10:24:46', '2020-08-16 10:24:46', 0);
INSERT INTO `t_mt_responder` VALUES (1294822512651276288, 10028, 1, 1597544718312, '2020-08-16 10:25:18', '2020-08-16 10:25:18', 0);
INSERT INTO `t_mt_responder` VALUES (1294822596461858816, 10029, 1, 1597544738294, '2020-08-16 10:25:38', '2020-08-16 10:25:38', 0);
INSERT INTO `t_mt_responder` VALUES (1294822752494161920, 10030, 4, 1597544775495, '2020-08-16 10:26:15', '2020-08-16 10:26:15', 0);
INSERT INTO `t_mt_responder` VALUES (1294822888947453952, 10031, 8, 1597544808028, '2020-08-16 10:26:48', '2020-08-16 10:26:48', 0);
INSERT INTO `t_mt_responder` VALUES (1294823052365926400, 10032, 1, 1597544846990, '2020-08-16 10:27:26', '2020-08-16 10:27:26', 0);
INSERT INTO `t_mt_responder` VALUES (1294823190064926720, 10033, 4, 1597544879820, '2020-08-16 10:27:59', '2020-08-16 10:27:59', 0);
INSERT INTO `t_mt_responder` VALUES (1294823271744802816, 10034, 10, 1597544899294, '2020-08-16 10:28:19', '2020-08-16 10:28:19', 0);
INSERT INTO `t_mt_responder` VALUES (1294823389369864192, 10035, 1, 1597544927338, '2020-08-16 10:28:47', '2020-08-16 10:28:47', 0);
-- ----------------------------
-- Table structure for t_mt_score
-- ----------------------------
DROP TABLE IF EXISTS `t_mt_score`;
CREATE TABLE `t_mt_score` (
`id` bigint(32) NOT NULL,
`judge_user_id` bigint(32) NULL DEFAULT 0 COMMENT '评委的userId',
`score_log_id` bigint(32) NULL DEFAULT 0 COMMENT '评分项id',
`project_id` bigint(32) NULL DEFAULT 0 COMMENT '项目id',
`task_id` bigint(32) NULL DEFAULT 0 COMMENT '被评分的任务id',
`task_name` varchar(32) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT '' COMMENT '任务名',
`score` decimal(32, 2) NULL DEFAULT 0.00 COMMENT '分数',
`is_score` int(10) NULL DEFAULT 1 COMMENT '是否被评分 0否 1是',
`created_at` timestamp(0) NOT NULL DEFAULT current_timestamp(),
`updated_at` timestamp(0) NOT NULL DEFAULT current_timestamp() ON UPDATE CURRENT_TIMESTAMP(0),
`rec_status` tinyint(1) UNSIGNED NULL DEFAULT 0,
PRIMARY KEY (`id`) USING BTREE,
INDEX `judge_user_index`(`judge_user_id`) USING BTREE,
INDEX `score_log_index`(`score_log_id`) USING BTREE,
INDEX `task_index`(`task_id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8 COLLATE = utf8_general_ci ROW_FORMAT = Dynamic;
-- ----------------------------
-- Records of t_mt_score
-- ----------------------------
INSERT INTO `t_mt_score` VALUES (1210094153497710592, 1210089888599379968, 1, 0, 1210072221251407872, '卫泽照年终总结', 9.53, 0, '2019-12-26 15:05:03', '2020-02-27 17:19:16', 0);
INSERT INTO `t_mt_score` VALUES (1210094755929788416, 1210089888599379968, 1, 0, 1209768922358878208, '武慧娟年终总结', 7.45, 0, '2019-12-26 15:07:26', '2020-02-27 17:19:16', 0);
INSERT INTO `t_mt_score` VALUES (1210111645012070400, 1210089888599379968, 1, 0, 1210089889094307840, '卫泽照年终总结', 9.34, 0, '2019-12-26 16:14:33', '2020-02-27 17:19:16', 0);
INSERT INTO `t_mt_score` VALUES (1210499581335441408, 1210398276826828800, 2, 0, 1210398277221093376, '卫泽照年终总结', 9.42, 0, '2019-12-27 17:56:04', '2020-02-27 17:19:16', 0);
INSERT INTO `t_mt_score` VALUES (1210499607545647104, 1210398276826828800, 2, 0, 1210398277258842112, '武慧娟年终总结', 9.70, 0, '2019-12-27 17:56:11', '2020-02-27 17:19:16', 0);
INSERT INTO `t_mt_score` VALUES (1210499634083008512, 1210398276826828800, 2, 0, 1210398277279813632, '张野年终总结', 10.00, 0, '2019-12-27 17:56:17', '2020-02-27 17:19:16', 0);
INSERT INTO `t_mt_score` VALUES (1210500865237061632, 1210398276763914240, 2, 0, 1210398277221093376, '卫泽照年终总结', 10.00, 0, '2019-12-27 18:01:10', '2020-02-27 17:19:16', 0);
INSERT INTO `t_mt_score` VALUES (1210500932253650944, 1210398276763914240, 2, 0, 1210398277258842112, '武慧娟年终总结', 10.00, 0, '2019-12-27 18:01:26', '2020-02-27 17:19:16', 0);
INSERT INTO `t_mt_score` VALUES (1210500958933618688, 1210398276763914240, 2, 0, 1210398277279813632, '张野年终总结', 10.00, 0, '2019-12-27 18:01:33', '2020-02-27 17:19:16', 0);
INSERT INTO `t_mt_score` VALUES (1210501092832579584, 1210398276839411712, 2, 0, 1210398277221093376, '卫泽照年终总结', 10.00, 0, '2019-12-27 18:02:05', '2020-02-27 17:19:16', 0);
INSERT INTO `t_mt_score` VALUES (1210501129042006016, 1210398276839411712, 2, 0, 1210398277258842112, '武慧娟年终总结', 7.66, 0, '2019-12-27 18:02:13', '2020-02-27 17:19:16', 0);
INSERT INTO `t_mt_score` VALUES (1210501155105411072, 1210398276839411712, 2, 0, 1210398277279813632, '张野年终总结', 10.00, 0, '2019-12-27 18:02:20', '2020-02-27 17:19:17', 0);
INSERT INTO `t_mt_score` VALUES (1210501264136343552, 1210398276914909184, 2, 0, 1210398277221093376, '卫泽照年终总结', 10.00, 0, '2019-12-27 18:02:46', '2020-02-27 17:19:17', 0);
INSERT INTO `t_mt_score` VALUES (1210501297808216064, 1210398276914909184, 2, 0, 1210398277258842112, '武慧娟年终总结', 9.16, 0, '2019-12-27 18:02:54', '2020-02-27 17:19:17', 0);
INSERT INTO `t_mt_score` VALUES (1210501321204043776, 1210398276914909184, 2, 0, 1210398277279813632, '张野年终总结', 6.84, 0, '2019-12-27 18:02:59', '2020-02-27 17:19:17', 0);
INSERT INTO `t_mt_score` VALUES (1210501411893284864, 1210398276851994624, 2, 0, 1210398277221093376, '卫泽照年终总结', 8.83, 0, '2019-12-27 18:03:21', '2020-02-27 17:19:17', 0);
INSERT INTO `t_mt_score` VALUES (1210501435343638528, 1210398276851994624, 2, 0, 1210398277258842112, '武慧娟年终总结', 10.00, 0, '2019-12-27 18:03:26', '2020-02-27 17:19:17', 0);
INSERT INTO `t_mt_score` VALUES (1210501464485662720, 1210398276851994624, 2, 0, 1210398277279813632, '张野年终总结', 10.00, 0, '2019-12-27 18:03:33', '2020-02-27 17:19:17', 0);
INSERT INTO `t_mt_score` VALUES (1210501944108519424, 1210398276810051584, 2, 0, 1210398277221093376, '卫泽照年终总结', 5.21, 0, '2019-12-27 18:05:28', '2020-02-27 17:19:17', 0);
INSERT INTO `t_mt_score` VALUES (1210501965461721088, 1210398276810051584, 2, 0, 1210398277258842112, '武慧娟年终总结', 4.71, 0, '2019-12-27 18:05:33', '2020-02-27 17:19:17', 0);
INSERT INTO `t_mt_score` VALUES (1210501987695726592, 1210398276810051584, 2, 0, 1210398277279813632, '张野年终总结', 7.92, 0, '2019-12-27 18:05:38', '2020-02-27 17:19:17', 0);
INSERT INTO `t_mt_score` VALUES (1210765348123578368, 1210398276839411712, 2, 0, 1210398277304979456, '冯骏年终总结', 8.88, 0, '2019-12-28 11:32:09', '2020-02-27 17:19:17', 0);
INSERT INTO `t_mt_score` VALUES (1210765377806667776, 1210398276839411712, 2, 0, 1210398277321756672, '宋瑞芳年终总结', 10.00, 0, '2019-12-28 11:32:15', '2020-02-27 17:19:18', 0);
INSERT INTO `t_mt_score` VALUES (1210765417405091840, 1210398276839411712, 2, 0, 1210398277359505408, '李楠年终总结', 9.42, 0, '2019-12-28 11:32:25', '2020-02-27 17:19:34', 0);
INSERT INTO `t_mt_score` VALUES (1210765481066237952, 1210398276839411712, 2, 0, 1210398277342728192, '孙方圆年终总结', 8.24, 0, '2019-12-28 11:32:40', '2020-02-27 17:19:34', 0);
INSERT INTO `t_mt_score` VALUES (1210766030650085376, 1210398276826828800, 2, 0, 1210398277304979456, '冯骏年终总结', 9.76, 0, '2019-12-28 11:34:51', '2020-02-27 17:19:34', 0);
INSERT INTO `t_mt_score` VALUES (1210766063030112256, 1210398276826828800, 2, 0, 1210398277321756672, '宋瑞芳年终总结', 9.00, 0, '2019-12-28 11:34:59', '2020-02-27 17:19:34', 0);
INSERT INTO `t_mt_score` VALUES (1210766089051574272, 1210398276826828800, 2, 0, 1210398277342728192, '孙方圆年终总结', 9.65, 0, '2019-12-28 11:35:05', '2020-02-27 17:19:34', 0);
INSERT INTO `t_mt_score` VALUES (1210766118600445952, 1210398276826828800, 2, 0, 1210398277359505408, '李楠年终总结', 9.34, 0, '2019-12-28 11:35:12', '2020-02-27 17:19:34', 0);
INSERT INTO `t_mt_score` VALUES (1210766144936480768, 1210398276826828800, 2, 0, 1210398277376282624, '李亚男年终总结', 9.56, 0, '2019-12-28 11:35:18', '2020-02-27 17:19:34', 0);
INSERT INTO `t_mt_score` VALUES (1210766275299643392, 1210398276851994624, 2, 0, 1210398277304979456, '冯骏年终总结', 8.38, 0, '2019-12-28 11:35:49', '2020-02-27 17:19:34', 0);
INSERT INTO `t_mt_score` VALUES (1210766345487126528, 1210398276851994624, 2, 0, 1210398277321756672, '宋瑞芳年终总结', 9.01, 0, '2019-12-28 11:36:06', '2020-02-27 17:19:34', 0);
INSERT INTO `t_mt_score` VALUES (1210766369675677696, 1210398276851994624, 2, 0, 1210398277342728192, '孙方圆年终总结', 9.23, 0, '2019-12-28 11:36:12', '2020-02-27 17:19:34', 0);
INSERT INTO `t_mt_score` VALUES (1210766404882665472, 1210398276851994624, 2, 0, 1210398277359505408, '李楠年终总结', 9.23, 0, '2019-12-28 11:36:20', '2020-02-27 17:19:34', 0);
INSERT INTO `t_mt_score` VALUES (1210766430245621760, 1210398276851994624, 2, 0, 1210398277376282624, '李亚男年终总结', 9.30, 0, '2019-12-28 11:36:26', '2020-02-27 17:19:35', 0);
INSERT INTO `t_mt_score` VALUES (1210766581668384768, 1210398276914909184, 2, 0, 1210398277321756672, '宋瑞芳年终总结', 8.42, 0, '2019-12-28 11:37:02', '2020-02-27 17:19:35', 0);
INSERT INTO `t_mt_score` VALUES (1210766612563628032, 1210398276914909184, 2, 0, 1210398277304979456, '冯骏年终总结', 9.33, 0, '2019-12-28 11:37:10', '2020-02-27 17:19:35', 0);
INSERT INTO `t_mt_score` VALUES (1210766641751789568, 1210398276914909184, 2, 0, 1210398277342728192, '孙方圆年终总结', 8.96, 0, '2019-12-28 11:37:17', '2020-02-27 17:19:35', 0);
INSERT INTO `t_mt_score` VALUES (1210766667488038912, 1210398276914909184, 2, 0, 1210398277359505408, '李楠年终总结', 8.75, 0, '2019-12-28 11:37:23', '2020-02-27 17:19:35', 0);
INSERT INTO `t_mt_score` VALUES (1210766693295591424, 1210398276914909184, 2, 0, 1210398277376282624, '李亚男年终总结', 8.42, 0, '2019-12-28 11:37:29', '2020-02-27 17:19:35', 0);
INSERT INTO `t_mt_score` VALUES (1210767247686111232, 1210398276810051584, 2, 0, 1210398277304979456, '冯骏年终总结', 9.10, 0, '2019-12-28 11:39:41', '2020-02-27 17:19:35', 0);
INSERT INTO `t_mt_score` VALUES (1210767273929871360, 1210398276810051584, 2, 0, 1210398277321756672, '宋瑞芳年终总结', 8.66, 0, '2019-12-28 11:39:47', '2020-02-27 17:19:35', 0);
INSERT INTO `t_mt_score` VALUES (1210767305496203264, 1210398276810051584, 2, 0, 1210398277342728192, '孙方圆年终总结', 8.86, 0, '2019-12-28 11:39:55', '2020-02-27 17:19:35', 0);
INSERT INTO `t_mt_score` VALUES (1210767405068980224, 1210398276810051584, 2, 0, 1210398277359505408, '李楠年终总结', 8.24, 0, '2019-12-28 11:40:19', '2020-02-27 17:19:35', 0);
INSERT INTO `t_mt_score` VALUES (1210767436253630464, 1210398276810051584, 2, 0, 1210398277376282624, '李亚男年终总结', 9.43, 0, '2019-12-28 11:40:26', '2020-02-27 17:19:35', 0);
INSERT INTO `t_mt_score` VALUES (1210767696443084800, 1210398276763914240, 2, 0, 1210398277304979456, '冯骏年终总结', 9.17, 0, '2019-12-28 11:41:28', '2020-02-27 17:19:35', 0);
INSERT INTO `t_mt_score` VALUES (1210767815263522816, 1210398276763914240, 2, 0, 1210398277321756672, '宋瑞芳年终总结', 9.27, 0, '2019-12-28 11:41:56', '2020-02-27 17:19:36', 0);
INSERT INTO `t_mt_score` VALUES (1210767842002210816, 1210398276763914240, 2, 0, 1210398277342728192, '孙方圆年终总结', 9.04, 0, '2019-12-28 11:42:03', '2020-02-27 17:19:36', 0);
INSERT INTO `t_mt_score` VALUES (1210767867268698112, 1210398276763914240, 2, 0, 1210398277359505408, '李楠年终总结', 8.94, 0, '2019-12-28 11:42:09', '2020-02-27 17:19:36', 0);
INSERT INTO `t_mt_score` VALUES (1210767893218856960, 1210398276763914240, 2, 0, 1210398277376282624, '李亚男年终总结', 8.46, 0, '2019-12-28 11:42:15', '2020-02-27 17:19:36', 0);
INSERT INTO `t_mt_score` VALUES (1210768179656265728, 1210398276839411712, 2, 0, 1210398277376282624, '李亚男年终总结', 8.25, 0, '2019-12-28 11:43:23', '2020-02-27 17:19:36', 0);
INSERT INTO `t_mt_score` VALUES (1210785761339772928, 1210398276793274368, 2, 0, 1210398277221093376, '卫泽照年终总结', 10.00, 0, '2019-12-28 12:53:15', '2020-02-27 17:19:36', 0);
INSERT INTO `t_mt_score` VALUES (1210786057793179648, 1210398276793274368, 2, 0, 1210398277279813632, '张野年终总结', 9.44, 0, '2019-12-28 12:54:26', '2020-02-27 17:19:36', 0);
INSERT INTO `t_mt_score` VALUES (1210786110368780288, 1210398276793274368, 2, 0, 1210398277258842112, '武慧娟年终总结', 10.00, 0, '2019-12-28 12:54:38', '2020-02-27 17:19:36', 0);
INSERT INTO `t_mt_score` VALUES (1210786154580938752, 1210398276793274368, 2, 0, 1210398277304979456, '冯骏年终总结', 9.86, 0, '2019-12-28 12:54:49', '2020-02-27 17:19:36', 0);
INSERT INTO `t_mt_score` VALUES (1210786175409852416, 1210398276793274368, 2, 0, 1210398277321756672, '宋瑞芳年终总结', 10.00, 0, '2019-12-28 12:54:54', '2020-02-27 17:19:36', 0);
INSERT INTO `t_mt_score` VALUES (1210786196226183168, 1210398276793274368, 2, 0, 1210398277342728192, '孙方圆年终总结', 10.00, 0, '2019-12-28 12:54:59', '2020-02-27 17:19:36', 0);
INSERT INTO `t_mt_score` VALUES (1210786215662587904, 1210398276793274368, 2, 0, 1210398277359505408, '李楠年终总结', 10.00, 0, '2019-12-28 12:55:03', '2020-02-27 17:19:36', 0);
INSERT INTO `t_mt_score` VALUES (1210786243416297472, 1210398276793274368, 2, 0, 1210398277376282624, '李亚男年终总结', 9.14, 0, '2019-12-28 12:55:10', '2020-02-27 17:19:37', 0);
INSERT INTO `t_mt_score` VALUES (1210844481654493184, 1210820623346044928, 4, 0, 1210820623669006336, '李楠年终总结', 10.00, 0, '2019-12-28 16:46:35', '2020-02-27 17:19:37', 0);
INSERT INTO `t_mt_score` VALUES (1210844507034226688, 1210820623346044928, 4, 0, 1210820623681589248, '卫泽照年终总结', 10.00, 0, '2019-12-28 16:46:41', '2020-02-27 17:19:37', 0);
INSERT INTO `t_mt_score` VALUES (1210844529742188544, 1210820623346044928, 4, 0, 1210820623765475328, '冯骏年终总结', 7.23, 0, '2019-12-28 16:46:46', '2020-02-27 17:19:37', 0);
INSERT INTO `t_mt_score` VALUES (1210844555658792960, 1210820623346044928, 4, 0, 1210820623778058240, '武慧娟年终总结', 8.48, 0, '2019-12-28 16:46:53', '2020-02-27 17:19:37', 0);
INSERT INTO `t_mt_score` VALUES (1210844596473565184, 1210820623346044928, 4, 0, 1210820623786446848, '张野年终总结', 8.62, 0, '2019-12-28 16:47:02', '2020-02-27 17:19:37', 0);
INSERT INTO `t_mt_score` VALUES (1210844619504488448, 1210820623346044928, 4, 0, 1210820623803224064, '宋瑞芳年终总结', 8.73, 0, '2019-12-28 16:47:08', '2020-02-27 17:19:37', 0);
INSERT INTO `t_mt_score` VALUES (1210844645098131456, 1210820623346044928, 4, 0, 1210820623811612672, '孙方圆年终总结', 9.19, 0, '2019-12-28 16:47:14', '2020-02-27 17:19:37', 0);
INSERT INTO `t_mt_score` VALUES (1210844674735083520, 1210820623346044928, 4, 0, 1210820623820001280, '李亚男年终总结', 8.37, 0, '2019-12-28 16:47:21', '2020-02-27 17:19:37', 0);
INSERT INTO `t_mt_score` VALUES (1210846647647604736, 1210820623375405056, 4, 0, 1210820623669006336, '李楠年终总结', 7.27, 0, '2019-12-28 16:55:11', '2020-02-27 17:19:37', 0);
INSERT INTO `t_mt_score` VALUES (1210846673249636352, 1210820623375405056, 4, 0, 1210820623681589248, '卫泽照年终总结', 10.00, 0, '2019-12-28 16:55:18', '2020-02-27 17:19:37', 0);
INSERT INTO `t_mt_score` VALUES (1210846759119622144, 1210820623375405056, 4, 0, 1210820623765475328, '冯骏年终总结', 9.50, 0, '2019-12-28 16:55:38', '2020-02-27 17:19:38', 0);
INSERT INTO `t_mt_score` VALUES (1210846787158544384, 1210820623375405056, 4, 0, 1210820623778058240, '武慧娟年终总结', 10.00, 0, '2019-12-28 16:55:45', '2020-02-27 17:19:38', 0);
INSERT INTO `t_mt_score` VALUES (1210846810386599936, 1210820623375405056, 4, 0, 1210820623786446848, '张野年终总结', 9.15, 0, '2019-12-28 16:55:50', '2020-02-27 17:19:38', 0);
INSERT INTO `t_mt_score` VALUES (1210846835229462528, 1210820623375405056, 4, 0, 1210820623803224064, '宋瑞芳年终总结', 8.72, 0, '2019-12-28 16:55:56', '2020-02-27 17:19:38', 0);
INSERT INTO `t_mt_score` VALUES (1210846870201569280, 1210820623375405056, 4, 0, 1210820623811612672, '孙方圆年终总结', 9.48, 0, '2019-12-28 16:56:04', '2020-02-27 17:19:38', 0);
INSERT INTO `t_mt_score` VALUES (1210846900446695424, 1210820623375405056, 4, 0, 1210820623820001280, '李亚男年终总结', 9.02, 0, '2019-12-28 16:56:12', '2020-02-27 17:19:38', 0);
INSERT INTO `t_mt_score` VALUES (1210846963499667456, 1210820623413153792, 4, 0, 1210820623669006336, '李楠年终总结', 10.00, 0, '2019-12-28 16:56:27', '2020-02-27 17:19:38', 0);
INSERT INTO `t_mt_score` VALUES (1210847012409446400, 1210820623413153792, 4, 0, 1210820623681589248, '卫泽照年终总结', 10.00, 0, '2019-12-28 16:56:38', '2020-02-27 17:19:38', 0);
INSERT INTO `t_mt_score` VALUES (1210847070278258688, 1210820623413153792, 4, 0, 1210820623765475328, '冯骏年终总结', 10.00, 0, '2019-12-28 16:56:52', '2020-02-27 17:19:38', 0);
INSERT INTO `t_mt_score` VALUES (1210847103660724224, 1210820623413153792, 4, 0, 1210820623778058240, '武慧娟年终总结', 9.66, 0, '2019-12-28 16:57:00', '2020-02-27 17:19:38', 0);
INSERT INTO `t_mt_score` VALUES (1210847135113809920, 1210820623413153792, 4, 0, 1210820623786446848, '张野年终总结', 10.00, 0, '2019-12-28 16:57:08', '2020-02-27 17:19:38', 0);
INSERT INTO `t_mt_score` VALUES (1210847164159365120, 1210820623413153792, 4, 0, 1210820623803224064, '宋瑞芳年终总结', 10.00, 0, '2019-12-28 16:57:15', '2020-02-27 17:19:38', 0);
INSERT INTO `t_mt_score` VALUES (1210847194563874816, 1210820623413153792, 4, 0, 1210820623811612672, '孙方圆年终总结', 10.00, 0, '2019-12-28 16:57:22', '2020-02-27 17:19:39', 0);
INSERT INTO `t_mt_score` VALUES (1210847205225795584, 1210820623304101889, 4, 0, 1210820623669006336, '李楠年终总结', 8.84, 0, '2019-12-28 16:57:24', '2020-02-27 17:19:39', 0);
INSERT INTO `t_mt_score` VALUES (1210847234250379264, 1210820623304101889, 4, 0, 1210820623681589248, '卫泽照年终总结', 8.55, 0, '2019-12-28 16:57:31', '2020-02-27 17:19:39', 0);
INSERT INTO `t_mt_score` VALUES (1210847264520671232, 1210820623304101889, 4, 0, 1210820623765475328, '冯骏年终总结', 10.00, 0, '2019-12-28 16:57:38', '2020-02-27 17:19:39', 0);
INSERT INTO `t_mt_score` VALUES (1210847269188931584, 1210820623413153792, 4, 0, 1210820623820001280, '李亚男年终总结', 10.00, 0, '2019-12-28 16:57:40', '2020-02-27 17:19:39', 0);
INSERT INTO `t_mt_score` VALUES (1210847292979023872, 1210820623304101889, 4, 0, 1210820623778058240, '武慧娟年终总结', 10.00, 0, '2019-12-28 16:57:45', '2020-02-27 17:19:39', 0);
INSERT INTO `t_mt_score` VALUES (1210847356933771264, 1210820623304101889, 4, 0, 1210820623786446848, '张野年终总结', 10.00, 0, '2019-12-28 16:58:01', '2020-02-27 17:19:39', 0);
INSERT INTO `t_mt_score` VALUES (1210847377888514048, 1210820623304101889, 4, 0, 1210820623803224064, '宋瑞芳年终总结', 9.71, 0, '2019-12-28 16:58:06', '2020-02-27 17:19:39', 0);
INSERT INTO `t_mt_score` VALUES (1210847411916902400, 1210820623304101889, 4, 0, 1210820623811612672, '孙方圆年终总结', 9.67, 0, '2019-12-28 16:58:14', '2020-02-27 17:19:39', 0);
INSERT INTO `t_mt_score` VALUES (1210847435472113664, 1210820623304101889, 4, 0, 1210820623820001280, '李亚男年终总结', 9.51, 0, '2019-12-28 16:58:19', '2020-02-27 17:19:39', 0);
INSERT INTO `t_mt_score` VALUES (1210847435933487104, 1210820623425736704, 4, 0, 1210820623669006336, '李楠年终总结', 10.00, 0, '2019-12-28 16:58:19', '2020-02-27 17:19:40', 0);
INSERT INTO `t_mt_score` VALUES (1210847460361113600, 1210820623425736704, 4, 0, 1210820623681589248, '卫泽照年终总结', 10.00, 0, '2019-12-28 16:58:25', '2020-02-27 17:19:40', 0);
INSERT INTO `t_mt_score` VALUES (1210847508952125440, 1210820623425736704, 4, 0, 1210820623765475328, '冯骏年终总结', 10.00, 0, '2019-12-28 16:58:37', '2020-02-27 17:19:40', 0);
INSERT INTO `t_mt_score` VALUES (1210847533732073472, 1210820623425736704, 4, 0, 1210820623778058240, '武慧娟年终总结', 10.00, 0, '2019-12-28 16:58:43', '2020-02-27 17:19:40', 0);
INSERT INTO `t_mt_score` VALUES (1210847596017487872, 1210820623425736704, 4, 0, 1210820623786446848, '张野年终总结', 10.00, 0, '2019-12-28 16:58:58', '2020-02-27 17:19:40', 0);
INSERT INTO `t_mt_score` VALUES (1210847634890297344, 1210820623425736704, 4, 0, 1210820623803224064, '宋瑞芳年终总结', 10.00, 0, '2019-12-28 16:59:07', '2020-02-27 17:19:40', 0);
INSERT INTO `t_mt_score` VALUES (1210847656981696512, 1210820623425736704, 4, 0, 1210820623811612672, '孙方圆年终总结', 10.00, 0, '2019-12-28 16:59:12', '2020-02-27 17:19:40', 0);
INSERT INTO `t_mt_score` VALUES (1210847678917906432, 1210820623425736704, 4, 0, 1210820623820001280, '李亚男年终总结', 10.00, 0, '2019-12-28 16:59:17', '2020-02-27 17:19:40', 0);
INSERT INTO `t_mt_score` VALUES (1210893307668992000, 1210820354717650944, 3, 0, 1210820355099332608, '李楠年终总结', 8.91, 0, '2019-12-28 20:00:36', '2020-02-27 17:19:40', 0);
INSERT INTO `t_mt_score` VALUES (1210893993668382720, 1210820354705068032, 3, 0, 1210820355099332608, '李楠年终总结', 9.13, 0, '2019-12-28 20:03:20', '2020-02-27 17:19:40', 0);
INSERT INTO `t_mt_score` VALUES (1210894020721643520, 1210820354818314240, 3, 0, 1210820355099332608, '李楠年终总结', 8.00, 0, '2019-12-28 20:03:26', '2020-02-27 17:19:40', 0);
INSERT INTO `t_mt_score` VALUES (1210894064552120320, 1210820354726039552, 3, 0, 1210820355099332608, '李楠年终总结', 9.00, 0, '2019-12-28 20:03:36', '2020-02-27 17:19:40', 0);
INSERT INTO `t_mt_score` VALUES (1210894157695029248, 1210820354738622464, 3, 0, 1210820355099332608, '李楠年终总结', 9.88, 0, '2019-12-28 20:03:59', '2020-02-27 17:19:40', 0);
INSERT INTO `t_mt_score` VALUES (1210894590450733056, 1210820354877034496, 3, 0, 1210820355099332608, '李楠年终总结', 9.04, 0, '2019-12-28 20:05:42', '2020-02-27 17:19:41', 0);
INSERT INTO `t_mt_score` VALUES (1210895432474038272, 1210820354717650944, 3, 0, 1210820355128692736, '卫泽照年终总结', 9.00, 0, '2019-12-28 20:09:03', '2020-02-27 17:19:41', 0);
INSERT INTO `t_mt_score` VALUES (1210895498655961088, 1210820354726039552, 3, 0, 1210820355128692736, '卫泽照年终总结', 9.10, 0, '2019-12-28 20:09:18', '2020-02-27 17:19:41', 0);
INSERT INTO `t_mt_score` VALUES (1210895563432792064, 1210820354705068032, 3, 0, 1210820355128692736, '卫泽照年终总结', 9.86, 0, '2019-12-28 20:09:34', '2020-02-27 17:19:41', 0);
INSERT INTO `t_mt_score` VALUES (1210895568000389120, 1210820354818314240, 3, 0, 1210820355128692736, '卫泽照年终总结', 10.00, 0, '2019-12-28 20:09:35', '2020-02-27 17:19:41', 0);
INSERT INTO `t_mt_score` VALUES (1210895642520588288, 1210820354877034496, 3, 0, 1210820355128692736, '卫泽照年终总结', 9.90, 0, '2019-12-28 20:09:53', '2020-02-27 17:19:41', 0);
INSERT INTO `t_mt_score` VALUES (1210895895676194816, 1210820354738622464, 3, 0, 1210820355128692736, '卫泽照年终总结', 9.64, 0, '2019-12-28 20:10:53', '2020-02-27 17:19:41', 0);
INSERT INTO `t_mt_score` VALUES (1210896408157229056, 1210820354717650944, 3, 0, 1210820355141275648, '冯骏年终总结', 9.09, 0, '2019-12-28 20:12:55', '2020-02-27 17:19:41', 2);
INSERT INTO `t_mt_score` VALUES (1210896638269329408, 1210820354818314240, 3, 0, 1210820355141275648, '冯骏年终总结', 9.84, 0, '2019-12-28 20:13:50', '2020-02-27 17:19:41', 2);
INSERT INTO `t_mt_score` VALUES (1210896652777426944, 1210820354705068032, 3, 0, 1210820355141275648, '冯骏年终总结', 9.51, 0, '2019-12-28 20:13:54', '2020-02-27 17:19:41', 2);
INSERT INTO `t_mt_score` VALUES (1210896669307179008, 1210820354738622464, 3, 0, 1210820355141275648, '冯骏年终总结', 9.58, 0, '2019-12-28 20:13:58', '2020-02-27 17:19:41', 2);
INSERT INTO `t_mt_score` VALUES (1210896728778215424, 1210820354726039552, 3, 0, 1210820355141275648, '冯骏年终总结', 9.05, 0, '2019-12-28 20:14:12', '2020-02-27 17:19:41', 2);
INSERT INTO `t_mt_score` VALUES (1210896997914120192, 1210820354818314240, 3, 0, 1210820355153858560, '武慧娟年终总结', 10.00, 0, '2019-12-28 20:15:16', '2020-02-27 17:19:42', 0);
INSERT INTO `t_mt_score` VALUES (1210897005124128768, 1210820354726039552, 3, 0, 1210820355153858560, '武慧娟年终总结', 9.10, 0, '2019-12-28 20:15:18', '2020-02-27 17:19:42', 0);
INSERT INTO `t_mt_score` VALUES (1210897011285561344, 1210820354717650944, 3, 0, 1210820355153858560, '武慧娟年终总结', 9.03, 0, '2019-12-28 20:15:19', '2020-02-27 17:19:42', 0);
INSERT INTO `t_mt_score` VALUES (1210897012900368384, 1210820354705068032, 3, 0, 1210820355153858560, '武慧娟年终总结', 9.05, 0, '2019-12-28 20:15:19', '2020-02-27 17:19:42', 0);
INSERT INTO `t_mt_score` VALUES (1210897077836582912, 1210820354738622464, 3, 0, 1210820355153858560, '武慧娟年终总结', 9.64, 0, '2019-12-28 20:15:35', '2020-02-27 17:19:42', 0);
INSERT INTO `t_mt_score` VALUES (1210900279701147648, 1210820354717650944, 3, 0, 1210820355166441472, '张野年终总结', 9.12, 0, '2019-12-28 20:28:18', '2020-02-27 17:19:42', 2);
INSERT INTO `t_mt_score` VALUES (1210900398697746432, 1210820354726039552, 3, 0, 1210820355166441472, '张野年终总结', 9.00, 0, '2019-12-28 20:28:47', '2020-02-27 17:19:42', 2);
INSERT INTO `t_mt_score` VALUES (1210900415307190272, 1210820354705068032, 3, 0, 1210820355166441472, '张野年终总结', 9.86, 0, '2019-12-28 20:28:51', '2020-02-27 17:19:42', 2);
INSERT INTO `t_mt_score` VALUES (1210900430947749888, 1210820354818314240, 3, 0, 1210820355166441472, '张野年终总结', 10.00, 0, '2019-12-28 20:28:54', '2020-02-27 17:19:42', 2);
INSERT INTO `t_mt_score` VALUES (1210900472764960768, 1210820354738622464, 3, 0, 1210820355166441472, '张野年终总结', 9.50, 0, '2019-12-28 20:29:04', '2020-02-27 17:19:42', 2);
INSERT INTO `t_mt_score` VALUES (1210900696585605120, 1210820354726039552, 3, 0, 1210820355199995904, '宋瑞芳年终总结', 9.01, 0, '2019-12-28 20:29:58', '2020-02-27 17:19:42', 2);
INSERT INTO `t_mt_score` VALUES (1210900711366332416, 1210820354705068032, 3, 0, 1210820355199995904, '宋瑞芳年终总结', 9.62, 0, '2019-12-28 20:30:01', '2020-02-27 17:19:42', 2);
INSERT INTO `t_mt_score` VALUES (1210900719536836608, 1210820354818314240, 3, 0, 1210820355199995904, '宋瑞芳年终总结', 10.00, 0, '2019-12-28 20:30:03', '2020-02-27 17:19:43', 2);
INSERT INTO `t_mt_score` VALUES (1210900720589606912, 1210820354717650944, 3, 0, 1210820355199995904, '宋瑞芳年终总结', 8.97, 0, '2019-12-28 20:30:03', '2020-02-27 17:19:43', 2);
INSERT INTO `t_mt_score` VALUES (1210900760506798080, 1210820354738622464, 3, 0, 1210820355199995904, '宋瑞芳年终总结', 9.55, 0, '2019-12-28 20:30:13', '2020-02-27 17:19:43', 2);
INSERT INTO `t_mt_score` VALUES (1210901432371384320, 1210820354717650944, 3, 0, 1210820355212578816, '孙方圆年终总结', 9.70, 0, '2019-12-28 20:32:53', '2020-02-27 17:19:43', 2);
INSERT INTO `t_mt_score` VALUES (1210901549539266560, 1210820354726039552, 3, 0, 1210820355212578816, '孙方圆年终总结', 9.17, 0, '2019-12-28 20:33:21', '2020-02-27 17:19:43', 2);
INSERT INTO `t_mt_score` VALUES (1210901941786382336, 1210820354705068032, 3, 0, 1210820355212578816, '孙方圆年终总结', 10.00, 0, '2019-12-28 20:34:55', '2020-02-27 17:19:43', 2);
INSERT INTO `t_mt_score` VALUES (1210901964548870144, 1210820354818314240, 3, 0, 1210820355212578816, '孙方圆年终总结', 10.00, 0, '2019-12-28 20:35:00', '2020-02-27 17:19:43', 2);
INSERT INTO `t_mt_score` VALUES (1210901970907435008, 1210820354738622464, 3, 0, 1210820355212578816, '孙方圆年终总结', 9.76, 0, '2019-12-28 20:35:02', '2020-02-27 17:19:43', 2);
INSERT INTO `t_mt_score` VALUES (1210902280417710080, 1210820354726039552, 3, 0, 1210820355225161728, '李亚男年终总结', 9.07, 0, '2019-12-28 20:36:15', '2020-02-27 17:19:43', 0);
INSERT INTO `t_mt_score` VALUES (1210902404762046464, 1210820354717650944, 3, 0, 1210820355225161728, '李亚男年终总结', 9.21, 0, '2019-12-28 20:36:45', '2020-02-27 17:19:43', 0);
INSERT INTO `t_mt_score` VALUES (1210902680881467392, 1210820354705068032, 3, 0, 1210820355225161728, '李亚男年终总结', 9.90, 0, '2019-12-28 20:37:51', '2020-02-27 17:19:44', 0);
INSERT INTO `t_mt_score` VALUES (1210902696123568128, 1210820354818314240, 3, 0, 1210820355225161728, '李亚男年终总结', 10.00, 0, '2019-12-28 20:37:54', '2020-02-27 17:19:44', 0);
INSERT INTO `t_mt_score` VALUES (1210902697524465664, 1210820354738622464, 3, 0, 1210820355225161728, '李亚男年终总结', 9.61, 0, '2019-12-28 20:37:55', '2020-02-27 17:19:44', 0);
INSERT INTO `t_mt_score` VALUES (1211480507448168448, 1210820354767982592, 3, 0, 1210820355141275648, '冯骏年终总结', 10.00, 0, '2019-12-30 10:53:55', '2020-02-27 17:19:44', 2);
INSERT INTO `t_mt_score` VALUES (1212551736657580032, 1210820354767982592, 3, 0, 1210820355099332608, '李楠年终总结', 9.98, 0, '2020-01-02 09:50:36', '2020-02-27 17:19:44', 2);
INSERT INTO `t_mt_score` VALUES (1214027104694439936, 1210820354755399680, 3, 0, 1210820355166441472, '张野年终总结', 9.10, 0, '2020-01-06 11:33:11', '2020-02-27 17:19:44', 2);
INSERT INTO `t_mt_score` VALUES (1231071359602397184, 1230706260308004864, 0, 0, 1230706261213974528, '张野年终总结', 18.88, 0, '2020-02-22 12:21:09', '2020-02-27 17:19:44', 0);
INSERT INTO `t_mt_score` VALUES (1232584344611196928, 1232564528731000832, 0, 0, 1232564529225928705, '李楠年终总结', 7.80, 0, '2020-02-26 16:33:02', '2020-02-27 17:32:01', 2);
INSERT INTO `t_mt_score` VALUES (1232585046339227648, 1232564528731000832, 0, 0, 1232564529255288832, '卫泽照年终总结', 0.08, 0, '2020-02-26 16:35:50', '2020-02-27 17:32:01', 0);
INSERT INTO `t_mt_score` VALUES (1232585331241521152, 1232564528731000832, 0, 0, 1232564529263677440, '冯骏年终总结', 0.03, 0, '2020-02-26 16:36:57', '2020-02-27 17:32:01', 0);
INSERT INTO `t_mt_score` VALUES (1232585637023059968, 1232564528731000832, 0, 0, 1232564529272066048, '武慧娟年终总结', 0.06, 0, '2020-02-26 16:38:10', '2020-02-27 17:32:01', 0);
INSERT INTO `t_mt_score` VALUES (1232586060983308288, 1232564528731000832, 0, 0, 1232564529293037568, '张野年终总结', 0.10, 0, '2020-02-26 16:39:51', '2020-02-27 17:32:01', 0);
INSERT INTO `t_mt_score` VALUES (1232587421674246144, 1232564528731000832, 0, 0, 1232564529297231872, '宋瑞芳年终总结', 0.05, 0, '2020-02-26 16:45:16', '2020-02-27 17:32:01', 0);
INSERT INTO `t_mt_score` VALUES (1232587871815340032, 1232564528731000832, 0, 0, 1232564529301426176, '孙方圆年终总结', 0.06, 0, '2020-02-26 16:47:03', '2020-02-27 17:32:01', 0);
INSERT INTO `t_mt_score` VALUES (1232588918944305152, 1232564528731000832, 0, 0, 1232564529305620480, '李亚男年终总结', 0.06, 0, '2020-02-26 16:51:13', '2020-02-27 17:32:01', 0);
INSERT INTO `t_mt_score` VALUES (1232945484230955008, 1232564528731000832, 0, 1232564528571617280, 1232564529225928705, '李楠年终总结', 99.09, 0, '2020-02-27 16:28:05', '2020-02-27 17:27:05', 2);
INSERT INTO `t_mt_score` VALUES (1232948193839419392, 1232564528731000832, 0, 1232564528571617280, 1232564529225928705, '李楠年终总结', 9.99, 0, '2020-02-27 16:38:51', '2020-02-27 17:27:05', 2);
INSERT INTO `t_mt_score` VALUES (1232949051348094976, 1232564528731000832, 0, 1232564528571617280, 1232564529225928705, '李楠年终总结', 0.11, 0, '2020-02-27 16:42:15', '2020-02-27 17:27:05', 2);
INSERT INTO `t_mt_score` VALUES (1232949235540955136, 1232564528731000832, 0, 1232564528571617280, 1232564529225928705, '李楠年终总结', 0.10, 0, '2020-02-27 16:42:59', '2020-02-27 17:27:05', 0);
INSERT INTO `t_mt_score` VALUES (1232961928855425024, 1232564528718417920, 0, 1232564528571617280, 1232564529293037568, '张野年终总结', 18.88, 0, '2020-02-27 17:33:25', '2020-02-27 17:33:25', 0);
-- ----------------------------
-- Table structure for t_mt_score_log
-- ----------------------------
DROP TABLE IF EXISTS `t_mt_score_log`;
CREATE TABLE `t_mt_score_log` (
`id` bigint(20) NOT NULL,
`name` varchar(32) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT '' COMMENT '姓名',
`max_score` decimal(20, 2) NULL DEFAULT 0.00 COMMENT '分数最大值',
`min_score` decimal(20, 2) NULL DEFAULT 0.00 COMMENT '分数最小值',
`project_id` bigint(20) NULL DEFAULT 0 COMMENT '项目id',
`sequence` int(11) NULL DEFAULT 0 COMMENT '序号',
`created_at` timestamp(0) NOT NULL DEFAULT current_timestamp(),
`updated_at` timestamp(0) NOT NULL DEFAULT current_timestamp() ON UPDATE CURRENT_TIMESTAMP(0),
`rec_status` tinyint(1) UNSIGNED NULL DEFAULT 0,
PRIMARY KEY (`id`) USING BTREE,
INDEX `project_index`(`project_id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '评分项' ROW_FORMAT = Dynamic;
-- ----------------------------
-- Records of t_mt_score_log
-- ----------------------------
INSERT INTO `t_mt_score_log` VALUES (1, '总分', 10.00, 0.00, 1210089888431607808, 1, '2019-12-25 14:55:32', '2019-12-26 14:52:53', 0);
INSERT INTO `t_mt_score_log` VALUES (2, '总分', 10.00, 0.00, 1210398276352872448, 1, '2019-12-27 11:14:41', '2019-12-27 11:14:41', 0);
INSERT INTO `t_mt_score_log` VALUES (3, '总分', 10.00, 0.00, 1210820354650542080, 1, '2019-12-28 12:51:38', '2019-12-28 15:14:09', 0);
INSERT INTO `t_mt_score_log` VALUES (4, '总分', 10.00, 0.00, 1210820623236993024, 0, '2019-12-28 15:14:39', '2019-12-28 15:14:39', 0);
-- ----------------------------
-- Table structure for t_mt_signin
-- ----------------------------
DROP TABLE IF EXISTS `t_mt_signin`;
CREATE TABLE `t_mt_signin` (
`id` bigint(20) NOT NULL,
`user_id` bigint(20) NULL DEFAULT 0 COMMENT '对应的用户id',
`task_id` bigint(20) NULL DEFAULT 0 COMMENT '任务id',
`name` varchar(32) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT '' COMMENT '姓名',
`phone` varchar(128) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT '' COMMENT '手机号',
`company` varchar(32) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT '' COMMENT '公司',
`signin_time` bigint(20) NULL DEFAULT 0 COMMENT '签到时间',
`sequence` int(11) NULL DEFAULT 0 COMMENT '序号',
`created_at` timestamp(0) NOT NULL DEFAULT current_timestamp(),
`updated_at` timestamp(0) NOT NULL DEFAULT current_timestamp() ON UPDATE CURRENT_TIMESTAMP(0),
`rec_status` tinyint(1) UNSIGNED NULL DEFAULT 0,
PRIMARY KEY (`id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '签到表' ROW_FORMAT = Dynamic;
-- ----------------------------
-- Records of t_mt_signin
-- ----------------------------
INSERT INTO `t_mt_signin` VALUES (1209682868238946304, 1175954520199532544, 12, 'zy', '123123', '', 1577245845266, 1, '2019-12-25 11:50:47', '2019-12-25 11:50:47', 0);
INSERT INTO `t_mt_signin` VALUES (1209683090163765248, 1175954520199532544, 12, 'zy', '123123', '', 1577245898177, 2, '2019-12-25 11:51:39', '2019-12-25 11:51:39', 0);
INSERT INTO `t_mt_signin` VALUES (1209683102234972160, 1175954520199532544, 12, 'zy', '123123', '', 1577245901055, 3, '2019-12-25 11:51:42', '2019-12-25 11:51:42', 0);
INSERT INTO `t_mt_signin` VALUES (1209683107561738240, 1175954520199532544, 12, 'zy', '123123', '', 1577245902325, 4, '2019-12-25 11:51:44', '2019-12-25 11:51:44', 0);
INSERT INTO `t_mt_signin` VALUES (1209683111454052352, 1175954520199532544, 12, 'zy', '123123', '', 1577245903253, 5, '2019-12-25 11:51:45', '2019-12-25 11:51:45', 0);
INSERT INTO `t_mt_signin` VALUES (1209683114583003136, 1175954520199532544, 12, 'zy', '123123', '', 1577245903999, 6, '2019-12-25 11:51:45', '2019-12-25 11:51:45', 0);
INSERT INTO `t_mt_signin` VALUES (1209683117586124800, 1175954520199532544, 12, 'zy', '123123', '', 1577245904715, 7, '2019-12-25 11:51:46', '2019-12-25 11:51:46', 0);
INSERT INTO `t_mt_signin` VALUES (1209683120291450880, 1175954520199532544, 12, 'zy', '123123', '', 1577245905360, 8, '2019-12-25 11:51:47', '2019-12-25 11:51:47', 0);
INSERT INTO `t_mt_signin` VALUES (1209683123202297856, 1175954520199532544, 12, 'zy', '123123', '', 1577245906054, 9, '2019-12-25 11:51:47', '2019-12-25 11:51:47', 0);
INSERT INTO `t_mt_signin` VALUES (1209690404849586176, 1175954520199532544, 112, 'zy', '123123', '', 1577247642134, 1, '2019-12-25 12:20:42', '2019-12-25 12:20:42', 0);
INSERT INTO `t_mt_signin` VALUES (1209715655352389632, 1177394149704470528, 1207585170669047808, 'wally', '18603454788', '', 1577253662323, 1, '2019-12-25 14:01:02', '2019-12-25 14:01:02', 0);
INSERT INTO `t_mt_signin` VALUES (1209742128188624896, 1177394149704470528, 1209731714100891648, 'wally', '18603454788', '', 1577259973939, 1, '2019-12-25 15:46:14', '2019-12-25 15:46:14', 0);
INSERT INTO `t_mt_signin` VALUES (1209752737756090368, 1177394149704470528, 1209741019982204928, 'wally', '18603454788', '', 1577262503457, 1, '2019-12-25 16:28:23', '2019-12-25 16:28:23', 0);
INSERT INTO `t_mt_signin` VALUES (1210057711471955968, 1177394149704470528, 1209768924015628288, 'wally', '18603454788', '', 1577335214857, 1, '2019-12-26 12:40:14', '2019-12-26 12:40:14', 0);
INSERT INTO `t_mt_signin` VALUES (1210504184353394688, 1177042727041372160, 1210398277426614272, '宋瑞芳', '15235360226', '', 1577441662287, 1, '2019-12-27 18:14:22', '2019-12-27 18:14:22', 0);
INSERT INTO `t_mt_signin` VALUES (1210514900145803264, 1183636291472986112, 1210398277426614272, '武慧娟', '15235262532', '', 1577444217131, 2, '2019-12-27 18:56:57', '2019-12-27 18:56:57', 0);
INSERT INTO `t_mt_signin` VALUES (1210524519224184832, 1182474793929281536, 1210398277426614272, '李亚男', '15235265656', '', 1577446510498, 3, '2019-12-27 19:35:10', '2019-12-27 19:35:10', 0);
INSERT INTO `t_mt_signin` VALUES (1210841263000129536, 1183636291472986112, 1210820624071659521, '武慧娟', '15235256325', '', 1577522028099, 1, '2019-12-28 16:33:48', '2019-12-28 16:33:48', 0);
INSERT INTO `t_mt_signin` VALUES (1210885039634649088, 1177394149704470528, 1210820355288076289, '冯骏', '18603454788', '', 1577532465262, 1, '2019-12-28 19:27:45', '2019-12-28 19:27:45', 0);
INSERT INTO `t_mt_signin` VALUES (1210885118370123776, 1177042727041372160, 1210820355288076289, '宋瑞芳', '15235360226', '', 1577532484034, 2, '2019-12-28 19:28:04', '2019-12-28 19:28:04', 0);
INSERT INTO `t_mt_signin` VALUES (1210885351355322368, 1182474793929281536, 1210820355288076289, '李亚男', '13210151397', '', 1577532539582, 3, '2019-12-28 19:28:59', '2019-12-28 19:28:59', 0);
INSERT INTO `t_mt_signin` VALUES (1210885482406350848, 1210776265880113152, 1210820355288076289, '白璐', '18536665706', '', 1577532570827, 4, '2019-12-28 19:29:30', '2019-12-28 19:29:30', 0);
INSERT INTO `t_mt_signin` VALUES (1210885662966943744, 1183636291472986112, 1210820355288076289, '武慧娟', '15536346119', '', 1577532613876, 5, '2019-12-28 19:30:13', '2019-12-28 19:30:13', 0);
INSERT INTO `t_mt_signin` VALUES (1210885765165355008, 1182476056934879232, 1210820355288076289, '孙方圆', '17600172132', '', 1577532638242, 6, '2019-12-28 19:30:38', '2019-12-28 19:30:38', 0);
INSERT INTO `t_mt_signin` VALUES (1210885921256378368, 1175954520199532544, 1210820355288076289, '张野', '15335153627', '', 1577532675457, 7, '2019-12-28 19:31:15', '2019-12-28 19:31:15', 0);
INSERT INTO `t_mt_signin` VALUES (1210886961028534272, 1210776876419780608, 1210820355288076289, '王晓婷', '15343433639', '', 1577532923358, 8, '2019-12-28 19:35:23', '2019-12-28 19:35:23', 0);
INSERT INTO `t_mt_signin` VALUES (1210887056054685696, 1210777370903056384, 1210820355288076289, '陈芃睿', '18903402266', '', 1577532946014, 9, '2019-12-28 19:35:46', '2019-12-28 19:35:46', 0);
INSERT INTO `t_mt_signin` VALUES (1210887790074662912, 1182476167328960512, 1210820355288076289, '李楠', '18403559853', '', 1577533121018, 10, '2019-12-28 19:38:41', '2019-12-28 19:38:41', 0);
INSERT INTO `t_mt_signin` VALUES (1210887854918602752, 1210776419597160448, 1210820355288076289, 'Chen pangrui', '18634402266', '', 1577533136478, 11, '2019-12-28 19:38:56', '2019-12-28 19:38:56', 0);
INSERT INTO `t_mt_signin` VALUES (1210889288980500480, 1210776598626832384, 1210820355288076289, '王娟云', '18135100160', '', 1577533478385, 12, '2019-12-28 19:44:38', '2019-12-28 19:44:38', 0);
INSERT INTO `t_mt_signin` VALUES (1210889853139554304, 1189465926597218304, 1210820355288076289, '周勇', '18135110606', '', 1577533612891, 13, '2019-12-28 19:46:52', '2019-12-28 19:46:52', 0);
INSERT INTO `t_mt_signin` VALUES (1210890185496203264, 1210776522655404032, 1210820355288076289, 'liuyong', '13911516568', '', 1577533692131, 14, '2019-12-28 19:48:12', '2019-12-28 19:48:12', 0);
INSERT INTO `t_mt_signin` VALUES (1210890528976146432, 1210772356725870592, 1210820355288076289, '赵思奇', '13810628635', '', 1577533774023, 15, '2019-12-28 19:49:34', '2019-12-28 19:49:34', 0);
INSERT INTO `t_mt_signin` VALUES (1210890555316375552, 1210776011319414784, 1210820355288076289, '肖可佳', '13683501709', '', 1577533780303, 16, '2019-12-28 19:49:40', '2019-12-28 19:49:40', 0);
INSERT INTO `t_mt_signin` VALUES (1210891368088604672, 1182476410426626048, 1210820355288076289, '卫泽照', '18135100170', '', 1577533974084, 17, '2019-12-28 19:52:54', '2019-12-28 19:52:54', 0);
-- ----------------------------
-- Table structure for t_mt_signin_basic
-- ----------------------------
DROP TABLE IF EXISTS `t_mt_signin_basic`;
CREATE TABLE `t_mt_signin_basic` (
`id` bigint(20) NOT NULL,
`user_id` bigint(20) NULL DEFAULT 0 COMMENT '对应的用户id',
`task_plugin_id` bigint(20) NULL DEFAULT 0 COMMENT '任务插件id',
`task_id` bigint(20) NULL DEFAULT 0 COMMENT '任务id',
`signin_time` bigint(20) NULL DEFAULT 0 COMMENT '签到时间',
`sequence` int(11) NULL DEFAULT 0 COMMENT '序号',
`is_sign` tinyint(1) UNSIGNED NULL DEFAULT 0 COMMENT '是否已签到 0未签到 1已签到',
`created_at` timestamp(0) NOT NULL DEFAULT current_timestamp(),
`updated_at` timestamp(0) NOT NULL DEFAULT current_timestamp() ON UPDATE CURRENT_TIMESTAMP(0),
`rec_status` tinyint(1) UNSIGNED NULL DEFAULT 0,
PRIMARY KEY (`id`) USING BTREE,
INDEX `user_index`(`user_id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '签到基本信息表' ROW_FORMAT = Dynamic;
-- ----------------------------
-- Records of t_mt_signin_basic
-- ----------------------------
INSERT INTO `t_mt_signin_basic` VALUES (1231070106696683520, 1217647686598135808, 1230706262635843584, 1230706261037813760, 1582344960270, 1, 1, '2020-02-22 12:16:00', '2020-02-24 09:31:31', 0);
INSERT INTO `t_mt_signin_basic` VALUES (1231102153360281600, 1217651354919636992, 1230706262635843584, 1230706261037813760, 1582352600790, 2, 1, '2020-02-22 14:23:20', '2020-02-24 09:31:35', 0);
INSERT INTO `t_mt_signin_basic` VALUES (1232564822109982720, 1217651354919636992, 1232564536075227136, 1232564529024602112, 1582701328195, 1, 1, '2020-02-26 15:15:28', '2020-02-26 15:32:54', 0);
INSERT INTO `t_mt_signin_basic` VALUES (1232569962258894848, 1217647686598135808, 1232564536075227136, 1232564529024602112, 1582702553702, 2, 1, '2020-02-26 15:35:53', '2020-02-26 15:35:53', 0);
-- ----------------------------
-- Table structure for t_mt_signin_other
-- ----------------------------
DROP TABLE IF EXISTS `t_mt_signin_other`;
CREATE TABLE `t_mt_signin_other` (
`id` bigint(20) NOT NULL,
`signin_basic_id` bigint(20) NULL DEFAULT 0 COMMENT '签到基本信息的id',
`s_key` varchar(32) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT '' COMMENT '字段',
`s_value` varchar(128) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT '' COMMENT '',
`created_at` timestamp(0) NOT NULL DEFAULT current_timestamp(),
`updated_at` timestamp(0) NOT NULL DEFAULT current_timestamp() ON UPDATE CURRENT_TIMESTAMP(0),
`rec_status` tinyint(1) UNSIGNED NULL DEFAULT 0,
PRIMARY KEY (`id`) USING BTREE,
INDEX `signin_basic_index`(`signin_basic_id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '其他签到信息表' ROW_FORMAT = Dynamic;
-- ----------------------------
-- Records of t_mt_signin_other
-- ----------------------------
INSERT INTO `t_mt_signin_other` VALUES (1231070107225165824, 1231070106696683520, 'name', '张野', '2020-02-22 12:16:00', '2020-02-22 12:16:00', 0);
INSERT INTO `t_mt_signin_other` VALUES (1231070107447463936, 1231070106696683520, 'phone', '15335153627', '2020-02-22 12:16:00', '2020-02-22 12:16:00', 0);
INSERT INTO `t_mt_signin_other` VALUES (1231102153569996800, 1231102153360281600, 'name', '冯骏', '2020-02-22 14:23:20', '2020-02-22 14:23:20', 0);
INSERT INTO `t_mt_signin_other` VALUES (1231102153779712000, 1231102153360281600, 'phone', '18603454788', '2020-02-22 14:23:20', '2020-02-22 14:23:20', 0);
INSERT INTO `t_mt_signin_other` VALUES (1232564823984836608, 1232564822109982720, 'name', '冯骏', '2020-02-26 15:15:28', '2020-02-26 15:15:28', 0);
INSERT INTO `t_mt_signin_other` VALUES (1232564824211329024, 1232564822109982720, 'phone', '18603454788', '2020-02-26 15:15:28', '2020-02-26 15:15:28', 0);
INSERT INTO `t_mt_signin_other` VALUES (1232569962481192960, 1232569962258894848, 'name', '张野', '2020-02-26 15:35:53', '2020-02-26 15:35:53', 0);
INSERT INTO `t_mt_signin_other` VALUES (1232569962695102464, 1232569962258894848, 'phone', '15335153627', '2020-02-26 15:35:53', '2020-02-26 15:35:53', 0);
-- ----------------------------
-- Table structure for t_mt_topic
-- ----------------------------
DROP TABLE IF EXISTS `t_mt_topic`;
CREATE TABLE `t_mt_topic` (
`id` bigint(20) NOT NULL,
`description` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT '' COMMENT '题目详情',
`link_type` tinyint(2) UNSIGNED NULL DEFAULT 1 COMMENT '环节类型 1志在必得 2以快制胜 3绝地反击 4你说我猜',
`topic_type` tinyint(2) UNSIGNED NULL DEFAULT 0 COMMENT '题目类型 0选择题单选 1多选题 2判断题 3填空题',
`score_rule` tinyint(1) UNSIGNED NULL DEFAULT 0 COMMENT '计分规则 0正常加分 1答错减分',
`score` int(11) NULL DEFAULT 0 COMMENT '分数',
`sequence` int(11) NULL DEFAULT 0 COMMENT '顺序',
`answers` varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT '0' COMMENT '答案',
`created_at` timestamp(0) NOT NULL DEFAULT current_timestamp(),
`updated_at` timestamp(0) NOT NULL DEFAULT current_timestamp() ON UPDATE CURRENT_TIMESTAMP(0),
`rec_status` tinyint(1) UNSIGNED NULL DEFAULT 0 COMMENT '状态,0正常 1禁用 2删除',
PRIMARY KEY (`id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '题目表' ROW_FORMAT = Dynamic;
-- ----------------------------
-- Records of t_mt_topic
-- ----------------------------
INSERT INTO `t_mt_topic` VALUES (10001, '(多选题)以下哪种情况,公司不报销体检费用', 1, 1, 0, 10, 1, 'B,C,D', '2020-08-14 10:56:36', '2020-08-14 17:26:28', 0);
INSERT INTO `t_mt_topic` VALUES (10002, '(填空题)体检结果的有效期为( )个月。', 1, 3, 0, 10, 2, '6', '2020-08-14 10:57:52', '2020-08-14 17:25:48', 0);
INSERT INTO `t_mt_topic` VALUES (10003, '(填空题)投保人既往长险累积年交保费超过本人年收入的( )%时,此单会进入人工核保。', 1, 3, 0, 10, 3, '20', '2020-08-14 10:57:52', '2020-08-15 21:48:21', 0);
INSERT INTO `t_mt_topic` VALUES (10004, '(判断题)我公司可以接受客户自行提供的晚于投保日期的体检报告。', 1, 2, 0, 10, 4, 'F', '2020-08-14 10:57:52', '2020-08-14 17:25:21', 0);
INSERT INTO `t_mt_topic` VALUES (10005, '(单选题)早产儿是指孕周不超过( )的胎儿', 1, 0, 0, 10, 5, 'C', '2020-08-14 10:57:52', '2020-08-14 17:23:51', 0);
INSERT INTO `t_mt_topic` VALUES (10006, '(填空题)满期金和各种年金给付作业的申请资格人为( )。', 1, 3, 0, 10, 6, '被保险人', '2020-08-14 10:57:52', '2020-08-14 17:25:48', 0);
INSERT INTO `t_mt_topic` VALUES (10007, '(单选题)保单中不允许更换的是( )', 1, 0, 0, 10, 7, 'B', '2020-08-14 10:57:52', '2020-08-14 17:24:00', 0);
INSERT INTO `t_mt_topic` VALUES (10008, '(单选题)某金鼎富贵两全保险,投保人身故后,其继承人委托其中一子女申请保单退保,系统中应录入申请类型为( )', 1, 0, 0, 10, 8, 'A', '2020-08-14 10:57:52', '2020-08-14 17:24:05', 0);
INSERT INTO `t_mt_topic` VALUES (10009, '(填空题)当客户提供原账户申请退保业务时,线上保全支持退费金额( )万元及以下的业务。', 1, 3, 0, 10, 9, '50', '2020-08-14 10:57:52', '2020-08-14 17:25:48', 0);
INSERT INTO `t_mt_topic` VALUES (10010, '(填空题)人保E通操作“个险新增附加险”要求主险为( )。', 1, 3, 0, 10, 10, '无忧人生重大疾病保险或无忧一生重大疾病保险', '2020-08-14 10:57:52', '2020-08-14 17:25:48', 0);
INSERT INTO `t_mt_topic` VALUES (10011, '(单选题)理赔人员根据保险金申请人提供的索赔资料,结合投保单、健康告知、财务告知、体检资料、保单变更情况和既往赔付情况,对赔案进行审核,作出理赔结论并确定赔付金额,我们把这一过程称为( )。', 1, 0, 0, 10, 11, 'D ', '2020-08-14 10:57:52', '2020-08-14 17:24:19', 0);
INSERT INTO `t_mt_topic` VALUES (10012, '(单选题)被保险人在保险合同成立或者合同效力恢复之日起( )内自杀,但被保险人自杀时为无民事行为能力人的除外。', 1, 0, 0, 10, 12, 'B', '2020-08-14 10:57:52', '2020-08-14 17:24:22', 0);
INSERT INTO `t_mt_topic` VALUES (10013, '(判断题)暂时丧失全部或部分劳动能力、身体器官机能,不被认为是残疾。', 1, 2, 0, 10, 13, 'T', '2020-08-14 10:57:53', '2020-08-14 17:25:21', 0);
INSERT INTO `t_mt_topic` VALUES (10014, '(填空题)VIP星级客户,定级保费达到( )万元及以上的投保人或其名下有效保单的被保险人可享受重疾绿通服务。', 1, 3, 0, 10, 14, '2', '2020-08-14 10:57:53', '2020-08-14 17:25:48', 0);
INSERT INTO `t_mt_topic` VALUES (10015, '(多选题)以下哪种情况属于客户信息不真实( )', 1, 1, 0, 10, 15, 'A,B,C,D', '2020-08-14 10:57:53', '2020-08-14 17:25:04', 0);
INSERT INTO `t_mt_topic` VALUES (10016, '(多选题)人身险风险保额是以下哪些风险保额的合计:', 2, 1, 1, 10, 1, 'A,C', '2020-08-14 12:42:56', '2020-08-14 17:30:35', 0);
INSERT INTO `t_mt_topic` VALUES (10017, '(多选题)核保的意义是什么:', 2, 1, 1, 10, 2, 'A,B,C,D', '2020-08-14 12:42:57', '2020-08-14 17:30:35', 0);
INSERT INTO `t_mt_topic` VALUES (10018, '(填空题)巨大儿是指体重超过( )kg的胎儿。', 2, 3, 1, 10, 3, '4', '2020-08-14 12:42:57', '2020-08-14 17:30:35', 0);
INSERT INTO `t_mt_topic` VALUES (10019, '(判断题)我公司不接受现已在国外的人员投保。', 2, 2, 1, 10, 4, 'T', '2020-08-14 12:42:57', '2020-08-14 17:30:35', 0);
INSERT INTO `t_mt_topic` VALUES (10020, '(多选题)变更投保人时,须由( )在申请书上亲笔签字。', 2, 1, 1, 10, 5, 'A,B,C', '2020-08-14 12:42:57', '2020-08-14 17:30:35', 0);
INSERT INTO `t_mt_topic` VALUES (10021, '(多选题)团单退保应被文件包括( )', 2, 1, 1, 10, 6, 'A,B,C,D', '2020-08-14 12:42:57', '2020-08-14 17:30:35', 0);
INSERT INTO `t_mt_topic` VALUES (10022, '(判断题)某客户于2019年10月份购买我公司《人保寿险无忧人生2019重大疾病保险》保险金额30万元,缴费期间为20年,现客户申请将缴费期间变更为19年,客户需补交一部分保费。', 2, 2, 1, 10, 7, 'T', '2020-08-14 12:42:57', '2020-08-14 17:30:35', 0);
INSERT INTO `t_mt_topic` VALUES (10023, '(单选题)韩某作为投保人给子女投保无忧人生保险,由于未按时缴费导致保单进入停效状态,现韩某爱人想要变更投保人后由其进行继续缴费,下列说法正确的是( )。', 2, 0, 1, 10, 8, 'B', '2020-08-14 12:42:57', '2020-08-14 17:30:35', 0);
INSERT INTO `t_mt_topic` VALUES (10024, '(多选题)下列有关人身保险合同中受益人的描述,正确的为( )', 2, 1, 1, 10, 9, 'A,D', '2020-08-14 12:42:57', '2020-08-14 17:30:35', 0);
INSERT INTO `t_mt_topic` VALUES (10025, '(判断题)停效状态的保单可通过微信或者APP在线申请“保单联系资料变更”。', 2, 2, 1, 10, 10, 'T', '2020-08-14 12:42:57', '2020-08-14 17:30:35', 0);
INSERT INTO `t_mt_topic` VALUES (10026, '(单选题)怀孕7个月(28周)以上孕妇的投保要求,以下哪个是正确的:', 2, 0, 1, 10, 11, 'C', '2020-08-14 12:42:57', '2020-08-14 17:30:35', 0);
INSERT INTO `t_mt_topic` VALUES (10027, '(多选题)以下哪些情况需提交再保临分:', 2, 1, 1, 10, 12, 'A,B,C,D', '2020-08-14 12:42:57', '2020-08-14 17:30:35', 0);
INSERT INTO `t_mt_topic` VALUES (10028, '(多选题)核保结论的类型包括以下哪些:', 2, 1, 1, 10, 13, 'A,B,C,D', '2020-08-14 12:42:57', '2020-08-14 17:30:35', 0);
INSERT INTO `t_mt_topic` VALUES (10029, '(填空题)未成年人的免体检限额最高为( )万元。', 2, 3, 1, 10, 14, '70', '2020-08-14 12:42:57', '2020-08-14 17:30:35', 0);
INSERT INTO `t_mt_topic` VALUES (10030, '(单选题)下列哪一项不属于心理障碍( )。', 2, 0, 1, 10, 15, 'D', '2020-08-14 12:42:57', '2020-08-14 17:30:35', 0);
INSERT INTO `t_mt_topic` VALUES (10031, '(单选题)重大疾病的理赔申请人一般是( )。', 2, 0, 1, 10, 16, 'D', '2020-08-14 12:42:58', '2020-08-14 17:30:35', 0);
INSERT INTO `t_mt_topic` VALUES (10032, '(单选题)某人投保人身意外伤害保险一份,保险金额为100万元,在保险期间内发生意外伤害致残,之后,经有关部门鉴定,被保险人的伤残程度为10%,则保险人给付的保险金额是( )', 2, 0, 1, 10, 17, 'A', '2020-08-14 12:42:58', '2020-08-14 17:30:35', 0);
INSERT INTO `t_mt_topic` VALUES (10033, '(填空题)《保险法》第十六条规定,合同解除权,自保险人知道解除事由之日起,超过( )日不行使而消灭。', 2, 3, 1, 10, 18, '30', '2020-08-14 12:42:58', '2020-08-14 17:30:35', 0);
INSERT INTO `t_mt_topic` VALUES (10034, '(单选题)我公司VIP星级客户分为( )个等级。', 2, 0, 1, 10, 19, 'D', '2020-08-14 12:42:58', '2020-08-14 17:30:35', 0);
INSERT INTO `t_mt_topic` VALUES (10035, '(填空题)VIP客户享有增值服务权益有效期为( )年,申请服务权益以客户申请服务时的当前级别为准。', 2, 3, 1, 10, 20, '', '2020-08-14 12:42:58', '2020-08-14 17:30:35', 0);
INSERT INTO `t_mt_topic` VALUES (10036, '(填空题)人保的企业愿景是( )', 3, 3, 1, 20, 1, '做人民信赖的卓越品牌', '2020-08-14 12:44:06', '2020-08-14 17:25:48', 0);
INSERT INTO `t_mt_topic` VALUES (10037, '(单选题)办理减额交清后,投保人以后继续享有的权益为( )', 3, 0, 1, 20, 2, 'D', '2020-08-14 12:44:06', '2020-08-14 17:24:41', 0);
INSERT INTO `t_mt_topic` VALUES (10038, '(多选题)脑中风后遗症的人,可能完全丧失自主生活能力,无法独立完成六项基本日常生活活动中的三项或三项以上。下列属于六项基本日常生活活动的有( )。', 3, 1, 1, 20, 3, 'A,B,C,D,E', '2020-08-14 12:44:06', '2020-08-14 17:25:04', 0);
INSERT INTO `t_mt_topic` VALUES (10039, '(多选题)哪些职业人员投保时,需要进一步提供财务问卷,核实收入来源:', 3, 1, 1, 30, 4, 'A,B,C,D', '2020-08-14 12:46:39', '2020-08-14 17:25:04', 0);
INSERT INTO `t_mt_topic` VALUES (10040, '(单选题)下列关于先天性疾病与遗传疾病说法不正确的是( )。', 3, 0, 1, 30, 5, 'C', '2020-08-14 12:46:56', '2020-08-14 17:24:44', 0);
INSERT INTO `t_mt_topic` VALUES (10041, '(多选题)以下属于《中国人民人寿保险股份有限公司山西省分公司保险销售从业人员诚信品质综合评价管理办法》中一般失信行为的是( )', 3, 1, 1, 30, 6, 'A,B,C,D', '2020-08-14 12:46:56', '2020-08-14 17:25:04', 0);
INSERT INTO `t_mt_topic` VALUES (10042, '(多选题)对于烧伤深度,目前临床上普遍采用三度四分法,即根据烧伤的深度分为( )。', 3, 1, 1, 50, 7, 'A,B,C,E', '2020-08-14 12:46:56', '2020-08-14 17:25:04', 0);
INSERT INTO `t_mt_topic` VALUES (10043, '(填空题)巴总在年度工作会上提出的四强的经营理念分别是( )、( )、( )、( )。', 3, 3, 1, 50, 8, '强队伍,强管理,强合规,强服务', '2020-08-14 12:46:56', '2020-08-14 17:25:48', 0);
INSERT INTO `t_mt_topic` VALUES (10044, '(填空题)集团一体化柜面要达到“三个统一”,“三个统一”分别是( )、( )、( )。', 3, 3, 1, 50, 9, '统一形象,统一服务,统一标识', '2020-08-14 12:46:56', '2020-08-14 17:25:48', 0);
INSERT INTO `t_mt_topic` VALUES (10045, '保单利益', 4, 4, 0, 5, 1, '', '2020-08-14 17:43:55', '2020-08-14 17:43:55', 0);
INSERT INTO `t_mt_topic` VALUES (10046, '盲人摸象', 4, 4, 0, 5, 2, '', '2020-08-14 17:43:55', '2020-08-14 17:43:55', 0);
INSERT INTO `t_mt_topic` VALUES (10047, '党员', 4, 4, 0, 5, 3, '', '2020-08-14 17:43:55', '2020-08-14 17:43:55', 0);
INSERT INTO `t_mt_topic` VALUES (10048, '瑜伽', 4, 4, 0, 5, 4, '', '2020-08-14 17:43:55', '2020-08-14 17:43:55', 0);
INSERT INTO `t_mt_topic` VALUES (10049, '酸辣粉', 4, 4, 0, 5, 5, '', '2020-08-14 17:43:55', '2020-08-14 17:43:55', 0);
INSERT INTO `t_mt_topic` VALUES (10050, '身份证', 4, 4, 0, 5, 6, '', '2020-08-14 17:43:55', '2020-08-14 17:43:55', 0);
INSERT INTO `t_mt_topic` VALUES (10051, '朝三暮四', 4, 4, 0, 5, 7, '', '2020-08-14 17:43:55', '2020-08-14 17:43:55', 0);
INSERT INTO `t_mt_topic` VALUES (10052, '开门红', 4, 4, 0, 5, 8, '', '2020-08-14 17:43:55', '2020-08-14 17:43:55', 0);
INSERT INTO `t_mt_topic` VALUES (10053, '客户服务', 4, 4, 0, 5, 9, '', '2020-08-14 17:43:55', '2020-08-14 18:35:02', 0);
INSERT INTO `t_mt_topic` VALUES (10054, '从严治党', 4, 4, 0, 5, 10, '', '2020-08-14 17:43:55', '2020-08-14 18:35:05', 0);
INSERT INTO `t_mt_topic` VALUES (10055, '现金价值', 4, 4, 0, 5, 11, '', '2020-08-14 18:31:51', '2020-08-15 13:55:55', 0);
INSERT INTO `t_mt_topic` VALUES (10056, '抱头鼠窜', 4, 4, 0, 5, 12, '', '2020-08-14 18:31:51', '2020-08-15 13:55:55', 0);
INSERT INTO `t_mt_topic` VALUES (10057, '群众', 4, 4, 0, 5, 13, '', '2020-08-14 18:31:51', '2020-08-15 13:55:55', 0);
INSERT INTO `t_mt_topic` VALUES (10058, '羽毛球', 4, 4, 0, 5, 14, '', '2020-08-14 18:31:51', '2020-08-15 13:55:55', 0);
INSERT INTO `t_mt_topic` VALUES (10059, '麻婆豆腐', 4, 4, 0, 5, 15, '', '2020-08-14 18:31:51', '2020-08-15 13:55:55', 0);
INSERT INTO `t_mt_topic` VALUES (10060, '受益人', 4, 4, 0, 5, 16, '', '2020-08-14 18:31:51', '2020-08-15 13:55:55', 0);
INSERT INTO `t_mt_topic` VALUES (10061, '拔刀相助', 4, 4, 0, 5, 17, '', '2020-08-14 18:31:51', '2020-08-15 13:55:55', 0);
INSERT INTO `t_mt_topic` VALUES (10062, '科技赋能', 4, 4, 0, 5, 18, '', '2020-08-14 18:31:51', '2020-08-15 13:55:55', 0);
INSERT INTO `t_mt_topic` VALUES (10063, '增值服务', 4, 4, 0, 5, 19, '', '2020-08-14 18:31:51', '2020-08-15 13:55:55', 0);
INSERT INTO `t_mt_topic` VALUES (10064, '亿元保费投诉量', 4, 4, 0, 5, 20, '', '2020-08-14 18:31:51', '2020-08-15 13:55:55', 0);
INSERT INTO `t_mt_topic` VALUES (10065, '保险合同', 4, 4, 0, 5, 21, '', '2020-08-14 18:31:51', '2020-08-15 13:56:25', 0);
INSERT INTO `t_mt_topic` VALUES (10066, '守株待兔', 4, 4, 0, 5, 22, '', '2020-08-14 18:31:51', '2020-08-15 13:56:25', 0);
INSERT INTO `t_mt_topic` VALUES (10067, '薪水', 4, 4, 0, 5, 23, '', '2020-08-14 18:31:51', '2020-08-15 13:56:25', 0);
INSERT INTO `t_mt_topic` VALUES (10068, '合同终止', 4, 4, 0, 5, 24, '', '2020-08-14 18:31:51', '2020-08-15 13:56:25', 0);
INSERT INTO `t_mt_topic` VALUES (10069, '榴莲', 4, 4, 0, 5, 25, '', '2020-08-14 18:31:51', '2020-08-15 13:56:25', 0);
INSERT INTO `t_mt_topic` VALUES (10070, '合规', 4, 4, 0, 5, 26, '', '2020-08-14 18:31:51', '2020-08-15 13:56:25', 0);
INSERT INTO `t_mt_topic` VALUES (10071, '过桥米线', 4, 4, 0, 5, 27, '', '2020-08-14 18:31:51', '2020-08-15 13:56:25', 0);
INSERT INTO `t_mt_topic` VALUES (10072, '狼吞虎咽', 4, 4, 0, 5, 28, '', '2020-08-14 18:31:51', '2020-08-15 13:56:25', 0);
INSERT INTO `t_mt_topic` VALUES (10073, '磐石计划', 4, 4, 0, 5, 29, '', '2020-08-14 18:31:52', '2020-08-15 13:56:25', 0);
INSERT INTO `t_mt_topic` VALUES (10074, '理赔出险支付时效', 4, 4, 0, 5, 30, '', '2020-08-14 18:31:52', '2020-08-15 13:56:25', 0);
-- ----------------------------
-- Table structure for t_mt_topic_option
-- ----------------------------
DROP TABLE IF EXISTS `t_mt_topic_option`;
CREATE TABLE `t_mt_topic_option` (
`id` bigint(20) NOT NULL,
`topic_id` bigint(20) NULL DEFAULT 0 COMMENT '题目id',
`contant` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT '' COMMENT '选项内容',
`sequence` int(11) NULL DEFAULT 0 COMMENT '顺序',
`option` varchar(32) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT '' COMMENT '选项',
`created_at` timestamp(0) NOT NULL DEFAULT current_timestamp(),
`updated_at` timestamp(0) NOT NULL DEFAULT current_timestamp() ON UPDATE CURRENT_TIMESTAMP(0),
`rec_status` tinyint(1) UNSIGNED NULL DEFAULT 0 COMMENT '状态,0正常 1禁用 2删除',
PRIMARY KEY (`id`) USING BTREE,
INDEX `topic_index`(`topic_id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '题目选项表' ROW_FORMAT = Dynamic;
-- ----------------------------
-- Records of t_mt_topic_option
-- ----------------------------
INSERT INTO `t_mt_topic_option` VALUES (100011, 10001, '保单承保并过犹豫期后', 1, 'A', '2020-08-14 10:56:36', '2020-08-14 10:56:36', 0);
INSERT INTO `t_mt_topic_option` VALUES (100012, 10001, '客户自行增加体检项目', 2, 'B', '2020-08-14 10:56:36', '2020-08-14 10:56:36', 0);
INSERT INTO `t_mt_topic_option` VALUES (100013, 10001, '由我公司下发体检,体检完毕后延期的保单', 3, 'C', '2020-08-14 10:56:36', '2020-08-14 10:56:36', 0);
INSERT INTO `t_mt_topic_option` VALUES (100014, 10001, '申请复效达标体检完成后,继续标体承保的', 4, 'D', '2020-08-14 10:56:36', '2020-08-14 10:56:36', 0);
INSERT INTO `t_mt_topic_option` VALUES (100051, 10005, '28周', 1, 'A', '2020-08-14 10:57:52', '2020-08-14 10:57:52', 0);
INSERT INTO `t_mt_topic_option` VALUES (100052, 10005, '36周', 2, 'B', '2020-08-14 10:57:52', '2020-08-14 10:57:52', 0);
INSERT INTO `t_mt_topic_option` VALUES (100053, 10005, '37周', 3, 'C', '2020-08-14 10:57:52', '2020-08-14 10:57:52', 0);
INSERT INTO `t_mt_topic_option` VALUES (100054, 10005, '40周', 4, 'D', '2020-08-14 10:57:52', '2020-08-14 10:57:52', 0);
INSERT INTO `t_mt_topic_option` VALUES (100071, 10007, '投保人', 1, 'A', '2020-08-14 10:57:52', '2020-08-14 10:57:52', 0);
INSERT INTO `t_mt_topic_option` VALUES (100072, 10007, '被保险人', 2, 'B', '2020-08-14 10:57:52', '2020-08-14 10:57:52', 0);
INSERT INTO `t_mt_topic_option` VALUES (100073, 10007, '受益人', 3, 'C', '2020-08-14 10:57:52', '2020-08-14 10:57:52', 0);
INSERT INTO `t_mt_topic_option` VALUES (100074, 10007, '保全申请人', 4, 'D', '2020-08-14 10:57:52', '2020-08-14 10:57:52', 0);
INSERT INTO `t_mt_topic_option` VALUES (100081, 10008, '继承人', 1, 'A', '2020-08-14 10:57:52', '2020-08-14 10:57:52', 0);
INSERT INTO `t_mt_topic_option` VALUES (100082, 10008, '投保人', 2, 'B', '2020-08-14 10:57:52', '2020-08-14 10:57:52', 0);
INSERT INTO `t_mt_topic_option` VALUES (100083, 10008, '受益人', 3, 'C', '2020-08-14 10:57:52', '2020-08-14 10:57:52', 0);
INSERT INTO `t_mt_topic_option` VALUES (100084, 10008, '受托人', 4, 'D', '2020-08-14 10:57:52', '2020-08-16 08:47:03', 0);
INSERT INTO `t_mt_topic_option` VALUES (100111, 10011, '理赔报案', 1, 'A', '2020-08-14 10:57:52', '2020-08-14 10:57:52', 0);
INSERT INTO `t_mt_topic_option` VALUES (100112, 10011, '理赔受理', 2, 'B', '2020-08-14 10:57:52', '2020-08-14 10:57:52', 0);
INSERT INTO `t_mt_topic_option` VALUES (100113, 10011, '理赔调查', 3, 'C', '2020-08-14 10:57:52', '2020-08-14 10:57:52', 0);
INSERT INTO `t_mt_topic_option` VALUES (100114, 10011, '理赔审核', 4, 'D', '2020-08-14 10:57:52', '2020-08-14 10:57:52', 0);
INSERT INTO `t_mt_topic_option` VALUES (100121, 10012, '1年', 1, 'A', '2020-08-14 10:57:52', '2020-08-14 10:57:52', 0);
INSERT INTO `t_mt_topic_option` VALUES (100122, 10012, '2年', 2, 'B', '2020-08-14 10:57:52', '2020-08-14 10:57:52', 0);
INSERT INTO `t_mt_topic_option` VALUES (100123, 10012, '3年', 3, 'C', '2020-08-14 10:57:52', '2020-08-14 10:57:52', 0);
INSERT INTO `t_mt_topic_option` VALUES (100124, 10012, '5年', 4, 'D', '2020-08-14 10:57:52', '2020-08-14 10:57:52', 0);
INSERT INTO `t_mt_topic_option` VALUES (100151, 10015, '投保时,被保险人用自己配偶的联系电话', 1, 'A', '2020-08-14 10:57:53', '2020-08-14 10:57:53', 0);
INSERT INTO `t_mt_topic_option` VALUES (100152, 10015, '非自保件用销售人员的联系电话', 2, 'B', '2020-08-14 10:57:53', '2020-08-14 10:57:53', 0);
INSERT INTO `t_mt_topic_option` VALUES (100153, 10015, '客户办理保全时留存的联系电话与核心系统不一致,客户可以不进行变更', 3, 'C', '2020-08-14 10:57:53', '2020-08-14 10:57:53', 0);
INSERT INTO `t_mt_topic_option` VALUES (100154, 10015, '投、被保人申请理赔案件时留存的联系电话与核心系统不一致,客户可以不进行变更', 4, 'D', '2020-08-14 10:57:53', '2020-08-14 10:57:53', 0);
INSERT INTO `t_mt_topic_option` VALUES (100161, 10016, '寿险风险保额', 1, 'A', '2020-08-14 12:42:56', '2020-08-14 12:42:56', 0);
INSERT INTO `t_mt_topic_option` VALUES (100162, 10016, '重疾险风险保额', 2, 'B', '2020-08-14 12:42:56', '2020-08-14 12:42:56', 0);
INSERT INTO `t_mt_topic_option` VALUES (100163, 10016, '意外险风险保额', 3, 'C', '2020-08-14 12:42:56', '2020-08-14 12:42:56', 0);
INSERT INTO `t_mt_topic_option` VALUES (100164, 10016, '医疗险风险保额', 4, 'D', '2020-08-14 12:42:57', '2020-08-14 12:42:57', 0);
INSERT INTO `t_mt_topic_option` VALUES (100171, 10017, '公平对待保单持有人', 1, 'A', '2020-08-14 12:42:57', '2020-08-14 12:42:57', 0);
INSERT INTO `t_mt_topic_option` VALUES (100172, 10017, '保持竞争力', 2, 'B', '2020-08-14 12:42:57', '2020-08-14 12:42:57', 0);
INSERT INTO `t_mt_topic_option` VALUES (100173, 10017, '防止逆选择', 3, 'C', '2020-08-14 12:42:57', '2020-08-14 12:42:57', 0);
INSERT INTO `t_mt_topic_option` VALUES (100174, 10017, '尽可能扩大承保人群范围', 4, 'D', '2020-08-14 12:42:57', '2020-08-14 12:42:57', 0);
INSERT INTO `t_mt_topic_option` VALUES (100201, 10020, '原投保人', 1, 'A', '2020-08-14 12:42:57', '2020-08-14 12:42:57', 0);
INSERT INTO `t_mt_topic_option` VALUES (100202, 10020, '被保险人', 2, 'B', '2020-08-14 12:42:57', '2020-08-14 12:42:57', 0);
INSERT INTO `t_mt_topic_option` VALUES (100203, 10020, '新投保人', 3, 'C', '2020-08-14 12:42:57', '2020-08-14 12:42:57', 0);
INSERT INTO `t_mt_topic_option` VALUES (100204, 10020, '受益人', 4, 'D', '2020-08-14 12:42:57', '2020-08-14 12:42:57', 0);
INSERT INTO `t_mt_topic_option` VALUES (100211, 10021, '保险合同', 1, 'A', '2020-08-14 12:42:57', '2020-08-14 12:42:57', 0);
INSERT INTO `t_mt_topic_option` VALUES (100212, 10021, '团体保险合同解除申请书', 2, 'B', '2020-08-14 12:42:57', '2020-08-14 12:42:57', 0);
INSERT INTO `t_mt_topic_option` VALUES (100213, 10021, '投保人身份证明文件及经办人身份证件', 3, 'C', '2020-08-14 12:42:57', '2020-08-14 12:42:57', 0);
INSERT INTO `t_mt_topic_option` VALUES (100214, 10021, '被保险人知悉合同解除的有效证明', 4, 'D', '2020-08-14 12:42:57', '2020-08-14 12:42:57', 0);
INSERT INTO `t_mt_topic_option` VALUES (100231, 10023, '需要原投保人申请复效后再办理投保人变更 ', 1, 'A', '2020-08-14 12:42:57', '2020-08-14 12:42:57', 0);
INSERT INTO `t_mt_topic_option` VALUES (100232, 10023, '无需复效可以直接申请投保人变更', 2, 'B', '2020-08-14 12:42:57', '2020-08-14 12:42:57', 0);
INSERT INTO `t_mt_topic_option` VALUES (100233, 10023, '变更投保人时无需被保险人签名同意', 3, 'C', '2020-08-14 12:42:57', '2020-08-14 12:42:57', 0);
INSERT INTO `t_mt_topic_option` VALUES (100234, 10023, '变更投保人时只需新投保人亲自来柜面申请', 4, 'D', '2020-08-14 12:42:57', '2020-08-14 12:42:57', 0);
INSERT INTO `t_mt_topic_option` VALUES (100241, 10024, '受益人可以为一人或者数人', 1, 'A', '2020-08-14 12:42:57', '2020-08-14 12:42:57', 0);
INSERT INTO `t_mt_topic_option` VALUES (100242, 10024, '受益人只能由投保人单独指定', 2, 'B', '2020-08-14 12:42:57', '2020-08-14 12:42:57', 0);
INSERT INTO `t_mt_topic_option` VALUES (100243, 10024, '投保人可以单独变更受益人,而不须经被保险人同意', 3, 'C', '2020-08-14 12:42:57', '2020-08-14 12:42:57', 0);
INSERT INTO `t_mt_topic_option` VALUES (100244, 10024, '受益人先于被保险人死亡的且无其他受益人的,保险金作为被保险人的遗产由其继承人继承', 4, 'D', '2020-08-14 12:42:57', '2020-08-14 12:42:57', 0);
INSERT INTO `t_mt_topic_option` VALUES (100261, 10026, '需要提供相关的产检报告、围产保健手册', 1, 'A', '2020-08-14 12:42:57', '2020-08-14 12:42:57', 0);
INSERT INTO `t_mt_topic_option` VALUES (100262, 10026, '延期到产后2个月才能考虑投保', 2, 'B', '2020-08-14 12:42:57', '2020-08-14 12:42:57', 0);
INSERT INTO `t_mt_topic_option` VALUES (100263, 10026, '延期到产后1个月才能考虑投保', 3, 'C', '2020-08-14 12:42:57', '2020-08-14 12:42:57', 0);
INSERT INTO `t_mt_topic_option` VALUES (100264, 10026, '按照正常保单处理', 4, 'D', '2020-08-14 12:42:57', '2020-08-14 12:42:57', 0);
INSERT INTO `t_mt_topic_option` VALUES (100271, 10027, '未成年人累计重疾保额> 120万', 1, 'A', '2020-08-14 12:42:57', '2020-08-14 12:42:57', 0);
INSERT INTO `t_mt_topic_option` VALUES (100272, 10027, '未成年人投保 18 周岁之前身故返还保费的产品时,累计人身险风险保额> 300 万元。', 2, 'B', '2020-08-14 12:42:57', '2020-08-14 12:42:57', 0);
INSERT INTO `t_mt_topic_option` VALUES (100273, 10027, '成年人累计重疾保额> 150万', 3, 'C', '2020-08-14 12:42:57', '2020-08-14 12:42:57', 0);
INSERT INTO `t_mt_topic_option` VALUES (100274, 10027, '成年人累计人身险风险保额大于>500万元。', 4, 'D', '2020-08-14 12:42:57', '2020-08-14 12:42:57', 0);
INSERT INTO `t_mt_topic_option` VALUES (100281, 10028, '标体通过', 1, 'A', '2020-08-14 12:42:57', '2020-08-14 12:42:57', 0);
INSERT INTO `t_mt_topic_option` VALUES (100282, 10028, '加费承保', 2, 'B', '2020-08-14 12:42:57', '2020-08-14 12:42:57', 0);
INSERT INTO `t_mt_topic_option` VALUES (100283, 10028, '责任免除', 3, 'C', '2020-08-14 12:42:57', '2020-08-14 12:42:57', 0);
INSERT INTO `t_mt_topic_option` VALUES (100284, 10028, '延期或拒保', 4, 'D', '2020-08-14 12:42:57', '2020-08-14 12:42:57', 0);
INSERT INTO `t_mt_topic_option` VALUES (100301, 10030, '强迫症', 1, 'A', '2020-08-14 12:42:58', '2020-08-14 12:42:58', 0);
INSERT INTO `t_mt_topic_option` VALUES (100302, 10030, '焦虑症', 2, 'B', '2020-08-14 12:42:58', '2020-08-14 12:42:58', 0);
INSERT INTO `t_mt_topic_option` VALUES (100303, 10030, '神经衰弱', 3, 'C', '2020-08-14 12:42:58', '2020-08-14 12:42:58', 0);
INSERT INTO `t_mt_topic_option` VALUES (100304, 10030, '精神分裂症', 4, 'D', '2020-08-14 12:42:58', '2020-08-14 12:42:58', 0);
INSERT INTO `t_mt_topic_option` VALUES (100311, 10031, '投保人', 1, 'A', '2020-08-14 12:42:58', '2020-08-14 12:42:58', 0);
INSERT INTO `t_mt_topic_option` VALUES (100312, 10031, '指定受益人', 2, 'B', '2020-08-14 12:42:58', '2020-08-14 12:42:58', 0);
INSERT INTO `t_mt_topic_option` VALUES (100313, 10031, '法定受益人', 3, 'C', '2020-08-14 12:42:58', '2020-08-14 12:42:58', 0);
INSERT INTO `t_mt_topic_option` VALUES (100314, 10031, '被保险人本人', 4, 'D', '2020-08-14 12:42:58', '2020-08-14 12:42:58', 0);
INSERT INTO `t_mt_topic_option` VALUES (100321, 10032, '10万元', 1, 'A', '2020-08-14 12:42:58', '2020-08-14 12:42:58', 0);
INSERT INTO `t_mt_topic_option` VALUES (100322, 10032, '20万元', 2, 'B', '2020-08-14 12:42:58', '2020-08-14 12:42:58', 0);
INSERT INTO `t_mt_topic_option` VALUES (100323, 10032, '90万元', 3, 'C', '2020-08-14 12:42:58', '2020-08-14 12:42:58', 0);
INSERT INTO `t_mt_topic_option` VALUES (100324, 10032, '100万元', 4, 'D', '2020-08-14 12:42:58', '2020-08-14 12:42:58', 0);
INSERT INTO `t_mt_topic_option` VALUES (100341, 10034, '3', 1, 'A', '2020-08-14 12:42:58', '2020-08-14 12:42:58', 0);
INSERT INTO `t_mt_topic_option` VALUES (100342, 10034, '5', 2, 'B', '2020-08-14 12:42:58', '2020-08-14 12:42:58', 0);
INSERT INTO `t_mt_topic_option` VALUES (100343, 10034, '6', 3, 'C', '2020-08-14 12:42:58', '2020-08-14 12:42:58', 0);
INSERT INTO `t_mt_topic_option` VALUES (100344, 10034, '7', 4, 'D', '2020-08-14 12:42:58', '2020-08-14 12:42:58', 0);
INSERT INTO `t_mt_topic_option` VALUES (100371, 10037, '保额变更', 1, 'A', '2020-08-14 12:44:06', '2020-08-14 12:44:06', 0);
INSERT INTO `t_mt_topic_option` VALUES (100372, 10037, '分红', 2, 'B', '2020-08-14 12:44:06', '2020-08-14 12:44:06', 0);
INSERT INTO `t_mt_topic_option` VALUES (100373, 10037, '借款', 3, 'C', '2020-08-14 12:44:06', '2020-08-14 12:44:06', 0);
INSERT INTO `t_mt_topic_option` VALUES (100374, 10037, '挂失补发', 4, 'D', '2020-08-14 12:44:06', '2020-08-14 12:44:06', 0);
INSERT INTO `t_mt_topic_option` VALUES (100381, 10038, '自己能够穿衣及脱衣', 1, 'A', '2020-08-14 12:44:06', '2020-08-14 12:44:06', 0);
INSERT INTO `t_mt_topic_option` VALUES (100382, 10038, '自己从一个房间到另一个房间', 2, 'B', '2020-08-14 12:44:06', '2020-08-14 12:44:06', 0);
INSERT INTO `t_mt_topic_option` VALUES (100383, 10038, '自己上下床或上下轮椅', 3, 'C', '2020-08-14 12:44:07', '2020-08-14 12:44:07', 0);
INSERT INTO `t_mt_topic_option` VALUES (100384, 10038, '自己控制进行大小便', 4, 'D', '2020-08-14 12:44:07', '2020-08-14 12:44:07', 0);
INSERT INTO `t_mt_topic_option` VALUES (100385, 10038, '自己从已准备好的碗或碟中取食物放入口中', 5, 'E', '2020-08-14 12:44:07', '2020-08-14 12:44:07', 0);
INSERT INTO `t_mt_topic_option` VALUES (100391, 10039, '下岗人员', 1, 'A', '2020-08-14 12:46:56', '2020-08-14 12:46:56', 0);
INSERT INTO `t_mt_topic_option` VALUES (100392, 10039, '无业人员', 2, 'B', '2020-08-14 12:46:56', '2020-08-14 12:46:56', 0);
INSERT INTO `t_mt_topic_option` VALUES (100393, 10039, '待业人员', 3, 'C', '2020-08-14 12:46:56', '2020-08-14 12:46:56', 0);
INSERT INTO `t_mt_topic_option` VALUES (100394, 10039, '自营投资业者', 4, 'D', '2020-08-14 12:46:56', '2020-08-14 12:46:56', 0);
INSERT INTO `t_mt_topic_option` VALUES (100401, 10040, '先天性疾病是指出生时已经出现的疾病,它可能是遗传病引起,也可能是因为妊娠早期某些理化和生物因素所致', 1, 'A', '2020-08-14 12:46:56', '2020-08-14 12:46:56', 0);
INSERT INTO `t_mt_topic_option` VALUES (100402, 10040, '遗传性疾病是指因一种或多种遗传基因缺陷导致的疾病,有的在出生时表现出来,也有的随着生长发育表现出来', 2, 'B', '2020-08-14 12:46:56', '2020-08-14 12:46:56', 0);
INSERT INTO `t_mt_topic_option` VALUES (100403, 10040, '先天性疾病与遗传性疾病均涉及环境因素和遗传因素', 3, 'C', '2020-08-14 12:46:56', '2020-08-14 12:46:56', 0);
INSERT INTO `t_mt_topic_option` VALUES (100404, 10040, '存在某些疾病,它们既是先天性又是遗传性疾病', 4, 'D', '2020-08-14 12:46:56', '2020-08-14 12:46:56', 0);
INSERT INTO `t_mt_topic_option` VALUES (100411, 10041, '未按监管和公司规定开展落实保险销售行为可回溯管理工作,或违反相关管理要求。', 1, 'A', '2020-08-14 12:46:56', '2020-08-14 12:46:56', 0);
INSERT INTO `t_mt_topic_option` VALUES (100412, 10041, '诱导、唆使投保人为购买新的保险产品终止保险合同,损害投保人、被保险人或者受益人合法权益;', 2, 'B', '2020-08-14 12:46:56', '2020-08-14 12:46:56', 0);
INSERT INTO `t_mt_topic_option` VALUES (100413, 10041, '营销扰民,在客户明确拒绝投保后干扰客户;', 3, 'C', '2020-08-14 12:46:56', '2020-08-14 12:46:56', 0);
INSERT INTO `t_mt_topic_option` VALUES (100414, 10041, '因不当销售行为或服务行为,引发客户向公司内部投诉;', 4, 'D', '2020-08-14 12:46:56', '2020-08-14 12:46:56', 0);
INSERT INTO `t_mt_topic_option` VALUES (100421, 10042, 'Ⅰ度', 1, 'A', '2020-08-14 12:46:56', '2020-08-14 12:46:56', 0);
INSERT INTO `t_mt_topic_option` VALUES (100422, 10042, '浅Ⅱ度', 2, 'B', '2020-08-14 12:46:56', '2020-08-14 12:46:56', 0);
INSERT INTO `t_mt_topic_option` VALUES (100423, 10042, '深Ⅱ度', 3, 'C', '2020-08-14 12:46:56', '2020-08-14 12:46:56', 0);
INSERT INTO `t_mt_topic_option` VALUES (100424, 10042, '浅Ⅲ度', 4, 'D', '2020-08-14 12:46:56', '2020-08-14 12:46:56', 0);
INSERT INTO `t_mt_topic_option` VALUES (100425, 10042, 'Ⅲ度', 5, 'E', '2020-08-14 12:46:56', '2020-08-14 12:46:56', 0);
-- ----------------------------
-- Table structure for t_mt_vote
-- ----------------------------
DROP TABLE IF EXISTS `t_mt_vote`;
CREATE TABLE `t_mt_vote` (
`id` bigint(20) NOT NULL,
`user_id` bigint(20) NULL DEFAULT 0 COMMENT '用户id',
`group_id` bigint(20) NULL DEFAULT 0 COMMENT '分组id',
`created_at` timestamp(0) NOT NULL DEFAULT current_timestamp(),
`updated_at` timestamp(0) NOT NULL DEFAULT current_timestamp() ON UPDATE CURRENT_TIMESTAMP(0),
`rec_status` tinyint(1) UNSIGNED NULL DEFAULT 0 COMMENT '状态,0正常 1禁用 2删除',
PRIMARY KEY (`id`) USING BTREE,
INDEX `user_index`(`user_id`) USING BTREE,
INDEX `group_index`(`group_id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '投票表' ROW_FORMAT = Dynamic;
-- ----------------------------
-- Records of t_mt_vote
-- ----------------------------
INSERT INTO `t_mt_vote` VALUES (1294558962590552064, 1217651354919636992, 13, '2020-08-15 16:58:03', '2020-08-15 17:03:12', 2);
INSERT INTO `t_mt_vote` VALUES (1294558962594746368, 1217651354919636992, 14, '2020-08-15 16:58:03', '2020-08-15 17:03:12', 2);
INSERT INTO `t_mt_vote` VALUES (1294559005955461120, 1217647686598135808, 15, '2020-08-15 16:58:13', '2020-08-15 17:03:12', 2);
INSERT INTO `t_mt_vote` VALUES (1294559005959655424, 1217647686598135808, 16, '2020-08-15 16:58:13', '2020-08-15 17:03:12', 2);
INSERT INTO `t_mt_vote` VALUES (1294559205847601152, 1218855229722857472, 15, '2020-08-15 16:59:01', '2020-08-15 17:03:12', 2);
INSERT INTO `t_mt_vote` VALUES (1294559205855989760, 1218855229722857472, 14, '2020-08-15 16:59:01', '2020-08-15 17:03:12', 2);
INSERT INTO `t_mt_vote` VALUES (1294559223228796928, 1218025249493356544, 15, '2020-08-15 16:59:05', '2020-08-15 17:03:12', 2);
INSERT INTO `t_mt_vote` VALUES (1294559223232991232, 1218025249493356544, 16, '2020-08-15 16:59:05', '2020-08-15 17:03:12', 2);
INSERT INTO `t_mt_vote` VALUES (1294559542243364864, 1218762175573790720, 12, '2020-08-15 17:00:21', '2020-08-15 17:03:12', 2);
INSERT INTO `t_mt_vote` VALUES (1294559542243364865, 1218762175573790720, 15, '2020-08-15 17:00:21', '2020-08-15 17:03:12', 2);
SET FOREIGN_KEY_CHECKS = 1;

6
pims/src/main/java/com/ccsens/pims/bean/dto/CompanyDto.java

@ -5,6 +5,8 @@ import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import javax.validation.constraints.Max;
import javax.validation.constraints.Min;
import javax.validation.constraints.NotNull;
import java.util.Date;
@ -22,8 +24,12 @@ public class CompanyDto {
private Long projectId;
@ApiModelProperty("年份 默认当前年份")
private int year = DateUtil.year(new Date());
@Min(1)
@Max(12)
@ApiModelProperty("开始月 默认1月")
private int startMonth = 1;
@Min(1)
@Max(12)
@ApiModelProperty("结束月 默认12月")
private int endMonth = 12;
}

14
pims/src/main/java/com/ccsens/pims/persist/dao/ProductDao.java

@ -25,7 +25,7 @@ public interface ProductDao extends ProductMapper {
* @param projectId 产品id
* @return 返回产品的收入信息
*/
List<CompanyVo.ProductIncomeType> queryProductIncome(@Param("projectId")Long projectId,@Param("year")int year,@Param("sMonth")int sMonth,@Param("eMonth")int eMonth);
List<CompanyVo.ProductIncomeType> queryProductIncome(@Param("projectId")Long projectId);
/**
* 查看现金流变动
@ -62,7 +62,7 @@ public interface ProductDao extends ProductMapper {
* @param projectId 项目id
* @return 返回产品的收入信息
*/
List<ProductVo.ProductInfo> queryProductIncomeMonth(@Param("projectId")Long projectId);
List<ProductVo.ProductInfo> queryProductIncomeMonth(@Param("projectId")Long projectId,@Param("year")int year,@Param("sMonth")int sMonth,@Param("eMonth")int eMonth);
/**
* 查找单个产品的收入信息
@ -76,14 +76,14 @@ public interface ProductDao extends ProductMapper {
* @param projectId 项目id
* @return 返回现金流变动信息
*/
List<ProductVo.MoneyFlowType> queryMonthFlow(@Param("projectId")Long projectId);
List<ProductVo.MoneyFlowType> queryMonthFlow(@Param("projectId")Long projectId,@Param("year")int year,@Param("sMonth")int sMonth,@Param("eMonth")int eMonth);
/**
* 查看损益表内容图表时用
* @param projectId 项目id
* @return 损益
*/
List<ProductVo.IncomeType> queryIncome(@Param("projectId")Long projectId);
List<ProductVo.IncomeType> queryIncome(@Param("projectId")Long projectId,@Param("year")int year,@Param("sMonth")int sMonth,@Param("eMonth")int eMonth);
/**
* 查询所有产品全年总收入
@ -91,7 +91,7 @@ public interface ProductDao extends ProductMapper {
* @param year 年份
* @return 返回总收入
*/
CompanyVo.TotalIncome getTotalIncome(@Param("projectId")Long projectId,@Param("year")String year);
CompanyVo.TotalIncome getTotalIncome(@Param("projectId")Long projectId,@Param("year")int year);
/**
* 查找每个月份产品的收入信息
@ -99,7 +99,7 @@ public interface ProductDao extends ProductMapper {
* @param year 年份
* @return 返回每个月的收入
*/
List<CompanyVo.ProductIncomeProportion> queryProductIncomeProportion(@Param("projectId")Long projectId,@Param("year")String year);
List<CompanyVo.ProductIncomeProportion> queryProductIncomeProportion(@Param("projectId")Long projectId,@Param("year")int year,@Param("sMonth")int sMonth,@Param("eMonth")int eMonth);
/**
@ -107,6 +107,6 @@ public interface ProductDao extends ProductMapper {
* @param projectId 项目id
* @return
*/
List<ProductVo.ProductCost> getTotalCost(Long projectId);
List<ProductVo.ProductCost> getTotalCost(@Param("projectId")Long projectId,@Param("year")int year,@Param("sMonth")int sMonth,@Param("eMonth")int eMonth);
}

19
pims/src/main/java/com/ccsens/pims/service/ProductService.java

@ -1,6 +1,5 @@
package com.ccsens.pims.service;
import cn.hutool.core.date.DateUtil;
import com.ccsens.pims.bean.dto.CompanyDto;
import com.ccsens.pims.bean.vo.CompanyVo;
import com.ccsens.pims.bean.vo.ProductVo;
@ -13,7 +12,6 @@ import org.springframework.transaction.annotation.Transactional;
import javax.annotation.Resource;
import java.math.BigDecimal;
import java.util.Date;
import java.util.List;
/**
@ -43,18 +41,19 @@ public class ProductService implements IProductService{
@Override
public List<ProductVo.ProductInfo> queryProductIncome(QueryDto<CompanyDto.Project> params) {
CompanyDto.Project project = params.getParam();
List<ProductVo.ProductInfo> productIncomeMonthList = productDao.queryProductIncomeMonth(project.getProjectId());
List<ProductVo.ProductInfo> productIncomeMonthList = productDao.queryProductIncomeMonth(project.getProjectId(),project.getYear(),project.getStartMonth(),project.getEndMonth());
return productIncomeMonthList;
}
@Override
public List<CompanyVo.ProductIncomeProportion> queryProductIncomeProportion(QueryDto<CompanyDto.Project> params) {
CompanyDto.Project project = params.getParam();
//获取当前年份
String year = DateUtil.format(new Date(),"yyyy");
//先查所有产品出全年总收入
CompanyVo.TotalIncome totalIncome = productDao.getTotalIncome(project.getProjectId(),year);
List<CompanyVo.ProductIncomeProportion> proportionList = productDao.queryProductIncomeProportion(project.getProjectId(),year);
CompanyVo.TotalIncome totalIncome = productDao.getTotalIncome(project.getProjectId(),project.getYear());
//查找每月收入
List<CompanyVo.ProductIncomeProportion> proportionList =
productDao.queryProductIncomeProportion(project.getProjectId(),project.getYear(),project.getStartMonth(),project.getEndMonth());
//计算每月占比
for(CompanyVo.ProductIncomeProportion proportion : proportionList){
BigDecimal predictProportion = BigDecimal.valueOf(proportion.getPredictTotal()).divide(BigDecimal.valueOf(totalIncome.getPredictTotal()), 2, BigDecimal.ROUND_HALF_UP);
proportion.setPredictProportion(predictProportion.multiply(BigDecimal.valueOf(100)).intValue());
@ -67,19 +66,19 @@ public class ProductService implements IProductService{
@Override
public List<ProductVo.ProductCost> getTotalCost(QueryDto<CompanyDto.Project> params) {
CompanyDto.Project project = params.getParam();
List<ProductVo.ProductCost> productCosts = productDao.getTotalCost(project.getProjectId());
List<ProductVo.ProductCost> productCosts = productDao.getTotalCost(project.getProjectId(),project.getYear(),project.getStartMonth(),project.getEndMonth());
return productCosts;
}
@Override
public List<ProductVo.IncomeType> queryIncome(QueryDto<CompanyDto.Project> params) {
CompanyDto.Project project = params.getParam();
return productDao.queryIncome(project.getProjectId());
return productDao.queryIncome(project.getProjectId(),project.getYear(),project.getStartMonth(),project.getEndMonth());
}
@Override
public List<ProductVo.MoneyFlowType> getMonthFlow(QueryDto<CompanyDto.Project> params) {
CompanyDto.Project project = params.getParam();
return productDao.queryMonthFlow(project.getProjectId());
return productDao.queryMonthFlow(project.getProjectId(),project.getYear(),project.getStartMonth(),project.getEndMonth());
}
}

157
pims/src/main/java/com/ccsens/pims/service/ReportService.java

@ -40,19 +40,14 @@ public class ReportService implements IReportService {
@Resource
private TallFeignClient tallFeignClient;
/**
* 产品价格依据表
*/
@Override
public List<String> getProduct(QueryDto<CompanyDto.Project> params) throws Exception {
CompanyDto.Project project = params.getParam();
//查询此任务的报表,有则直接返回
List<String> wpsPath;
Map<String,String> paramsUrl = new HashMap<>();
paramsUrl.put(WebConstant.Wps._W_URL, PropUtil.domain + "read/product");
WpsDto.VisitWpsUrl visitWpsUrl = new WpsDto.VisitWpsUrl();
visitWpsUrl.setBusinessId(project.getProjectId());
visitWpsUrl.setBusinessType((byte) 3);
visitWpsUrl.setUserId(params.getUserId());
visitWpsUrl.setParams(paramsUrl);
wpsPath = tallFeignClient.queryVisitUrls(visitWpsUrl);
List<String> wpsPath = queryVisitUrls("read/product",project.getProjectId(),(byte)3,params.getUserId());
if (CollectionUtil.isNotEmpty(wpsPath)) {
return wpsPath;
}
@ -64,54 +59,44 @@ public class ReportService implements IReportService {
//写入WBS
generateExcelWithWps(project.getProjectId(),(byte)3, params.getUserId(), "价格依据表", product);
//获取wps文件的路径并返回
wpsPath = tallFeignClient.queryVisitUrls(visitWpsUrl);
wpsPath = queryVisitUrls("read/product",project.getProjectId(),(byte)3,params.getUserId());
//添加wps关联信息
return wpsPath;
}
/**
* 查看产值及附加估算表
*/
@Override
public List<String> getProduction(QueryDto<CompanyDto.Project> params) throws Exception {
CompanyDto.Project project = params.getParam();
//查询此任务的报表,有则直接返回
List<String> wpsPath;
Map<String,String> paramsUrl = new HashMap<>();
paramsUrl.put(WebConstant.Wps._W_URL, PropUtil.domain + "read/production");
WpsDto.VisitWpsUrl visitWpsUrl = new WpsDto.VisitWpsUrl();
visitWpsUrl.setBusinessId(project.getProjectId());
visitWpsUrl.setBusinessType((byte) 4);
visitWpsUrl.setUserId(params.getUserId());
visitWpsUrl.setParams(paramsUrl);
wpsPath = tallFeignClient.queryVisitUrls(visitWpsUrl);
if (CollectionUtil.isNotEmpty(wpsPath)) {
return wpsPath;
}
// List<String> wpsPath = queryVisitUrls("read/production",project.getProjectId(),(byte) 4,params.getUserId());
// if (CollectionUtil.isNotEmpty(wpsPath)) {
// return wpsPath;
// }
//从数据库查找产品收入信息
List<CompanyVo.ProductIncomeType> productIncomeTypeList =
productDao.queryProductIncome(project.getProjectId(),project.getYear(),project.getStartMonth(),project.getEndMonth());
productDao.queryProductIncome(project.getProjectId());
//生成excel写入的数据
List<List<PoiUtil.PoiUtilCell>> product = generateProduction(productIncomeTypeList);
//写入WBS
generateExcelWithWps(project.getProjectId(),(byte)4, params.getUserId(), "产值及附加估算表", product);
//获取wps文件的路径并返回
wpsPath = tallFeignClient.queryVisitUrls(visitWpsUrl);
//添加wps关联信息
return wpsPath;
// wpsPath = queryVisitUrls("read/production",project.getProjectId(),(byte) 4,params.getUserId());
// //添加wps关联信息
// return wpsPath;
return null;
}
/**
* 查看总成本费用估算表
*/
@Override
public List<String> getCost(QueryDto<CompanyDto.Project> params)throws Exception {
CompanyDto.Project project = params.getParam();
//查询此任务的报表,有则直接返回
List<String> wpsPath;
Map<String,String> paramsUrl = new HashMap<>();
paramsUrl.put(WebConstant.Wps._W_URL, PropUtil.domain + "read/cost");
WpsDto.VisitWpsUrl visitWpsUrl = new WpsDto.VisitWpsUrl();
visitWpsUrl.setBusinessId(project.getProjectId());
visitWpsUrl.setBusinessType((byte) 5);
visitWpsUrl.setUserId(params.getUserId());
visitWpsUrl.setParams(paramsUrl);
wpsPath = tallFeignClient.queryVisitUrls(visitWpsUrl);
List<String> wpsPath = queryVisitUrls("read/cost",project.getProjectId(),(byte) 5,params.getUserId());
if (CollectionUtil.isNotEmpty(wpsPath)) {
return wpsPath;
}
@ -124,25 +109,19 @@ public class ReportService implements IReportService {
//写入WBS
generateExcelWithWps(project.getProjectId(), (byte)5, params.getUserId(), "产品成本费用估算表", cost);
//获取wps文件的路径并返回
wpsPath = tallFeignClient.queryVisitUrls(visitWpsUrl);
wpsPath = queryVisitUrls("read/cost",project.getProjectId(),(byte) 5,params.getUserId());
//添加wps关联信息
return wpsPath;
}
/**
* 查看损益表表
*/
@Override
public List<String> getIncome(QueryDto<CompanyDto.Project> params) throws Exception {
CompanyDto.Project project = params.getParam();
//查询此任务的报表,有则直接返回
List<String> wpsPath;
Map<String,String> paramsUrl = new HashMap<>();
paramsUrl.put(WebConstant.Wps._W_URL, PropUtil.domain + "read/income");
WpsDto.VisitWpsUrl visitWpsUrl = new WpsDto.VisitWpsUrl();
visitWpsUrl.setBusinessId(project.getProjectId());
visitWpsUrl.setBusinessType((byte)6);
visitWpsUrl.setUserId(params.getUserId());
visitWpsUrl.setParams(paramsUrl);
wpsPath = tallFeignClient.queryVisitUrls(visitWpsUrl);
List<String> wpsPath = queryVisitUrls("read/income",project.getProjectId(),(byte) 6,params.getUserId());
if (CollectionUtil.isNotEmpty(wpsPath)) {
return wpsPath;
}
@ -152,25 +131,19 @@ public class ReportService implements IReportService {
//写入WBS
generateExcelWithWps(project.getProjectId(),(byte)6, params.getUserId(), "损益表", product);
//获取wps文件的路径并返回
wpsPath = tallFeignClient.queryVisitUrls(visitWpsUrl);
wpsPath = queryVisitUrls("read/income",project.getProjectId(),(byte) 6,params.getUserId());
//添加wps关联信息
return wpsPath;
}
/**
* 查看现金流表
*/
@Override
public List<String> getMoney(QueryDto<CompanyDto.Project> params) throws Exception {
CompanyDto.Project project = params.getParam();
//查询此任务的报表,有则直接返回
List<String> wpsPath;
Map<String,String> paramsUrl = new HashMap<>();
paramsUrl.put(WebConstant.Wps._W_URL, PropUtil.domain + "read/money");
WpsDto.VisitWpsUrl visitWpsUrl = new WpsDto.VisitWpsUrl();
visitWpsUrl.setBusinessId(project.getProjectId());
visitWpsUrl.setBusinessType((byte) 7);
visitWpsUrl.setUserId(params.getUserId());
visitWpsUrl.setParams(paramsUrl);
wpsPath = tallFeignClient.queryVisitUrls(visitWpsUrl);
List<String> wpsPath = queryVisitUrls("read/money",project.getProjectId(),(byte) 7,params.getUserId());
if (CollectionUtil.isNotEmpty(wpsPath)) {
return wpsPath;
}
@ -181,14 +154,34 @@ public class ReportService implements IReportService {
//写入WBS
generateExcelWithWps(project.getProjectId(),(byte) 7, params.getUserId(), "现金流表", product);
//获取wps文件的路径并返回
wpsPath = tallFeignClient.queryVisitUrls(visitWpsUrl);
wpsPath = queryVisitUrls("read/money",project.getProjectId(),(byte) 7,params.getUserId());
//添加wps关联信息
return wpsPath;
}
/**
* 查询wps文件访问路径
* @param wUrl 回调接口的路径
* @param businessId 业务id
* @param businessType 业务类型
* @param userId userId
* @return 返回文件访问路径
*/
private List<String> queryVisitUrls(String wUrl,Long businessId,byte businessType,Long userId){
List<String> wpsPath;
Map<String,String> paramsUrl = new HashMap<>();
paramsUrl.put(WebConstant.Wps._W_URL, PropUtil.domain + wUrl);
WpsDto.VisitWpsUrl visitWpsUrl = new WpsDto.VisitWpsUrl();
visitWpsUrl.setBusinessId(businessId);
visitWpsUrl.setBusinessType(businessType);
visitWpsUrl.setUserId(userId);
visitWpsUrl.setParams(paramsUrl);
wpsPath = tallFeignClient.queryVisitUrls(visitWpsUrl);
return wpsPath;
}
/**
* 生成excel文件并关联wps
*
* @param businessId 业务类型id任务id
* @param userId userId
* @param sheetName 生成的excel文件的名字和sheet名字
@ -209,22 +202,21 @@ public class ReportService implements IReportService {
OutputStream stream = new FileOutputStream(tmpFile);
wb.write(stream);
stream.close();
//关联wps
WpsDto.Business business = new WpsDto.Business();
business.setBusinessId(businessId);
business.setBusinessType(businessType);
business.setUserId(userId);
business.setFileName(name);
business.setFilePath(fileName);
business.setFileSize(tmpFile.length());
business.setOperation(WebConstant.Wps.USER_OPERATION_NEW);
business.setPrivilege(WebConstant.Wps.PROJECT_PRIVILEGE_WRITE);
tallFeignClient.saveWpsFile(business);
// //关联wps
// WpsDto.Business business = new WpsDto.Business();
// business.setBusinessId(businessId);
// business.setBusinessType(businessType);
// business.setUserId(userId);
// business.setFileName(name);
// business.setFilePath(fileName);
// business.setFileSize(tmpFile.length());
// business.setOperation(WebConstant.Wps.USER_OPERATION_NEW);
// business.setPrivilege(WebConstant.Wps.PROJECT_PRIVILEGE_WRITE);
// tallFeignClient.saveWpsFile(business);
}
/**
* 价格依据表的写入数据
*
* @param productTypeList 价格依据数据
* @return 返回写入数据
*/
@ -274,7 +266,6 @@ public class ReportService implements IReportService {
/**
* 产值及附加估算表
*
* @param productIncomeTypeList 收入数据
* @return 返回需写入的数据
*/
@ -353,21 +344,7 @@ public class ReportService implements IReportService {
product3.add(new PoiUtil.PoiUtilCell());
}
}
// if (CollectionUtil.isNotEmpty(productIncomeAll.getProductIncomeList())) {
// for (CompanyVo.ProductIncome income : productIncomeAll.getProductIncomeList()) {
// product1.add(new PoiUtil.PoiUtilCell(income.getPredictIncome().toString()));
// product2.add(new PoiUtil.PoiUtilCell(income.getRealIncome().toString()));
// BigDecimal bias = income.getRealIncome().subtract(income.getPredictIncome()).
// divide(income.getPredictIncome(), 2, BigDecimal.ROUND_HALF_UP).multiply(BigDecimal.valueOf(100));
// product3.add(new PoiUtil.PoiUtilCell(bias.toString() + "%"));
// totalProductIncome = totalProductIncome.add(income.getPredictIncome());
// totalRealIncome = totalRealIncome.add(income.getRealIncome());
// }
// }else {
// product1.add(new PoiUtil.PoiUtilCell());
// product2.add(new PoiUtil.PoiUtilCell());
// product3.add(new PoiUtil.PoiUtilCell());
// }
product1.add(new PoiUtil.PoiUtilCell(totalProductIncome.toString()));
product2.add(new PoiUtil.PoiUtilCell(totalRealIncome.toString()));
if(totalProductIncome.multiply(BigDecimal.valueOf(100)).intValue() != 0){
@ -386,6 +363,10 @@ public class ReportService implements IReportService {
}
}
});
// //添加收入总计
// List<PoiUtil.PoiUtilCell> totalProduct = new ArrayList<>();
// totalProduct.add(new PoiUtil.PoiUtilCell(productIncome.getProductTypeName()));
// list.add(product);
}
return list;

37
pims/src/main/resources/mapper_dao/ProducrDao.xml

@ -241,6 +241,12 @@
(cl.rec_status = 0 or cl.rec_status is null)
and
cl.product_cost = 0
and
cl.year_time = #{year}
and
cl.month_time &gt;= #{sMonth}
and
cl.month_time &lt;= #{eMonth}
GROUP BY ct.parent_id,cl.month_time
)a on t.id = a.parent_id
WHERE
@ -305,12 +311,6 @@
p.rec_status = 0
and
pt.project_id = #{projectId}
and
pi.year_income = #{year}
and
pi.month_time &gt;= #{sMonth}
and
pi.month_time &lt;= #{eMonth}
</select>
<select id="getTotalIncome" parameterType="java.util.Map" resultType="com.ccsens.pims.bean.vo.CompanyVo$TotalIncome">
@ -325,7 +325,8 @@
p.rec_status = 0
and
p.project_id = #{projectId}
and
pt.year_income = #{year}
</select>
<select id="queryProductIncomeProportion" parameterType="java.util.Map" resultType="com.ccsens.pims.bean.vo.CompanyVo$ProductIncomeProportion">
@ -343,6 +344,10 @@
p.project_id = #{projectId}
and
pt.year_income = #{year}
and
pt.month_time &gt;= #{sMonth}
and
pt.month_time &lt;= #{eMonth}
group by pt.month_time
</select>
@ -363,6 +368,12 @@
l.rec_status = 0
and
mf.project_id = #{projectId}
and
l.year_income = #{year}
and
l.month_time &gt;= #{sMonth}
and
l.month_time &lt;= #{eMonth}
</select>
<select id="queryIncome" parameterType="java.util.Map" resultMap="queryIncome">
@ -381,6 +392,12 @@
l.rec_status = 0
and
s.project_id = #{projectId}
and
l.year_income = #{year}
and
l.month_time &gt;= #{sMonth}
and
l.month_time &lt;= #{eMonth}
</select>
<select id="queryProductIncomeMonth" parameterType="java.util.Map" resultMap="queryProductIncomeMonth">
@ -398,6 +415,12 @@
p.rec_status = 0
AND
p.project_id = #{projectId}
and
i.year_income = #{year}
and
i.month_time &gt;= #{sMonth}
and
i.month_time &lt;= #{eMonth}
</select>
</mapper>

14
pom.xml

@ -7,14 +7,14 @@
<packaging>pom</packaging>
<modules>
<module>cloudutil</module>
<module>ht</module>
<module>tall</module>
<module>util</module>
<module>game</module>
<module>mt</module>
<module>health</module>
<module>ct</module>
<module>pims</module>
<module>tall</module>
<!-- <module>ht</module>-->
<!-- <module>game</module>-->
<!-- <module>mt</module>-->
<!-- <module>health</module>-->
<!-- <module>ct</module>-->
<!-- <module>pims</module>-->
</modules>
<groupId>com.ccsens</groupId>

7
tall/src/main/java/com/ccsens/tall/persist/dao/SysUserDao.java

@ -54,4 +54,11 @@ public interface SysUserDao extends SysUserMapper {
* @return 目前只查询用户创建了几个项目
*/
UserVo.Interspace selectInterspace(@Param("userId")Long currentUserId);
/**
* 查询登录返回的信息
* @param userId
* @return
*/
UserVo.TokenBean getTokenBeanByUserId(Long userId);
}

67
tall/src/main/java/com/ccsens/tall/service/UserService.java

@ -356,14 +356,14 @@ public class UserService implements IUserService {
* 账号登录
*/
private UserVo.UserSign accountLogin(String username, String password) throws Exception {
long start = System.currentTimeMillis();
UserVo.UserSign userSignVo;
List<SysAuth> authList;
SysAuth theAuth;
SysAuthExample authExample = new SysAuthExample();
authExample.createCriteria()
.andIdentifyTypeEqualTo((byte) WebConstant.IDENTIFY_TYPE.Account.value)
.andIdentifierEqualTo(username);
.andIdentifierEqualTo(username)
.andIdentifyTypeEqualTo((byte) WebConstant.IDENTIFY_TYPE.Account.value);
authList = authDao.selectByExample(authExample);
if (CollectionUtil.isNotEmpty(authList)) {
theAuth = authList.get(0);
@ -377,6 +377,8 @@ public class UserService implements IUserService {
} else {
throw new BaseException(CodeEnum.NOT_ACCOUNT);
}
long end = System.currentTimeMillis();
log.info("查询并验证账号用时:{}",end - start);
return userSignVo;
}
@ -583,6 +585,7 @@ public class UserService implements IUserService {
}
//1.生成token并缓存
long start = System.currentTimeMillis();
if (ObjectUtil.isNotNull(tokenExpired)) {
String token =
JwtUtil.createJWT(subject + "",
@ -593,6 +596,9 @@ public class UserService implements IUserService {
tokenBean.setToken(token);
}
long end = System.currentTimeMillis();
log.info("生成token并缓存到redis用时:{}",end - start);
if (ObjectUtil.isNotNull(refreshTokenExpired)) {
String refreshToken =
JwtUtil.createJWT(subject + "",
@ -1164,28 +1170,39 @@ public class UserService implements IUserService {
@Override
public UserVo.TokenBean getUserInfoAndToken(WebConstant.CLIENT_TYPE clientType, WebConstant.IDENTIFY_TYPE identifyType,UserVo.UserSign userSignVo, Map<String, Object> theMap) {
UserVo.TokenBean tokenBean = generateToken(clientType, userSignVo.getUserId(), theMap);
//获取手机号
String phone = getPhoneByRegisterType(userSignVo.getUserId(),identifyType);
//获取账号
String account = selectAccountByUserId(userSignVo.getUserId());
if(StrUtil.isEmpty(account)){
account = WebConstant.DEFAULT_NICKNAME;
}
//获取用户的基本信息、
UserVo.WxInfo wxInfo = null;
SysUser user = userDao.selectByPrimaryKey(userSignVo.getUserId());
if (ObjectUtil.isNotNull(user)) {
wxInfo = new UserVo.WxInfo();
BeanUtil.copyProperties(user, wxInfo);
wxInfo.setSex(user.getGender());
wxInfo.setHeadImgUrl(user.getAvatarUrl());
}
tokenBean.setId(userSignVo.getUserId());
tokenBean.setPhone(phone);
tokenBean.setAccount(account);
tokenBean.setWxInfo(wxInfo);
long start = System.currentTimeMillis();
UserVo.TokenBean tokenBean = userDao.getTokenBeanByUserId(userSignVo.getUserId());
long end1 = System.currentTimeMillis();
log.info("查询用户信息用了:{}",end1 - start);
UserVo.TokenBean tokenBean1 = generateToken(clientType, userSignVo.getUserId(), theMap);
tokenBean.setToken(tokenBean1.getToken());
tokenBean.setRefresh_token(tokenBean1.getRefresh_token());
// //获取手机号
// String phone = getPhoneByRegisterType(userSignVo.getUserId(),identifyType);
// long end2 = System.currentTimeMillis();
// log.info("查询手机号:{}",end2 - end1);
// //获取账号
// String account = selectAccountByUserId(userSignVo.getUserId());
// if(StrUtil.isEmpty(account)){
// account = WebConstant.DEFAULT_NICKNAME;
// }
// long end3 = System.currentTimeMillis();
// log.info("查询账号:{}",end3 - end2);
// //获取用户的基本信息、
// UserVo.WxInfo wxInfo = null;
// SysUser user = userDao.selectByPrimaryKey(userSignVo.getUserId());
// if (ObjectUtil.isNotNull(user)) {
// wxInfo = new UserVo.WxInfo();
// BeanUtil.copyProperties(user, wxInfo);
// wxInfo.setSex(user.getGender());
// wxInfo.setHeadImgUrl(user.getAvatarUrl());
// }
// long end4 = System.currentTimeMillis();
// log.info("查询信息:{}",end4 - end3);
// tokenBean.setId(userSignVo.getUserId());
// tokenBean.setPhone(phone);
// tokenBean.setAccount(account);
// tokenBean.setWxInfo(wxInfo);
return tokenBean;
}

2
tall/src/main/java/com/ccsens/tall/util/TallConstant.java

@ -13,7 +13,7 @@ public class TallConstant {
public static final String LOGIN = "_login_";
/***一天 */
public static final long LOGIN_TIME = 60 * 24;
public static final long LOGIN_TIME = 60 * 60 * 24;
/**
* 接口发送的信息模板

1
tall/src/main/java/com/ccsens/tall/web/DebugController.java

@ -40,7 +40,6 @@ public class DebugController {
})
@RequestMapping(value="",method = RequestMethod.GET,produces = {"application/json;charset=UTF-8"})
public JsonResponse getSmsCode(HttpServletRequest request) throws Exception {
log.info("修改wps后调用接口");
return JsonResponse.newInstance().ok("测试");
}

3
tall/src/main/java/com/ccsens/tall/web/UserController.java

@ -67,6 +67,7 @@ public class UserController {
throw new UserLoginException(-1, String.format("Not supported client type: %1$d(%2$s)",
clientType.value, clientType));
}
log.info("登录场景");
switch (identify_type) {
case WxEnterprise:
case Wxmp:
@ -89,7 +90,7 @@ public class UserController {
identify_type.value, identify_type.phase));
}
}
log.info("登录方式");
//2.调用业务方法(注册/添加登陆记录)
UserVo.UserSign userSignVo = userService.signin(
clientType, identify_type, identifier, credential,

4
tall/src/main/resources/application.yml

@ -1,4 +1,4 @@
spring:
profiles:
active: dev
include: util-dev,common
active: prod
include: util-prod,common

37
tall/src/main/resources/mapper_dao/SysUserDao.xml

@ -1,7 +1,20 @@
<?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.ccsens.tall.persist.dao.SysUserDao">
<resultMap id="getTokenBeanByUserId" type="com.ccsens.tall.bean.vo.UserVo$TokenBean">
<id column="id" property="id"/>
<result column="account" property="account"/>
<result column="phone" property="phone"/>
<collection property="wxInfo" ofType="com.ccsens.tall.bean.vo.UserVo$WxInfo">
<result column="nickname" property="nickname"/>
<result column="headImgUrl" property="headImgUrl"/>
<result column="sex" property="sex"/>
<result column="province" property="province"/>
<result column="city" property="city"/>
<result column="country" property="country"/>
<result column="language" property="language"/>
</collection>
</resultMap>
<update id="replaceAuth" parameterType="java.util.Map">
@ -163,4 +176,26 @@
and
creator_id = #{userId}
</select>
<select id="getTokenBeanByUserId" parameterType="java.util.Map" resultMap="getTokenBeanByUserId">
SELECT
u.id as id ,
t.account as account,
x.phone as phone,
u.nickname as nickname,
u.avatar_url as headImgUrl,
u.gender as sex,
u.province,
u.city,
u.country,
u.`language`
FROM
t_sys_user u
LEFT JOIN ( SELECT user_id, identifier AS account FROM t_sys_auth WHERE identify_type = 3 AND rec_status = 0) t ON u.id = t.user_id
LEFT JOIN ( SELECT user_id, identifier AS phone FROM t_sys_auth WHERE identify_type = 1 AND rec_status = 0) x ON u.id = x.user_id
WHERE
u.id = #{userId}
AND
rec_status = 0
</select>
</mapper>

709230
tall/src/main/resources/sql/tall-20200815人寿比赛用.sql

File diff suppressed because it is too large

56
util/src/main/java/com/ccsens/util/PoiUtil.java

@ -57,6 +57,10 @@ public class PoiUtil {
* 跳转的路径
*/
private String path;
/**
* 函数
*/
private String function;
public PoiUtilCell() {
}
@ -65,6 +69,11 @@ public class PoiUtil {
this.value = value;
}
public PoiUtilCell(String value,String function) {
this.value = value;
this.function = function;
}
public PoiUtilCell(String value, int colspan, int rowspan) {
this.value = value;
@ -162,6 +171,10 @@ public class PoiUtil {
font.setColor(Font.COLOR_RED);
style.setFont(font);
}
//添加函数
if(StrUtil.isNotEmpty(cell.getFunction())) {
newCell.setCellFormula(cell.getFunction());
}
style.setFillForegroundColor(IndexedColors.RED.getIndex());
newCell.setCellStyle(style);
}
@ -495,7 +508,23 @@ public class PoiUtil {
public static void main(String[] args) throws Exception {
InputStream inputStream = new FileInputStream("D:\\1.xlsx");
Workbook workbook = new XSSFWorkbook(inputStream);
workbook.removeSheetAt(workbook.getSheetIndex("bbb"));
XSSFSheet sheet = (XSSFSheet) workbook.getSheetAt(0);
XSSFRow row = sheet.getRow(6);
XSSFCell newCell = row.createCell(2);
XSSFCell newCell1 = row.createCell(3);
//添加公式
newCell.setCellFormula("A7+B7");
newCell1.setCellFormula("A8/B8");
//设置打印区域
workbook.setPrintArea(
0, //工作薄 下标0开始
0, //起始列 下标0开始
20, //终止列 下标0开始
0, //起始行 下标0开始
20 //终止行 下标0开始
);
// CellStyle style = workbook.createCellStyle();
// style.setFillBackgroundColor();
OutputStream stream = new FileOutputStream(new File("D:\\1.xlsx"));
workbook.write(stream);
@ -532,7 +561,32 @@ public class PoiUtil {
// stream.close();
// setImg("C:\\Users\\逗\\Desktop\\0cf3ffd8f0001c4310b02f706753721.png",1,2,1,2);
}
/**
* 获取excel的列号
* @param num 第几列从1开始
* @return
*/
public static String toRadix(Integer num) throws Exception{
String[] array = {"A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z"};
int count = 26;
String out = "";
if(num > count){
if(num % count == 0){
out = array[(num / count) - 1 - 1] + array[count - 1];
}else {
out = array[(num / count) - 1] + array[(num % count) - 1];
}
}else{
out = array[num - 1];
}
return out;
}
}

Loading…
Cancel
Save