ClothingOnhandServiceI.java 845 B

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