ExpenseAccountMapper.java 2.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374
  1. package com.goafanti.common.dao;
  2. import com.goafanti.common.model.ExpenseAccount;
  3. import com.goafanti.common.model.FinanceCount;
  4. import com.goafanti.expenseAccount.bo.InputExpenseAccount;
  5. import com.goafanti.expenseAccount.bo.MainExpenseAccount;
  6. import com.goafanti.expenseAccount.bo.OutExpenseAccount;
  7. import com.goafanti.expenseAccount.bo.OutMyEAStatistics;
  8. import org.apache.ibatis.annotations.Param;
  9. import java.util.List;
  10. public interface ExpenseAccountMapper {
  11. int deleteByPrimaryKey(Integer id);
  12. int insert(ExpenseAccount record);
  13. int insertSelective(ExpenseAccount record);
  14. ExpenseAccount selectByPrimaryKey(Integer id);
  15. int updateByPrimaryKeySelective(ExpenseAccount record);
  16. int updateByPrimaryKey(ExpenseAccount record);
  17. OutExpenseAccount selectByid(Integer id);
  18. OutExpenseAccount selectByaidAndPrid(InputExpenseAccount in);
  19. OutExpenseAccount selectByCheckNo(String checkNo);
  20. List<OutExpenseAccount> selectByaidAndType(@Param("aid") String aid,@Param("depId")String depId, @Param("type")Integer type,
  21. @Param("id")Integer id);
  22. List<OutMyEAStatistics> selectStatistics(@Param("name") String name, @Param("depId") String depId,
  23. @Param("startTime") String startTime, @Param("endTime") String endTime, @Param("lander") String lander);
  24. List<ExpenseAccount> selectByDebitId(Integer debitId);
  25. List<ExpenseAccount> selectByCheckNoNot();
  26. List<FinanceCount> selectCountByFinance(String id);
  27. List<ExpenseAccount> selectByIds(List<String> split);
  28. void updateByIds(@Param("list") List<ExpenseAccount> list, @Param("status") Integer status);
  29. MainExpenseAccount selectByMainId(Integer id);
  30. void updateByMainId(@Param("id") Integer id, @Param("status") Integer status);
  31. List<ExpenseAccount> selectListByMainId(Integer id);
  32. int selectCountByIdsAndType(@Param("list") List<String> list, @Param("type") Integer type);
  33. List<ExpenseAccount> selectAllMain();
  34. void updateSonByDetId(Integer id);
  35. void updateMainByDetId(Integer id);
  36. void updateDeleteDebitId(Integer id);
  37. List<MainExpenseAccount> selectSonByMainIds(List<Integer> list);
  38. void updateSonByMainId(Integer id);
  39. MainExpenseAccount selectbySonId(Integer id);
  40. Integer selectDeleteIdBySonId(Integer integer);
  41. }