package cn.com.lzt.clothing.onhand.service; import cn.com.lzt.clothing.onhand.entity.ClothingOnhandEntity; import org.jeecgframework.core.common.service.CommonService; import java.io.Serializable; import java.util.Date; public interface ClothingOnhandServiceI extends CommonService{ public void delete(ClothingOnhandEntity entity) throws Exception; public Serializable save(ClothingOnhandEntity entity) throws Exception; public void saveOrUpdate(ClothingOnhandEntity entity) throws Exception; /** * 更新服装现存量 * @param useType 1 领用;2 服装录入;3 退还 * 录入时,从闲置中扣减、使用中增加 * 领用时,只增加使用中 * */ public void updateOnhand4Use(String warehouseid,String clothingid, int changedQuantity ,Date startdate, String useType) throws Exception; }