You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
4 years ago | |
|---|---|---|
| .. | ||
| .idea | 4 years ago | |
| api | 4 years ago | |
| commonus | 4 years ago | |
| conf | 4 years ago | |
| config | 4 years ago | |
| core | 4 years ago | |
| docs | 4 years ago | |
| global | 4 years ago | |
| initialize | 4 years ago | |
| middleware | 4 years ago | |
| model | 4 years ago | |
| packfile | 4 years ago | |
| plugin | 4 years ago | |
| resource | 4 years ago | |
| router | 4 years ago | |
| scheduledtask | 4 years ago | |
| service | 4 years ago | |
| source | 4 years ago | |
| uploads | 4 years ago | |
| utils | 4 years ago | |
| wechatjiexi | 4 years ago | |
| 其他支持文件 | 4 years ago | |
| .gitignore | 4 years ago | |
| DevelopLog.md | 4 years ago | |
| Dockerfile | 4 years ago | |
| README.md | 4 years ago | |
| config.docker.yaml | 4 years ago | |
| config.yaml | 4 years ago | |
| config_server.yaml | 4 years ago | |
| go.mod | 4 years ago | |
| go.sum | 4 years ago | |
| main.go | 4 years ago | |
| shenpi-2.xml | 4 years ago | |
| shenpi-5.json | 4 years ago | |
| shenpi.json | 4 years ago | |
| shenpi1.json | 4 years ago | |
| shipi-4.ini | 4 years ago | |
README.md
server项目结构
├── api
│ └── v1
├── config
├── core
├── docs
├── global
├── initialize
│ └── internal
├── middleware
├── model
│ ├── request
│ └── response
├── packfile
├── resource
│ ├── excel
│ ├── page
│ └── template
├── router
├── service
├── source
└── utils
├── timer
└── upload
文件说明
| 文件夹 | 说明 | 描述 |
|---|---|---|
api |
api层 | api层 |
--v1 |
v1版本接口 | v1版本接口 |
config |
配置包 | config.yaml对应的配置结构体 |
core |
核心文件 | 核心组件(zap, viper, server)的初始化 |
docs |
swagger文档目录 | swagger文档目录 |
global |
全局对象 | 全局对象 |
initialize |
初始化 | router,redis,gorm,validator, timer的初始化 |
--internal |
初始化内部函数 | gorm 的 longger 自定义,在此文件夹的函数只能由 initialize 层进行调用 |
middleware |
中间件层 | 用于存放 gin 中间件代码 |
model |
模型层 | 模型对应数据表 |
--request |
入参结构体 | 接收前端发送到后端的数据。 |
--response |
出参结构体 | 返回给前端的数据结构体 |
packfile |
静态文件打包 | 静态文件打包 |
resource |
静态资源文件夹 | 负责存放静态文件 |
--excel |
excel导入导出默认路径 | excel导入导出默认路径 |
--page |
表单生成器 | 表单生成器 打包后的dist |
--template |
模板 | 模板文件夹,存放的是代码生成器的模板 |
router |
路由层 | 路由层 |
service |
service层 | 存放业务逻辑问题 |
source |
source层 | 存放初始化数据的函数 |
utils |
工具包 | 工具函数封装 |
--timer |
timer | 定时器接口封装 |
--upload |
oss | oss接口封装 |
LOG
1 修改数据库
detailed_target 指标细则
qualitative_evaluation 定性考核
记录要操作的对照表
assesstarget department_dimension_weight division_responsibilities evaluationtarget flow_log plan_versio qualitative_evaluation qualitative_target rectification_measures score_flow target_weight
2022.04.30纪要
1、生成部门考核方案下来添加观察标 2、定量指标添加自动与手东干预
2022.05.01纪要
1、编写数据表统计信息
2022.05.15纪要
approvalList 流程详情页面
responsible 责任划分页面
rectification 整改措施
2022.06.06纪要
1、 修改evaluation_process 结构
添加字段
ALTER TABLE `evaluation_process` ADD `ep_setup_department` bigint(20) unsigned NOT NULL DEFAULT '0' COMMENT '发起部门';
ALTER TABLE `evaluation_process` ADD `ep_dimension` mediumtext COMMENT '维度';
ALTER TABLE `evaluation_process` ADD `ep_target` mediumtext COMMENT '指标';
ALTER TABLE `evaluation_process` ADD `ep_detailedtarget` mediumtext COMMENT '指标细则';
ALTER TABLE `evaluation_process` ADD `ep_accept_department` bigint(20) unsigned NOT NULL DEFAULT '0' COMMENT '接受考核部门';
2、添加视图 evalprocess
select `dt`.`title` AS `class_title`,`et`.`et_title` AS `et_title`,`dgt`.`dt_title` AS `dt_title`,`ep`.`ep_id` AS `ep_id`,`ep`.`ep_order_key` AS `ep_order_key`,`ep`.`ep_step` AS `ep_step`,`ep`.`ep_cont` AS `ep_cont`,`ep`.`ep_next_cont` AS `ep_next_cont`,`ep`.`ep_time` AS `ep_time`,`ep`.`ep_state` AS `ep_state`,`ep`.`ep_role_group` AS `ep_role_group`,`ep`.`ep_type` AS `ep_type`,`ep`.`ep_participants` AS `ep_participants`,`ep`.`ep_start_time` AS `ep_start_time`,`ep`.`ep_next_step` AS `ep_next_step`,`ep`.`ep_next_executor` AS `ep_next_executor`,`ep`.`ep_setup_department` AS `ep_setup_department`,`ep`.`ep_dimension` AS `ep_dimension`,`ep`.`ep_target` AS `ep_target`,`ep`.`ep_detailedtarget` AS `ep_detailedtarget`,`ep`.`ep_accept_department` AS `ep_accept_department`,`sf`.`sf_duty_department` AS `sf_depart`,`fl`.`fl_duty_department` AS `fl_depart` from (((((`evaluation_process` `ep` left join `dutyclass` `dt` on(find_in_set(`dt`.`id`,`ep`.`ep_dimension`))) left join `evaluationtarget` `et` on(find_in_set(`et`.`et_id`,`ep`.`ep_target`))) left join `detailed_target` `dgt` on(find_in_set(`dgt`.`dt_id`,`ep`.`ep_detailedtarget`))) left join `score_flow` `sf` on((`ep`.`ep_order_key` = `sf`.`sf_key`))) left join `flow_log` `fl` on((`ep`.`ep_order_key` = `fl`.`fl_key`)))
3、修改 flow_log_data 结构
ALTER TABLE `flow_log_data` ADD `fld_target_id` bigint(20) unsigned NOT NULL DEFAULT '0' COMMENT '指标ID';
4、修改 score_flow 结构
ALTER TABLE `score_flow` ADD `sf_target_id` bigint(20) unsigned NOT NULL DEFAULT '0' COMMENT '指标ID';
ALTER TABLE `score_flow` ADD `sf_detailed_id` bigint(20) unsigned NOT NULL DEFAULT '0' COMMENT '指标细则ID';
4、添加视图 flow_data_log
select `fl`.`fl_baseline` AS `baseline`,`fl`.`fl_duty_department` AS `department`,`fl`.`fl_duty_group` AS `group`,`fd`.`fld_flow_log` AS `key`,`fd`.`fld_score` AS `score`,`fd`.`fld_scoring_method` AS `method`,`fd`.`fld_scoring_score` AS `scoring_score`,`fl`.`fl_year` AS `year`,`fl`.`fl_quarter` AS `quarte`,`fl`.`fl_month` AS `month`,`fl`.`fl_week` AS `week`,`fl`.`fl_day` AS `day`,`fd`.`fld_id` AS `id`,`fd`.`fld_target_id` AS `targetid` from (`flow_log_data` `fd` left join `flow_log` `fl` on((`fd`.`fld_flow_log` = `fl`.`fl_key`)))