ClothingApplyServiceI.java 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. package cn.com.lzt.clothing.apply.service;
  2. import cn.com.lzt.clothing.apply.entity.ClothingApplyEntity;
  3. import cn.com.lzt.clothing.applydetail.entity.ClothingApplyDetailEntity;
  4. import java.util.List;
  5. import org.jeecgframework.core.common.service.CommonService;
  6. import java.io.Serializable;
  7. public interface ClothingApplyServiceI extends CommonService{
  8. public <T> void delete(T entity);
  9. /**
  10. * 添加一对多
  11. *
  12. */
  13. public void addMain(ClothingApplyEntity clothingApply,
  14. List<ClothingApplyDetailEntity> clothingApplyDetailList) ;
  15. /**
  16. * 修改一对多
  17. *
  18. */
  19. public void updateMain(ClothingApplyEntity clothingApply,
  20. List<ClothingApplyDetailEntity> clothingApplyDetailList);
  21. public void delMain (ClothingApplyEntity clothingApply);
  22. /**
  23. * 默认按钮-sql增强-新增操作
  24. * @param id
  25. * @return
  26. */
  27. public boolean doAddSql(ClothingApplyEntity t);
  28. /**
  29. * 默认按钮-sql增强-更新操作
  30. * @param id
  31. * @return
  32. */
  33. public boolean doUpdateSql(ClothingApplyEntity t);
  34. /**
  35. * 默认按钮-sql增强-删除操作
  36. * @param id
  37. * @return
  38. */
  39. public boolean doDelSql(ClothingApplyEntity t);
  40. /**
  41. * 审批结束后,生成员工服装信息,更新服装存量表
  42. * */
  43. public boolean doAuditEnd(ClothingApplyEntity t);
  44. }