| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950 |
- package cn.com.lzt.purchase.service;
- import cn.com.lzt.purchase.dto.OrderToSupplierDto;
- import cn.com.lzt.purchase.entity.POrdersEntity;
- import cn.com.lzt.purchasedetails.entity.OrderDetailsEntity;
- import java.util.List;
- import org.jeecgframework.core.common.service.CommonService;
- import java.io.Serializable;
- public interface POrdersServiceI extends CommonService{
-
- public <T> void delete(T entity);
- /**
- * 添加一对多
- *
- */
- public void addMain(POrdersEntity orders,
- List<OrderDetailsEntity> orderDetailsList) ;
- /**
- * 修改一对多
- *
- */
- public void updateMain(POrdersEntity orders,
- List<OrderDetailsEntity> orderDetailsList);
- public void delMain (POrdersEntity orders);
-
- /**
- * 默认按钮-sql增强-新增操作
- * @param id
- * @return
- */
- public boolean doAddSql(POrdersEntity t);
- /**
- * 默认按钮-sql增强-更新操作
- * @param id
- * @return
- */
- public boolean doUpdateSql(POrdersEntity t);
- /**
- * 默认按钮-sql增强-删除操作
- * @param id
- * @return
- */
- public boolean doDelSql(POrdersEntity t);
- /**
- * @param orderid
- * @return
- */
- List<OrderToSupplierDto> getOrderToSupplierDtoPage(String orderid);
- }
|