Ver código fonte

update

tags/Baseline_30082024_BACKEND_UAT
cyril.tsui 1 ano atrás
pai
commit
6663955e81
2 arquivos alterados com 10 adições e 2 exclusões
  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 Ver arquivo

@@ -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 Ver arquivo

@@ -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);

Carregando…
Cancelar
Salvar