Browse Source

[feat]新增:报销单新增报销打款对象,包含关联报销单号,打款时间,报销金额,报销人信息。

dev
zhangsiqi 3 months ago
parent
commit
9abc53d878
  1. 12
      ruoyi-admin/src/main/java/com/ruoyi/system/service/IBaseExpenseAccountChildService.java
  2. 2
      ruoyi-admin/src/main/java/com/ruoyi/system/service/IBaseExpenseAccountService.java
  3. 75
      ruoyi-admin/src/main/java/com/ruoyi/system/service/IBaseExpenseConfirmAmountService.java

12
ruoyi-admin/src/main/java/com/ruoyi/system/service/IBaseExpenseAccountChildService.java

@ -1,7 +1,11 @@
package com.ruoyi.system.service;
import java.io.IOException;
import java.util.List;
import java.util.Map;
import com.ruoyi.system.domain.BaseExpenseAccountChild;
import org.springframework.beans.factory.NoSuchBeanDefinitionException;
/**
* 报销单分类子Service接口
@ -100,4 +104,12 @@ public interface IBaseExpenseAccountChildService
public int deleteBaseExpenseAccountChildByExpenseCodes(String[] expenseCodes);
int restoreBaseExpenseAccountChildById(Long expenseChildId);
List<BaseExpenseAccountChild> selectBaseExpenseAccountChildByExpenseCode(String expenseCode);
Map<String, Object> exportTemplate(List<BaseExpenseAccountChild> baseExpenseAccountChildList) throws NoSuchBeanDefinitionException, IOException;
List<BaseExpenseAccountChild> selectBaseExpenseChildListByCodePage(String expenseCode, int pageNum, int pageSize);
}

2
ruoyi-admin/src/main/java/com/ruoyi/system/service/IBaseExpenseAccountService.java

@ -88,4 +88,6 @@ public interface IBaseExpenseAccountService
public ProcessInstance submitApply(BaseExpenseAccount baseExpenseAccount);
public Object getId();
BaseExpenseAccount selectBaseExpenseAccountByCode(String expenseCode);
}

75
ruoyi-admin/src/main/java/com/ruoyi/system/service/IBaseExpenseConfirmAmountService.java

@ -0,0 +1,75 @@
package com.ruoyi.system.service;
import java.util.List;
import com.ruoyi.system.domain.BaseExpenseConfirmAmount;
/**
* 报销打款记录Service接口
*
* @author zhang
* @date 2024-09-06
*/
public interface IBaseExpenseConfirmAmountService
{
/**
* 查询报销打款记录
*
* @param expenseAmountId 报销打款记录ID
* @return 报销打款记录
*/
public BaseExpenseConfirmAmount selectBaseExpenseConfirmAmountById(Long expenseAmountId);
/**
* 查询报销打款记录列表
*
* @param baseExpenseConfirmAmount 报销打款记录
* @return 报销打款记录集合
*/
public List<BaseExpenseConfirmAmount> selectBaseExpenseConfirmAmountList(BaseExpenseConfirmAmount baseExpenseConfirmAmount);
/**
* 新增报销打款记录
*
* @param baseExpenseConfirmAmount 报销打款记录
* @return 结果
*/
public int insertBaseExpenseConfirmAmount(BaseExpenseConfirmAmount baseExpenseConfirmAmount);
/**
* 修改报销打款记录
*
* @param baseExpenseConfirmAmount 报销打款记录
* @return 结果
*/
public int updateBaseExpenseConfirmAmount(BaseExpenseConfirmAmount baseExpenseConfirmAmount);
/**
* 批量删除报销打款记录
*
* @param ids 需要删除的数据ID
* @return 结果
*/
public int deleteBaseExpenseConfirmAmountByIds(String ids);
/**
* 删除报销打款记录信息
*
* @param expenseAmountId 报销打款记录ID
* @return 结果
*/
public int deleteBaseExpenseConfirmAmountById(Long expenseAmountId);
/**
* 作废报销打款记录
* @param expenseAmountId 报销打款记录ID
* @return
*/
int cancelBaseExpenseConfirmAmountById(Long expenseAmountId);
/**
* 恢复报销打款记录
* @param expenseAmountId 报销打款记录ID
* @return
*/
int restoreBaseExpenseConfirmAmountById(Long expenseAmountId);
}
Loading…
Cancel
Save