영수증 삭제 및 일일 개수 추가

This commit is contained in:
주수현
2025-07-08 14:16:11 +09:00
parent 35c9bab244
commit 5d80d3ff32
20 changed files with 152 additions and 163 deletions

View File

@@ -22,10 +22,12 @@ public class RemoveDailyDao implements RemoveDailyPortOut {
if (DailySort.INCOME.equals(command.getCurrentStep())) {
mapper.removeDailyIncome(command);
mapper.removeDailyIncomeReceipt(command);
} else if (DailySort.WORK.equals(command.getCurrentStep())) {
mapper.removeDailyWork(command);
} else if (DailySort.EXPENSE.equals(command.getCurrentStep())) {
mapper.removeDailyExpense(command);
mapper.removeDailyExpenseReceipt(command);
} else if (DailySort.POWER.equals(command.getCurrentStep())) {
mapper.removeDailyPower(command);
} else if (DailySort.FORESTRY.equals(command.getCurrentStep())) {

View File

@@ -11,6 +11,12 @@ public interface RemoveDailyMapper {
*/
void removeDailyIncome(RemoveDailyCmd command);
/**
* 특정일의 수입 영수증 전체 삭제
* @param command 검색 조건
*/
void removeDailyIncomeReceipt(RemoveDailyCmd command);
/**
* 특정일의 임업노동 투입 전체 삭제
* @param command 검색 조건
@@ -23,6 +29,12 @@ public interface RemoveDailyMapper {
*/
void removeDailyExpense(RemoveDailyCmd command);
/**
* 특정일의 지출 영수증 전체 삭제
* @param command 검색 조건
*/
void removeDailyExpenseReceipt(RemoveDailyCmd command);
/**
* 동력 사용시간 전체 삭제
* @param command 검색 조건