IRepairUserNewV1ServiceDao.java 2.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273
  1. /*
  2. * Copyright 2017-2020 吴学文 and java110 team.
  3. *
  4. * Licensed under the Apache License, Version 2.0 (the "License");
  5. * you may not use this file except in compliance with the License.
  6. * You may obtain a copy of the License at
  7. *
  8. * http://www.apache.org/licenses/LICENSE-2.0
  9. *
  10. * Unless required by applicable law or agreed to in writing, software
  11. * distributed under the License is distributed on an "AS IS" BASIS,
  12. * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  13. * See the License for the specific language governing permissions and
  14. * limitations under the License.
  15. */
  16. package com.java110.community.dao;
  17. import com.java110.utils.exception.DAOException;
  18. import java.util.List;
  19. import java.util.Map;
  20. /**
  21. * 类表述:
  22. * add by 吴学文 at 2021-12-06 22:33:06 mail: 928255095@qq.com
  23. * open source address: https://gitee.com/wuxw7/MicroCommunity
  24. * 官网:http://www.homecommunity.cn
  25. * 温馨提示:如果您对此文件进行修改 请不要删除原有作者及注释信息,请补充您的 修改的原因以及联系邮箱如下
  26. * // modify by 张三 at 2021-09-12 第10行在某种场景下存在某种bug 需要修复,注释10至20行 加入 20行至30行
  27. */
  28. public interface IRepairUserNewV1ServiceDao {
  29. /**
  30. * 保存 费用明细信息
  31. * @param info
  32. * @throws DAOException DAO异常
  33. */
  34. int saveRepairUserNewInfo(Map info) throws DAOException;
  35. /**
  36. * 查询费用明细信息(instance过程)
  37. * 根据bId 查询费用明细信息
  38. * @param info bId 信息
  39. * @return 费用明细信息
  40. * @throws DAOException DAO异常
  41. */
  42. List<Map> getRepairUserNewInfo(Map info) throws DAOException;
  43. /**
  44. * 修改费用明细信息
  45. * @param info 修改信息
  46. * @throws DAOException DAO异常
  47. */
  48. int updateRepairUserNewInfo(Map info) throws DAOException;
  49. /**
  50. * 查询费用明细总数
  51. *
  52. * @param info 费用明细信息
  53. * @return 费用明细数量
  54. */
  55. int queryRepairUserNewsCount(Map info);
  56. }