Sfoglia il codice sorgente

Merge branch 'master' of https://git.2fi-solutions.com/davidhui/TSMS-backend

tags/Baseline_30082024_BACKEND_UAT
MSI\derek 1 anno fa
parent
commit
8a48b8421e
2 ha cambiato i file con 10 aggiunte e 2 eliminazioni
  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 Vedi File

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


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


+ 8
- 0
src/main/resources/db/changelog/changes/20240529_01_cyril/01_insert_authority.sql Vedi File

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

Caricamento…
Annulla
Salva