Просмотр исходного кода

update

tags/Baseline_30082024_BACKEND_UAT
cyril.tsui 1 год назад
Родитель
Сommit
6663955e81
2 измененных файлов: 10 добавлений и 2 удалений
  1. +2
    -2
      src/main/java/com/ffii/tsms/modules/report/service/ReportService.kt
  2. +8
    -0
      src/main/resources/db/changelog/changes/20240529_01_cyril/01_insert_authority.sql

+ 2
- 2
src/main/java/com/ffii/tsms/modules/report/service/ReportService.kt Просмотреть файл

@@ -684,12 +684,12 @@ open class ReportService(
rowIndex = 9
sheet.getRow(rowIndex).apply {
createCell(1).apply {
setCellValue(project.expectedTotalFee!!)
setCellValue(project.expectedTotalFee!! * 0.8)
cellStyle.dataFormat = accountingStyle
}

createCell(2).apply {
setCellValue(project.expectedTotalFee!! / 0.8)
setCellValue(project.expectedTotalFee!!)
cellStyle.dataFormat = accountingStyle
}
}


+ 8
- 0
src/main/resources/db/changelog/changes/20240529_01_cyril/01_insert_authority.sql Просмотреть файл

@@ -0,0 +1,8 @@
-- liquibase formatted sql
-- changeset cyril:authority, user_authority

INSERT INTO authority (authority,name)
VALUES ('DELETE_PROJECT','delete project');

INSERT INTO user_authority (userId,authId)
VALUES (1,19);

Загрузка…
Отмена
Сохранить