| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170 |
- package com.goafanti.order.service;
- import java.io.UnsupportedEncodingException;
- import java.util.List;
- import javax.mail.MessagingException;
- import org.apache.poi.xssf.usermodel.XSSFWorkbook;
- import com.goafanti.common.model.TOrderDun;
- import com.goafanti.common.model.TOrderNew;
- import com.goafanti.common.model.TOrderRefundWithBLOBs;
- import com.goafanti.common.model.TOrderTask;
- import com.goafanti.core.mybatis.page.Pagination;
- import com.goafanti.order.bo.BackOrderListBo;
- import com.goafanti.order.bo.BillListBo;
- import com.goafanti.order.bo.OrderDunTaskBo;
- import com.goafanti.order.bo.OrderRefundBo;
- import com.goafanti.order.bo.OrderRefundDetailBo;
- import com.goafanti.order.bo.TDunLogListBo;
- import com.goafanti.order.bo.TOrderNewBo;
- import com.goafanti.order.bo.TOrderRefundBo;
- import com.goafanti.order.bo.TOrderTaskBo;
- public interface OrderNewService {
-
- /**
- * 创建订单
- * @param uid
- * @param orderType
- * @return
- */
- int createServiceOrder(String uid, Integer orderType);
- /**
- * 创建项目
- * @param t
- */
- int addOrderTask(TOrderTask t);
- /**
- * 修改项目信息
- * @param t
- * @return
- */
- int updateOrderTask(TOrderTask t);
- /**
- * 删除项目
- * @param id
- * @return
- */
- int delectOrderTask(Integer id);
- /**
- * 项目详情
- * @param orderNo
- * @return
- */
- List<TOrderTaskBo> selectOrderTask(String orderNo);
- /**
- * 订单提交或保存
- * @param t
- * @param isSubmit
- * @return
- */
- int updateServiceOrder(TOrderNew t, Integer isSubmit);
- /**
- * 订单详情
- * @param orderNo
- * @return
- */
- TOrderNewBo getOrderNewDetail(String orderNo);
- /**
- * 收款截点编辑
- * @param orderDun
- * @return
- */
- int createOrderDun(String orderDun,String orderNo);
- /**
- * 订单列表
- * @param name
- * @param orderNo
- * @param starTime
- * @param endTime
- * @param orderStatus
- * @param pageNo
- * @param pageSize
- * @return
- */
- Pagination<TOrderNewBo> orderNewList(String name, String orderNo, String starTime, String endTime,Integer specially ,Integer distribution,Integer pageNo, Integer pageSize);
- /**
- * 订单审核
- * @param orderNo
- * @param orderStatus
- * @return
- */
- int updateOrderNew(String orderNo, Integer orderStatus,String reason);
-
- /**
- * 催款订单列表
- * @param name
- * @param orderNo
- * @param starTime
- * @param endTime
- * @param orderStatus
- * @param pageNo
- * @param pageSize
- * @return
- */
- Pagination<TOrderNewBo> dunOrderNewList(String name, String orderNo, String starTime, String endTime, Integer specially,
- Integer pageNo, Integer pageSize);
- /**
- * 新增催款记录
- * @return
- */
- int createDunLog(String dunId,String dumTime,String remarks);
- /**
- * 查询催款记录
- * @param dunId
- * @return
- */
- List<TDunLogListBo> selectDunLogList(String dunId);
- /**
- * 新增退单
- * @param t
- * @return
- */
- int addOrderRefund(TOrderRefundWithBLOBs t);
- /**
- * 特批审核
- * @param orderNo
- * @param confirm
- * @return
- */
- int updateApprovalOrder(String orderNo,Integer confirm,String reason);
- /**
- * 查看收款截点
- * @param orderNo
- * @return
- */
- List<TOrderDun> selectOrderDun(String orderNo);
- /**
- * 退单列表
- * @param name
- * @param orderNo
- * @param starTime
- * @param endTime
- * @param specially
- * @param pageNo
- * @param pageSize
- * @return
- */
- Pagination<TOrderRefundBo> orderRefundList(String name, String orderNo, String starTime, String endTime, Integer specially,
- Integer pageNo, Integer pageSize);
- boolean checkOrderMain(TOrderTask t);
- boolean chekeOrderStatus(String orderNo);
- boolean chekeApprovalOrderStatus(String orderNo);
- int deleteOrderNew(String orderNo);
- boolean checkOderSettlementAmount(String orderNo);
- boolean checkORderTask(String orderNo);
- XSSFWorkbook exportOrderDunData(String name, String orderNo, String starTime, String endTime);
- int updateOrderOver(String orderNo);
- OrderRefundDetailBo orderRefundDetail(String id);
- int updateOrderRefund(TOrderRefundWithBLOBs t);
- int updatetechnicianBackOrder(String orderNo, String reason);
- List<OrderDunTaskBo> selectAllOrderDun();
- void updateOrderDun(TOrderDun tDun);
- void addNoticAndSendEmail(String orderNo, OrderDunTaskBo t, Integer code)throws UnsupportedEncodingException, MessagingException;
- boolean checkORderDun(String orderNo);
-
-
- }
|