Commit 3e2794d8ca3777551d47f833974e21ee91ecdbf8
Merge branch 'feat/mes' of https://gitee.com/zhijiantianya/ruoyi-vue-pro into master-jdk17
Showing
2 changed files
with
5 additions
and
4 deletions
yudao-module-mes/src/main/java/cn/iocoder/yudao/module/mes/controller/admin/pro/process/MesProProcessController.java
| ... | ... | @@ -84,7 +84,8 @@ public class MesProProcessController { |
| 84 | 84 | public CommonResult<List<MesProProcessRespVO>> getProcessSimpleList() { |
| 85 | 85 | List<MesProProcessDO> list = processService.getProcessListByStatus(CommonStatusEnum.ENABLE.getStatus()); |
| 86 | 86 | return success(convertList(list, process -> new MesProProcessRespVO() |
| 87 | - .setId(process.getId()).setName(process.getName()).setCode(process.getCode()))); | |
| 87 | + .setId(process.getId()).setName(process.getName()).setCode(process.getCode()) | |
| 88 | + .setAttention(process.getAttention()).setRemark(process.getRemark()))); | |
| 88 | 89 | } |
| 89 | 90 | |
| 90 | 91 | @GetMapping("/export-excel") | ... | ... |
yudao-module-mes/src/test/resources/sql/create_tables.sql
| ... | ... | @@ -369,9 +369,9 @@ CREATE TABLE IF NOT EXISTS "mes_qc_rqc" ( |
| 369 | 369 | "critical_quantity" int DEFAULT 0, |
| 370 | 370 | "major_quantity" int DEFAULT 0, |
| 371 | 371 | "minor_quantity" int DEFAULT 0, |
| 372 | - "critical_rate" decimal(5,2) DEFAULT 0.00, | |
| 373 | - "major_rate" decimal(5,2) DEFAULT 0.00, | |
| 374 | - "minor_rate" decimal(5,2) DEFAULT 0.00, | |
| 372 | + "critical_rate" decimal(14,2) DEFAULT 0.00, | |
| 373 | + "major_rate" decimal(14,2) DEFAULT 0.00, | |
| 374 | + "minor_rate" decimal(14,2) DEFAULT 0.00, | |
| 375 | 375 | "creator" varchar(64) DEFAULT '', |
| 376 | 376 | "create_time" timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP, |
| 377 | 377 | "updater" varchar(64) DEFAULT '', | ... | ... |