package cn.com.lzt.clothing.apply.service; import cn.com.lzt.clothing.apply.entity.ClothingApplyEntity; import cn.com.lzt.clothing.applydetail.entity.ClothingApplyDetailEntity; import java.util.List; import org.jeecgframework.core.common.service.CommonService; import java.io.Serializable; public interface ClothingApplyServiceI extends CommonService{ public void delete(T entity); /** * 添加一对多 * */ public void addMain(ClothingApplyEntity clothingApply, List clothingApplyDetailList) ; /** * 修改一对多 * */ public void updateMain(ClothingApplyEntity clothingApply, List clothingApplyDetailList); public void delMain (ClothingApplyEntity clothingApply); /** * 默认按钮-sql增强-新增操作 * @param id * @return */ public boolean doAddSql(ClothingApplyEntity t); /** * 默认按钮-sql增强-更新操作 * @param id * @return */ public boolean doUpdateSql(ClothingApplyEntity t); /** * 默认按钮-sql增强-删除操作 * @param id * @return */ public boolean doDelSql(ClothingApplyEntity t); /** * 审批结束后,生成员工服装信息,更新服装存量表 * */ public boolean doAuditEnd(ClothingApplyEntity t); }